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 doublestatic Geometrystatic Geometrybuffer(Geometry geom, double distance, Integer quadrantSegments, GeometryFunctions.BufferCapStyle capStyle) static Geometrystatic booleanstatic GeometryconvexHull(Geometry geom) static booleanstatic Geometrystatic Geometrydifference(Geometry a, Geometry b) static intstatic booleanstatic doublestatic PointendPoint(LineString line) static Geometrystatic booleanequalsExact(Geometry a, Geometry b) static booleanequalsExactTolerance(Geometry a, Geometry b, double tolerance) static GeometryexteriorRing(Polygon polygon) static StringgeometryType(Geometry geom) static GeometrygetGeometryN(GeometryCollection collection, int index) static doublestatic doublestatic GeometryinteriorPoint(Geometry geom) static GeometryinteriorRingN(Polygon polygon, int index) static Geometryintersection(Geometry a, Geometry b) static booleanintersects(Geometry a, Geometry b) static booleanisClosed(LineString line) static booleanstatic booleanisRing(LineString line) static booleanstatic booleanstatic booleanisWithinDistance(Geometry a, Geometry b, double distance) static doublestatic intnumGeometries(Geometry collection) static intnumInteriorRing(Polygon polygon) static intstatic booleanstatic PointpointN(LineString line, int index) static Geometrypolygonize(Geometry geom) static Stringstatic booleanrelatePattern(Geometry a, Geometry b, String pattern) static Geometryreproject(Geometry geometry, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS) Will reproject a geometry to another CRS.static Geometrystatic GeometrysplitPolygon(Geometry polygon, LineString line) static PointstartPoint(LineString line) static GeometrysymDifference(Geometry a, Geometry b) static booleanstatic Geometrystatic 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.
-