Package net.algart.contours
Class ContourNestingAnalyser
java.lang.Object
net.algart.contours.ContourNestingAnalyser
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
analysePoint
(double x, double y) analysePoint
(ContourNestingAnalyser.NestingInformation result, double x, double y) contours()
void
findContoursContainingInside
(double x, double y, IntConsumer indexConsumer) void
findRectanglesContainingPoint
(double x, double y, IntConsumer indexConsumer) int[]
int[]
boolean
static ContourNestingAnalyser
newInstance
(Contours contours) static ContourNestingAnalyser
newInstance
(Contours contours, boolean allContoursSurelyUnpacked, long[] areasToCompare) static ContourNestingAnalyser
newInstance
(Contours contours, long[] areasToCompare) static ContourNestingAnalyser
newInstanceForUnpackedContours
(Contours contours, long[] areasToCompare) int
int
setNestingLevelNecessary
(boolean nestingLevelNecessary) long
toString()
-
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
-