public class CRSConverter extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CRSConverter.ThreadLocalDirectPosition2D
Thread local direct position initialized with a
DirectPosition2D . |
Modifier and Type | Method and Description |
---|---|
de.cs3d.common.metamodel.helperGeometry.BoundingBox |
convert(de.cs3d.common.metamodel.helperGeometry.BoundingBox bb)
Convert a bounding box.
|
de.cs3d.common.metamodel.Point3D |
convert(double x,
double y,
double z)
This method converts the given coordinates and returns them as a Point3D.
|
static CRSConverter |
getConverter(org.opengis.referencing.crs.CoordinateReferenceSystem source,
org.opengis.referencing.crs.CoordinateReferenceSystem target)
Create a CRS converter between the given coordinate reference systems.
|
org.opengis.referencing.crs.CoordinateReferenceSystem |
getSource() |
org.opengis.referencing.crs.CoordinateReferenceSystem |
getTarget() |
public static CRSConverter getConverter(org.opengis.referencing.crs.CoordinateReferenceSystem source, org.opengis.referencing.crs.CoordinateReferenceSystem target) throws org.opengis.referencing.FactoryException
source
- the source CRStarget
- the target CRSorg.opengis.referencing.FactoryException
- if creating the transformer failspublic de.cs3d.common.metamodel.helperGeometry.BoundingBox convert(de.cs3d.common.metamodel.helperGeometry.BoundingBox bb) throws org.opengis.referencing.operation.TransformException
bb
- the bounding box in the source CRSorg.opengis.referencing.operation.TransformException
- if the conversion failspublic de.cs3d.common.metamodel.Point3D convert(double x, double y, double z) throws org.opengis.referencing.operation.TransformException
x
- the x ordinatey
- the y ordinatez
- the z ordinateorg.opengis.referencing.operation.TransformException
- if the coordinate transformation failspublic org.opengis.referencing.crs.CoordinateReferenceSystem getSource()
public org.opengis.referencing.crs.CoordinateReferenceSystem getTarget()
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a