Package org.geotools.process.geometry
Class GeometryFunctions
Object
GeometryFunctions
A set of static functions providing the implementation of processes exposed by the
GeometryProcessFactory
.- Author:
- Andrea Aime
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic double
static Geometry
static Geometry
buffer
(Geometry geom, double distance, Integer quadrantSegments, GeometryFunctions.BufferCapStyle capStyle) static Geometry
static boolean
static Geometry
convexHull
(Geometry geom) static boolean
static Geometry
static Geometry
difference
(Geometry a, Geometry b) static int
static boolean
static double
static Point
endPoint
(LineString line) static Geometry
static boolean
equalsExact
(Geometry a, Geometry b) static boolean
equalsExactTolerance
(Geometry a, Geometry b, double tolerance) static Geometry
exteriorRing
(Polygon polygon) static String
geometryType
(Geometry geom) static Geometry
getGeometryN
(GeometryCollection collection, int index) static double
static double
static Geometry
interiorPoint
(Geometry geom) static Geometry
interiorRingN
(Polygon polygon, int index) static Geometry
intersection
(Geometry a, Geometry b) static boolean
intersects
(Geometry a, Geometry b) static boolean
isClosed
(LineString line) static boolean
static boolean
isRing
(LineString line) static boolean
static boolean
static boolean
isWithinDistance
(Geometry a, Geometry b, double distance) static double
static int
numGeometries
(Geometry collection) static int
numInteriorRing
(Polygon polygon) static int
static boolean
static Point
pointN
(LineString line, int index) static Geometry
polygonize
(Geometry geom) static String
static boolean
relatePattern
(Geometry a, Geometry b, String pattern) static Geometry
reproject
(Geometry geometry, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS) Will reproject a geometry to another CRS.static Geometry
static Geometry
splitPolygon
(Geometry polygon, LineString line) static Point
startPoint
(LineString line) static Geometry
symDifference
(Geometry a, Geometry b) static boolean
static Geometry
static boolean
-
Constructor Details
-
GeometryFunctions
public GeometryFunctions()
-
-
Method Details
-
contains
-
isEmpty
-
length
-
intersects
-
isValid
-
geometryType
-
numPoints
-
isSimple
-
distance
-
isWithinDistance
-
area
-
centroid
-
interiorPoint
-
dimension
-
boundary
-
envelope
-
disjoint
-
touches
-
crosses
-
within
-
overlaps
-
relatePattern
-
relate
-
buffer
-
convexHull
-
intersection
-
union
-
difference
-
symDifference
-
equalsExactTolerance
-
equalsExact
-
numGeometries
-
getGeometryN
-
getX
-
getY
-
isClosed
-
pointN
-
startPoint
-
endPoint
-
isRing
-
exteriorRing
-
numInteriorRing
-
interiorRingN
-
simplify
-
densify
-
polygonize
-
splitPolygon
-
reproject
public static Geometry reproject(Geometry geometry, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS) Will reproject a geometry to another CRS.
-