|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.commons.utils.GeometryUtils
public class GeometryUtils
GeometryUtils
| Constructor Summary | |
|---|---|
GeometryUtils()
|
|
| Method Summary | |
|---|---|
static Envelope |
createConvertedEnvelope(Envelope sourceEnvelope,
CRS targetCRS)
Converts the given Envelope into an envelope with the given coordinate system. |
static LinkedList<Double> |
measurePathLengths(Shape shape)
This method flattens the path with a flatness parameter of 1. |
static Geometry |
move(Geometry geom,
double offx,
double offy)
Moves the coordinates of a geometry. |
static String |
prettyPrintShape(Shape shape)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GeometryUtils()
| Method Detail |
|---|
public static Geometry move(Geometry geom,
double offx,
double offy)
geom - use only surfaces, line strings or points, and only with dim == 2offx - offy -
public static String prettyPrintShape(Shape shape)
shape -
public static LinkedList<Double> measurePathLengths(Shape shape)
shape -
TextStroke
public static Envelope createConvertedEnvelope(Envelope sourceEnvelope,
CRS targetCRS)
throws TransformationException
GeometryTransformer.
sourceEnvelope - to converttargetCRS -
TransformationException
TransformationException - if the transformation between the source and target crs cannot be created.
|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||