public final class JTSTools
extends java.lang.Object
| Modifier and Type | Method and Description | 
|---|---|
| static com.vividsolutions.jts.geom.LineString | edgeToLine(GMLDirectedEdge edge)Create a LineString from a GMLDirectedEdge. | 
| static com.vividsolutions.jts.geom.GeometryFactory | getFactory()Get the default GeometryFactory. | 
| static com.vividsolutions.jts.geom.Coordinate | nodeToCoordinate(GMLNode node)Create a Coordinate from a GMLNode. | 
| static com.vividsolutions.jts.geom.Coordinate | pointToCoordinate(Point2D point)Create a Coordinate from a Point2D. | 
| static com.vividsolutions.jts.geom.Geometry | shapeToPolygon(GMLShape shape)Create a JTS Polygon form a GMLShape. | 
public static com.vividsolutions.jts.geom.LineString edgeToLine(GMLDirectedEdge edge)
edge - The edge to convert.public static com.vividsolutions.jts.geom.Geometry shapeToPolygon(GMLShape shape) throws ValidationException
shape - The shape to convert.ValidationExceptionpublic static com.vividsolutions.jts.geom.Coordinate nodeToCoordinate(GMLNode node)
node - Node to convert.public static com.vividsolutions.jts.geom.Coordinate pointToCoordinate(Point2D point)
point - Point to convert.public static com.vividsolutions.jts.geom.GeometryFactory getFactory()