Class GeometryTransformer
java.lang.Object
org.opengis.cite.ogcapifeatures10.util.GeometryTransformer
GeometryTransformer class.
- Author:
- Lyn Goltz
-
Constructor Summary
ConstructorsConstructorDescriptionGeometryTransformer(CoordinateSystem srcCrs, CoordinateSystem targetCrs) Constructor for GeometryTransformer. -
Method Summary
Modifier and TypeMethodDescriptionorg.locationtech.jts.geom.Geometrytransform(org.locationtech.jts.geom.Geometry geometryToTransform) transform.org.locationtech.jts.geom.Geometrytransform(org.locationtech.jts.geom.GeometryCollection geometryToTransform) transform.org.locationtech.jts.geom.LineStringtransform(org.locationtech.jts.geom.LineString geometryToTransform) transform.org.locationtech.jts.geom.MultiLineStringtransform(org.locationtech.jts.geom.MultiLineString geometryToTransform) transform.org.locationtech.jts.geom.MultiPointtransform(org.locationtech.jts.geom.MultiPoint geometryToTransform) transform.org.locationtech.jts.geom.MultiPolygontransform(org.locationtech.jts.geom.MultiPolygon geometryToTransform) transform.org.locationtech.jts.geom.Pointtransform(org.locationtech.jts.geom.Point geometryToTransform) transform.org.locationtech.jts.geom.Polygontransform(org.locationtech.jts.geom.Polygon geometryToTransform) transform.transform.
-
Constructor Details
-
GeometryTransformer
Constructor for GeometryTransformer.
- Parameters:
srcCrs- source crs, , nevernulltargetCrs- target crs, , nevernull
-
-
Method Details
-
transform
transform.
- Parameters:
bbox- the bbox to transform, nevernull- Returns:
- the transformed bbox (or the same if srcCrs and targetCrs) are the same,
never
null
-
transform
public org.locationtech.jts.geom.Geometry transform(org.locationtech.jts.geom.Geometry geometryToTransform) transform.
- Parameters:
geometryToTransform- aGeometryobject- Returns:
- a
Geometryobject
-
transform
public org.locationtech.jts.geom.Point transform(org.locationtech.jts.geom.Point geometryToTransform) transform.
- Parameters:
geometryToTransform- aPointobject- Returns:
- a
Pointobject
-
transform
public org.locationtech.jts.geom.LineString transform(org.locationtech.jts.geom.LineString geometryToTransform) transform.
- Parameters:
geometryToTransform- aLineStringobject- Returns:
- a
LineStringobject
-
transform
public org.locationtech.jts.geom.Polygon transform(org.locationtech.jts.geom.Polygon geometryToTransform) transform.
- Parameters:
geometryToTransform- aPolygonobject- Returns:
- a
Polygonobject
-
transform
public org.locationtech.jts.geom.Geometry transform(org.locationtech.jts.geom.GeometryCollection geometryToTransform) transform.
- Parameters:
geometryToTransform- aGeometryCollectionobject- Returns:
- a
Geometryobject
-
transform
public org.locationtech.jts.geom.MultiPoint transform(org.locationtech.jts.geom.MultiPoint geometryToTransform) transform.
- Parameters:
geometryToTransform- aMultiPointobject- Returns:
- a
MultiPointobject
-
transform
public org.locationtech.jts.geom.MultiLineString transform(org.locationtech.jts.geom.MultiLineString geometryToTransform) transform.
- Parameters:
geometryToTransform- aMultiLineStringobject- Returns:
- a
MultiLineStringobject
-
transform
public org.locationtech.jts.geom.MultiPolygon transform(org.locationtech.jts.geom.MultiPolygon geometryToTransform) transform.
- Parameters:
geometryToTransform- aMultiPolygonobject- Returns:
- a
MultiPolygonobject
-