public class SegmentsExtracter
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
SegmentsExtracter.SegmentCount |
Constructor and Description |
---|
SegmentsExtracter() |
SegmentsExtracter(TaskMonitor monitor)
Creates a new counter.
|
Modifier and Type | Method and Description |
---|---|
void |
add(Feature f) |
void |
add(FeatureCollection fc) |
void |
add(Feature f,
com.vividsolutions.jts.geom.Coordinate p0,
com.vividsolutions.jts.geom.Coordinate p1) |
java.util.Collection<com.vividsolutions.jts.geom.LineSegment> |
getAllSegments() |
java.util.Collection<com.vividsolutions.jts.geom.LineSegment> |
getSegments() |
java.util.Collection<com.vividsolutions.jts.geom.LineSegment> |
getSegments(int minOccurs,
int maxOccurs) |
java.util.Map<com.vividsolutions.jts.geom.LineSegment,java.util.List<Feature>> |
getSegmentSource() |
java.util.List<Feature> |
getSegmentSource(com.vividsolutions.jts.geom.LineSegment lineSegment) |
SegmentsExtracter |
keepSource() |
SegmentsExtracter |
normalizeSegments() |
void |
setFence(com.vividsolutions.jts.geom.Geometry fence) |
public SegmentsExtracter()
public SegmentsExtracter(TaskMonitor monitor)
monitor
- public void setFence(com.vividsolutions.jts.geom.Geometry fence)
public SegmentsExtracter normalizeSegments()
public SegmentsExtracter keepSource()
public void add(FeatureCollection fc)
public void add(Feature f)
public void add(Feature f, com.vividsolutions.jts.geom.Coordinate p0, com.vividsolutions.jts.geom.Coordinate p1)
public java.util.Collection<com.vividsolutions.jts.geom.LineSegment> getSegments()
public java.util.Collection<com.vividsolutions.jts.geom.LineSegment> getAllSegments()
public java.util.Collection<com.vividsolutions.jts.geom.LineSegment> getSegments(int minOccurs, int maxOccurs)
public java.util.Map<com.vividsolutions.jts.geom.LineSegment,java.util.List<Feature>> getSegmentSource()
public java.util.List<Feature> getSegmentSource(com.vividsolutions.jts.geom.LineSegment lineSegment)