com.vividsolutions.jump.geom
Class FeatureSegment

java.lang.Object
  extended by com.vividsolutions.jts.geom.LineSegment
      extended by com.vividsolutions.jump.geom.FeatureSegment
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable

public class FeatureSegment
extends com.vividsolutions.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 com.vividsolutions.jts.geom.LineSegment
p0, p1
 
Constructor Summary
FeatureSegment(Feature feature, int index, com.vividsolutions.jts.geom.Coordinate p0, com.vividsolutions.jts.geom.Coordinate p1)
           
 
Method Summary
 void addMatch(FeatureSegment match)
           
 Feature getFeature()
           
 java.util.List getMatches()
           
 
Methods inherited from class com.vividsolutions.jts.geom.LineSegment
angle, closestPoint, closestPoints, compareTo, distance, distance, distancePerpendicular, equals, equalsTopo, getCoordinate, getLength, intersection, isHorizontal, isVertical, lineIntersection, midPoint, normalize, orientationIndex, orientationIndex, pointAlong, pointAlongOffset, project, project, projectionFactor, reverse, segmentFraction, setCoordinates, setCoordinates, toGeometry, toString
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FeatureSegment

public FeatureSegment(Feature feature,
                      int index,
                      com.vividsolutions.jts.geom.Coordinate p0,
                      com.vividsolutions.jts.geom.Coordinate p1)
Method Detail

getFeature

public Feature getFeature()

addMatch

public void addMatch(FeatureSegment match)

getMatches

public java.util.List getMatches()