Package net.algart.contours
Class ContourNestingAnalyser
java.lang.Object
net.algart.contours.ContourNestingAnalyser
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbooleananalysePoint(double x, double y) analysePoint(ContourNestingAnalyser.NestingInformation result, double x, double y) contours()voidfindContoursContainingInside(double x, double y, IntConsumer indexConsumer) voidfindRectanglesContainingPoint(double x, double y, IntConsumer indexConsumer) int[]int[]booleanstatic ContourNestingAnalysernewInstance(Contours contours) static ContourNestingAnalysernewInstance(Contours contours, boolean allContoursSurelyUnpacked, long[] areasToCompare) static ContourNestingAnalysernewInstance(Contours contours, long[] areasToCompare) static ContourNestingAnalysernewInstanceForUnpackedContours(Contours contours, long[] areasToCompare) intintsetNestingLevelNecessary(boolean nestingLevelNecessary) longtoString()
-
Method Details
-
newInstance
public static ContourNestingAnalyser newInstance(Contours contours, boolean allContoursSurelyUnpacked, long[] areasToCompare) -
newInstanceForUnpackedContours
public static ContourNestingAnalyser newInstanceForUnpackedContours(Contours contours, long[] areasToCompare) -
newInstance
-
newInstance
-
isNestingLevelNecessary
public boolean isNestingLevelNecessary() -
setNestingLevelNecessary
-
contours
-
allContoursSurelyUnpacked
public boolean allContoursSurelyUnpacked() -
findRectanglesContainingPoint
-
findContoursContainingInside
-
analysePoint
-
analysePoint
public ContourNestingAnalyser.NestingInformation analysePoint(ContourNestingAnalyser.NestingInformation result, double x, double y) -
analyseAllContours
-
getContourNestingLevels
public int[] getContourNestingLevels() -
getContourNestingParents
public int[] getContourNestingParents() -
numberOfNestingContours
public int numberOfNestingContours() -
numberOfCheckedContours
public int numberOfCheckedContours() -
summaryContoursLength
public long summaryContoursLength() -
toString
-