Class FeatureSegment

  • All Implemented Interfaces:
    Serializable, Comparable

    public class FeatureSegment
    extends org.locationtech.jts.geom.LineSegment
    A FeatureSegment is a line segment contained in an edge of a feature
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class org.locationtech.jts.geom.LineSegment

        p0, p1
    • Constructor Summary

      Constructors 
      Constructor Description
      FeatureSegment​(Feature feature, int index, org.locationtech.jts.geom.Coordinate p0, org.locationtech.jts.geom.Coordinate p1)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addMatch​(FeatureSegment match)  
      Feature getFeature()  
      List getMatches()  
      • Methods inherited from class org.locationtech.jts.geom.LineSegment

        angle, closestPoint, closestPoints, compareTo, distance, distance, distancePerpendicular, equals, equalsTopo, getCoordinate, getLength, hashCode, intersection, isHorizontal, isVertical, lineIntersection, maxX, maxY, midPoint, midPoint, minX, minY, normalize, orientationIndex, orientationIndex, pointAlong, pointAlongOffset, project, project, projectionFactor, reflect, reverse, segmentFraction, setCoordinates, setCoordinates, toGeometry, toString
    • Constructor Detail

      • FeatureSegment

        public FeatureSegment​(Feature feature,
                              int index,
                              org.locationtech.jts.geom.Coordinate p0,
                              org.locationtech.jts.geom.Coordinate p1)
    • Method Detail

      • getFeature

        public Feature getFeature()
      • getMatches

        public List getMatches()