Class ContourNestingAnalyser

java.lang.Object
net.algart.contours.ContourNestingAnalyser

public class ContourNestingAnalyser extends Object
  • Method Details

    • newInstance

      public static ContourNestingAnalyser newInstance(Contours contours, boolean allContoursSurelyUnpacked, long[] areasToCompare)
    • newInstanceForUnpackedContours

      public static ContourNestingAnalyser newInstanceForUnpackedContours(Contours contours, long[] areasToCompare)
    • newInstance

      public static ContourNestingAnalyser newInstance(Contours contours, long[] areasToCompare)
    • newInstance

      public static ContourNestingAnalyser newInstance(Contours contours)
    • isNestingLevelNecessary

      public boolean isNestingLevelNecessary()
    • setNestingLevelNecessary

      public ContourNestingAnalyser setNestingLevelNecessary(boolean nestingLevelNecessary)
    • contours

      public Contours contours()
    • allContoursSurelyUnpacked

      public boolean allContoursSurelyUnpacked()
    • findRectanglesContainingPoint

      public void findRectanglesContainingPoint(double x, double y, IntConsumer indexConsumer)
    • findContoursContainingInside

      public void findContoursContainingInside(double x, double y, IntConsumer indexConsumer)
    • analysePoint

      public ContourNestingAnalyser.NestingInformation analysePoint(double x, double y)
    • analysePoint

    • analyseAllContours

      public ContourNestingAnalyser analyseAllContours()
    • getContourNestingLevels

      public int[] getContourNestingLevels()
    • getContourNestingParents

      public int[] getContourNestingParents()
    • numberOfNestingContours

      public int numberOfNestingContours()
    • numberOfCheckedContours

      public int numberOfCheckedContours()
    • summaryContoursLength

      public long summaryContoursLength()
    • toString

      public String toString()
      Overrides:
      toString in class Object