public class Java2DConverter
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
Java2DConverter.PointConverter |
Constructor and Description |
---|
Java2DConverter(Java2DConverter.PointConverter pointConverter) |
Java2DConverter(Java2DConverter.PointConverter pointConverter,
double resolution) |
Modifier and Type | Method and Description |
---|---|
java.awt.Shape |
toShape(com.vividsolutions.jts.geom.Geometry geometry)
If you pass in a general GeometryCollection, note that a Shape cannot
preserve information about which elements are 1D and which are 2D.
|
com.vividsolutions.jts.geom.Coordinate[] |
toViewCoordinates(com.vividsolutions.jts.geom.Coordinate[] modelCoordinates) |
public Java2DConverter(Java2DConverter.PointConverter pointConverter)
public Java2DConverter(Java2DConverter.PointConverter pointConverter, double resolution)
public com.vividsolutions.jts.geom.Coordinate[] toViewCoordinates(com.vividsolutions.jts.geom.Coordinate[] modelCoordinates) throws java.awt.geom.NoninvertibleTransformException
java.awt.geom.NoninvertibleTransformException
public java.awt.Shape toShape(com.vividsolutions.jts.geom.Geometry geometry) throws java.awt.geom.NoninvertibleTransformException
java.awt.geom.NoninvertibleTransformException