Package com.kheops.jmap.spatial
Class UnaryTransformation
java.lang.Object
com.kheops.jmap.spatial.UnaryTransformation
- All Implemented Interfaces:
Transformation,Serializable,Cloneable
- Direct Known Subclasses:
OffsetTransformation,PrecisionTransformation,ProjectionTransformation,RotationTransformation
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Objectclone()Applies the transformation to the ellipse centroid.transform(GeometryCollection collection) Calls the transform method to all geometries included in the specified geometry collection.transform(LineString lineString) Calls the transform method to all coordinates included in the specified line string.Calls the transform method to all linear rings included in the specified polygon.Applies the transformation to the rectangle coordinate.Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.kheops.jmap.spatial.Transformation
transform
-
Constructor Details
-
UnaryTransformation
public UnaryTransformation()
-
-
Method Details
-
clone
- Specified by:
clonein interfaceTransformation- Overrides:
clonein classObject
-
transform
Calls the transform method to all coordinates included in the specified line string.- Specified by:
transformin interfaceTransformation- Parameters:
lineString- the line string to transform.- Returns:
- the specified line string with transformed coordinates.
-
transform
Calls the transform method to all linear rings included in the specified polygon.- Specified by:
transformin interfaceTransformation- Parameters:
polygon- the polygon to transform.- Returns:
- the specified polygon with transformed coordinates.
-
transform
Applies the transformation to the ellipse centroid. The transformation doesn't currently change the ellipse width or height.- Specified by:
transformin interfaceTransformation- Parameters:
rectangle- the ellipse to transform.- Returns:
- the transformed ellipse.
-
transform
Applies the transformation to the rectangle coordinate. The transformation doesn't currently change the rectangle width or height.- Specified by:
transformin interfaceTransformation- Parameters:
rectangle- the rectangle to transform.- Returns:
- the transformed rectangle.
-
transform
Calls the transform method to all geometries included in the specified geometry collection.- Specified by:
transformin interfaceTransformation- Parameters:
collection- the geometry to transform.- Returns:
- the specified collection with transformed geometries.
-