Package org.locationtech.jts.jump.geom
Class FeatureSegment
- java.lang.Object
-
- org.locationtech.jts.geom.LineSegment
-
- org.locationtech.jts.jump.geom.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
-
-
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()
-
addMatch
public void addMatch(FeatureSegment match)
-
getMatches
public List getMatches()
-
-