Class EdgeSegment


public class EdgeSegment extends Object
A list of connected points along an edge. Points are in consecutive order.
  • Field Details

    • index

      public int index
      index of this segment in the list. used for book keeping during construction
    • parent

      public int parent
      which segment did this spawn from
    • parentPixel

      public int parentPixel
      which pixel in the segment did it spawn from
    • points

      public List<Point2D_I32> points
      List of pixels in this segment
  • Constructor Details

    • EdgeSegment

      public EdgeSegment()
  • Method Details

    • reset

      public void reset()