public class SegmentStringUtil
extends java.lang.Object
SegmentString
s.Constructor | Description |
---|---|
SegmentStringUtil() |
Modifier and Type | Method | Description |
---|---|---|
static java.util.List |
extractNodedSegmentStrings(Geometry geom) |
Extracts all linear components from a given
Geometry
to SegmentString s. |
static java.util.List |
extractSegmentStrings(Geometry geom) |
Extracts all linear components from a given
Geometry
to SegmentString s. |
static Geometry |
toGeometry(java.util.Collection segStrings,
GeometryFactory geomFact) |
Converts a collection of
SegmentString s into a Geometry . |
static java.lang.String |
toString(java.util.List segStrings) |
public static java.util.List extractSegmentStrings(Geometry geom)
Geometry
to SegmentString
s.
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 SegmentString
s.
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)
SegmentString
s 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.