|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.web3d.vrml.renderer.common.geospatial.GTTransformUtils
public class GTTransformUtils
Utility class to create a GeoTools2 transformation class for a given geoSystem field definition.
This class runs as a singleton to allow for caching of internal fetched transformation routines.
| Method Summary | |
|---|---|
org.opengis.referencing.operation.MathTransform |
createSystemTransform(java.lang.String[] systemDef,
boolean[] coordSwap)
From the given system definition strings, generate a coordinate transformation service. |
static GTTransformUtils |
getInstance()
Fetch the singleton instance of the factory. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static GTTransformUtils getInstance()
throws org.opengis.referencing.FactoryException
org.opengis.referencing.FactoryException - There was a problem creating the class
public org.opengis.referencing.operation.MathTransform createSystemTransform(java.lang.String[] systemDef,
boolean[] coordSwap)
throws org.opengis.referencing.FactoryException
Check whether we need to reverse the two primary coordinate systems. If true, then the user needs to swap the coordinate values for X and Y.
systemDef - The X3D system definition stringcoordSwap - an array of length 1 for returning the primary
coordinate swap flag
org.opengis.referencing.FactoryException
|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||