Class TaggedLineSegment

java.lang.Object
org.locationtech.jts.geom.LineSegment
org.locationtech.jts.simplify.TaggedLineSegment
All Implemented Interfaces:
Serializable, Comparable

class TaggedLineSegment extends LineSegment
A LineSegment which is tagged with its location in a parent Geometry. Used to index the segments in a geometry and recover the segment locations from the index.
  • Field Details

    • parent

      private Geometry parent
    • index

      private int index
  • Constructor Details

  • Method Details

    • getParent

      public Geometry getParent()
    • getIndex

      public int getIndex()