|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.geotools.geometry.jts.PreciseCoordinateSequenceTransformer
This coordinate sequence transformer will take a Geometry and transform in a set of curved lines that will be "flattened" in order to get back a set of straight segments. The error in the transform is linked to the "flattening", the higher the flattening, the bigger the error, but also, the lesser the number of points that will be used to represent the resulting coordinate sequence.
| Constructor Summary | |
PreciseCoordinateSequenceTransformer()
|
|
| Method Summary | |
double |
getFlatness()
|
void |
setFlatness(double flatness)
|
com.vividsolutions.jts.geom.CoordinateSequence |
transform(com.vividsolutions.jts.geom.CoordinateSequence cs,
org.opengis.referencing.operation.MathTransform transform)
Returns a transformed coordinate sequence. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PreciseCoordinateSequenceTransformer()
| Method Detail |
public com.vividsolutions.jts.geom.CoordinateSequence transform(com.vividsolutions.jts.geom.CoordinateSequence cs,
org.opengis.referencing.operation.MathTransform transform)
throws org.opengis.referencing.operation.TransformException
CoordinateSequenceTransformer
transform in interface CoordinateSequenceTransformercs - The sequence to transform.transform - The transformation to apply.
org.opengis.referencing.operation.TransformException - if at least one coordinate can't be transformed.org.geotools.geometry.jts.CoordinateSequenceTransformer#transform(com.vividsolutions.jts.geom.CoordinateSequence, org.geotools.ct.MathTransform2D)public double getFlatness()
public void setFlatness(double flatness)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||