Class GeometryFunctions
- java.lang.Object
-
- org.locationtech.jtstest.function.GeometryFunctions
-
public class GeometryFunctions extends Object
Implementations for various geometry functions.- Author:
- Martin Davis
-
-
Field Summary
Fields Modifier and Type Field Description static StringlengthDescription
-
Constructor Summary
Constructors Constructor Description GeometryFunctions()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GeometryaddHoles(Geometry g, Geometry holeGeom)static doublearea(Geometry g)static Geometrycopy(Geometry g)static Geometryenvelope(Geometry g)static GeometrygetCoordinates(Geometry g)static GeometrygetGeometryN(Geometry g, int i)static GeometrygetPolygonHoleN(Geometry g, int i)static GeometrygetPolygonHoles(Geometry geom)static GeometrygetPolygonShell(Geometry g)static booleanisClosed(Geometry g)static booleanisEmpty(Geometry g)static booleanisRectangle(Geometry g)static booleanisSimple(Geometry g)static booleanisValid(Geometry g)static doublelength(Geometry g)static Geometrynormalize(Geometry g)static Geometryreverse(Geometry g)static doubleSRID(Geometry g)
-
-
-
Field Detail
-
lengthDescription
public static String lengthDescription
-
-
Method Detail
-
length
public static double length(Geometry g)
-
area
public static double area(Geometry g)
-
SRID
public static double SRID(Geometry g)
-
isEmpty
public static boolean isEmpty(Geometry g)
-
isSimple
public static boolean isSimple(Geometry g)
-
isValid
public static boolean isValid(Geometry g)
-
isRectangle
public static boolean isRectangle(Geometry g)
-
isClosed
public static boolean isClosed(Geometry g)
-
-