public class SegmentStringUtil
extends java.lang.Object
SegmentStrings.| Constructor | Description |
|---|---|
SegmentStringUtil() |
| Modifier and Type | Method | Description |
|---|---|---|
static java.util.List |
extractNodedSegmentStrings(Geometry geom) |
Extracts all linear components from a given
Geometry
to SegmentStrings. |
static java.util.List |
extractSegmentStrings(Geometry geom) |
Extracts all linear components from a given
Geometry
to SegmentStrings. |
static Geometry |
toGeometry(java.util.Collection segStrings,
GeometryFactory geomFact) |
Converts a collection of
SegmentStrings into a Geometry. |
static java.lang.String |
toString(java.util.List segStrings) |
public static java.util.List extractSegmentStrings(Geometry geom)
Geometry
to SegmentStrings.
The SegmentString data item is set to be the source Geometry.geom - the geometry to extract frompublic static java.util.List extractNodedSegmentStrings(Geometry geom)
Geometry
to SegmentStrings.
The SegmentString data item is set to be the source Geometry.geom - the geometry to extract frompublic static Geometry toGeometry(java.util.Collection segStrings, GeometryFactory geomFact)
SegmentStrings into a Geometry.
The geometry will be either a LineString or a MultiLineString (possibly empty).segStrings - a collection of SegmentStringspublic static java.lang.String toString(java.util.List segStrings)
Copyright © 2018. All rights reserved.