Uses of Class
org.locationtech.jts.geom.Geometry
-
Packages that use Geometry Package Description org.locationtech.jts.algorithm Contains classes and interfaces implementing fundamental computational geometry algorithms.org.locationtech.jts.algorithm.axis org.locationtech.jts.algorithm.construct Provides classes that implement various kinds of geometric constructions.org.locationtech.jts.algorithm.distance Classes to compute distance metrics between geometries.org.locationtech.jts.algorithm.hull Contains classes implementing algorithms to compute hulls of geometry objects.org.locationtech.jts.algorithm.locate Classes to determine the topological location of points in geometries.org.locationtech.jts.algorithm.match Classes to compute matching metrics between geometries.org.locationtech.jts.awt Classes to perform conversions from Java2D shape objects.org.locationtech.jts.coverage Classes that operate on polygonal coverages.org.locationtech.jts.densify Classes to perform densification on geometries.org.locationtech.jts.dissolve org.locationtech.jts.edgegraph org.locationtech.jts.geom Contains theGeometryinterface hierarchy and supporting classes.org.locationtech.jts.geom.prep Classes to perform optimized geometric operations on suitably prepared geometries.org.locationtech.jts.geom.util Provides classes that parse and modify Geometry objects.org.locationtech.jts.geomgraph Contains classes that implement topology graphs.org.locationtech.jts.io Contains the interfaces for converting JTS objects to and from other formats.org.locationtech.jts.io.geojson org.locationtech.jts.io.gml2 Classes to read and write the GML2 geometry format.org.locationtech.jts.io.kml org.locationtech.jts.io.twkb org.locationtech.jts.linearref Contains classes and interfaces implementing linear referencing on linear geometriesorg.locationtech.jts.noding Classes to compute nodings for arrangements of line segments and line segment sequences.org.locationtech.jts.operation Provides classes for implementing operations on geometriesorg.locationtech.jts.operation.buffer Provides classes for computing buffers of geometriesorg.locationtech.jts.operation.buffer.validate Classes to perform validation of the results of buffer operations.org.locationtech.jts.operation.distance Provides classes for computing the distance between geometriesorg.locationtech.jts.operation.distance3d org.locationtech.jts.operation.linemerge Classes to perform line merging.org.locationtech.jts.operation.overlay Contains classes that perform a topological overlay to compute boolean spatial functions.org.locationtech.jts.operation.overlay.snap Classes to perform snapping on geometries to prepare them for overlay operations.org.locationtech.jts.operation.overlay.validate Classes to validate the results of overlay operations.org.locationtech.jts.operation.overlayarea org.locationtech.jts.operation.overlayng Contains classes that perform vector overlay to compute boolean set-theoretic spatial functions.org.locationtech.jts.operation.polygonize An API for polygonizing sets of lines.org.locationtech.jts.operation.predicate Classes which implement topological predicates optimized for particular kinds of geometries.org.locationtech.jts.operation.relate Contains classes to implement the computation of the spatial relationships ofGeometrys.org.locationtech.jts.operation.relateng Provides classes to implement the RelateNG algorithm computes topological relationships ofGeometrys.org.locationtech.jts.operation.union Classes to perform efficient unioning of collections of geometries.org.locationtech.jts.operation.valid Classes for testing the validity and simplicity of geometries, as defined in the OGC Simple Features specification.org.locationtech.jts.precision Provides classes for analyzing and manipulating the precision of Geometries.org.locationtech.jts.shape org.locationtech.jts.shape.fractal org.locationtech.jts.shape.random org.locationtech.jts.simplify Classes which implement algorithms for simplifying or generalizing geometries.org.locationtech.jts.triangulate Classes to compute Delaunay triangulations.org.locationtech.jts.triangulate.polygon Classes for triangulating polygons.org.locationtech.jts.triangulate.quadedge Classes to implement a topological subdivision of quadeges, to support creating triangulations and Voronoi diagrams.org.locationtech.jts.triangulate.tri Classes for representing a planar triangulation as a set of linked triangles.org.locationtech.jts.util Contains support classes for the Java Topology Suite.org.locationtech.jtsexample.technique org.locationtech.jtslab org.locationtech.jtslab.clean org.locationtech.jtslab.clip org.locationtech.jtslab.edgeray org.locationtech.jtslab.geom.util org.locationtech.jtstest.clean org.locationtech.jtstest.cmd org.locationtech.jtstest.function org.locationtech.jtstest.geomfunction org.locationtech.jtstest.geomop org.locationtech.jtstest.test org.locationtech.jtstest.testbuilder org.locationtech.jtstest.testbuilder.controller org.locationtech.jtstest.testbuilder.geom org.locationtech.jtstest.testbuilder.io org.locationtech.jtstest.testbuilder.io.shapefile org.locationtech.jtstest.testbuilder.model org.locationtech.jtstest.testbuilder.topostretch org.locationtech.jtstest.testbuilder.ui org.locationtech.jtstest.testbuilder.ui.render org.locationtech.jtstest.testbuilder.ui.style org.locationtech.jtstest.testbuilder.ui.tools org.locationtech.jtstest.testrunner org.locationtech.jtstest.util org.locationtech.jtstest.util.io -
-
Uses of Geometry in org.locationtech.jts.algorithm
Methods in org.locationtech.jts.algorithm that return Geometry Modifier and Type Method Description GeometryMinimumBoundingCircle. getCircle()Gets a geometry which represents the Minimum Bounding Circle.GeometryConvexHull. getConvexHull()Returns aGeometrythat represents the convex hull of the input geometry.GeometryMinimumBoundingCircle. getDiameter()Gets a geometry representing the diameter of the computed Minimum Bounding Circle.GeometryMinimumBoundingCircle. getFarthestPoints()Deprecated.use #getMaximumDiameter()GeometryMinimumBoundingCircle. getMaximumDiameter()Gets a geometry representing the maximum diameter of the input.static GeometryMinimumDiameter. getMinimumDiameter(Geometry geom)Gets the length of the minimum diameter enclosing a geometrystatic GeometryMinimumAreaRectangle. getMinimumRectangle(Geometry geom)Gets the minimum-area rectangularPolygonwhich encloses the input geometry.GeometryMinimumDiameter. getMinimumRectangle()Gets the rectangularPolygonwhich encloses the input geometry and is based on the minimum diameter supporting segment.static GeometryMinimumDiameter. getMinimumRectangle(Geometry geom)Gets the minimum-width rectangularPolygonwhich encloses the input geometry and is based along the supporting segment.Methods in org.locationtech.jts.algorithm with parameters of type Geometry Modifier and Type Method Description static CoordinateCentroid. getCentroid(Geometry geom)Computes the centroid point of a geometry.static CoordinateInteriorPoint. getInteriorPoint(Geometry geom)Computes a location of an interior point in aGeometry.static CoordinateInteriorPointArea. getInteriorPoint(Geometry geom)Computes an interior point for the polygonal components of a Geometry.static CoordinateInteriorPointLine. getInteriorPoint(Geometry geom)Computes an interior point for the linear components of a Geometry.static CoordinateInteriorPointPoint. getInteriorPoint(Geometry geom)Computes an interior point for the puntal components of a Geometry.static GeometryMinimumDiameter. getMinimumDiameter(Geometry geom)Gets the length of the minimum diameter enclosing a geometrystatic GeometryMinimumAreaRectangle. getMinimumRectangle(Geometry geom)Gets the minimum-area rectangularPolygonwhich encloses the input geometry.static GeometryMinimumDiameter. getMinimumRectangle(Geometry geom)Gets the minimum-width rectangularPolygonwhich encloses the input geometry and is based along the supporting segment.booleanPointLocator. intersects(Coordinate p, Geometry geom)Convenience method to test a point for intersection with a GeometryintPointLocator. locate(Coordinate p, Geometry geom)Computes the topological relationship (Location) of a single point to a Geometry.Constructors in org.locationtech.jts.algorithm with parameters of type Geometry Constructor Description Centroid(Geometry geom)Creates a new instance for computing the centroid of a geometryConvexHull(Geometry geometry)Create a new convex hull construction for the inputGeometry.InteriorPointArea(Geometry g)Creates a new interior point finder for an areal geometry.InteriorPointLine(Geometry g)InteriorPointPoint(Geometry g)MinimumAreaRectangle(Geometry inputGeom)Compute a minimum-area rectangle for a givenGeometry.MinimumAreaRectangle(Geometry inputGeom, boolean isConvex)Compute a minimum rectangle for aGeometry, with a hint if the geometry is convex (e.g. a convex Polygon or LinearRing, or a two-point LineString, or a Point).MinimumBoundingCircle(Geometry geom)Creates a new object for computing the minimum bounding circle for the point set defined by the vertices of the given geometry.MinimumDiameter(Geometry inputGeom)Compute a minimum diameter for a givenGeometry.MinimumDiameter(Geometry inputGeom, boolean isConvex)Compute a minimum diameter for a giverGeometry, with a hint if the Geometry is convex (e.g. a convex Polygon or LinearRing, or a two-point LineString, or a Point). -
Uses of Geometry in org.locationtech.jts.algorithm.axis
Methods in org.locationtech.jts.algorithm.axis that return Geometry Modifier and Type Method Description static GeometryApproximateMedialAxis. medialAxis(Geometry geom)Methods in org.locationtech.jts.algorithm.axis with parameters of type Geometry Modifier and Type Method Description static GeometryApproximateMedialAxis. medialAxis(Geometry geom) -
Uses of Geometry in org.locationtech.jts.algorithm.construct
Methods in org.locationtech.jts.algorithm.construct with parameters of type Geometry Modifier and Type Method Description static PointLargestEmptyCircle. getCenter(Geometry obstacles, double tolerance)Computes the center point of the Largest Empty Circle interior-disjoint to a set of obstacles, with accuracy to a given tolerance distance.static PointLargestEmptyCircle. getCenter(Geometry obstacles, Geometry boundary, double tolerance)Computes the center point of the Largest Empty Circle interior-disjoint to a set of obstacles and within a polygonal boundary, with accuracy to a given tolerance distance.static PointMaximumInscribedCircle. getCenter(Geometry polygonal, double tolerance)Computes the center point of the Maximum Inscribed Circle of a polygonal geometry, up to a given tolerance distance.static LineStringLargestEmptyCircle. getRadiusLine(Geometry obstacles, double tolerance)Computes a radius line of the Largest Empty Circle interior-disjoint to a set of obstacles, with accuracy to a given tolerance distance.static LineStringLargestEmptyCircle. getRadiusLine(Geometry obstacles, Geometry boundary, double tolerance)Computes a radius line of the Largest Empty Circle interior-disjoint to a set of obstacles and within a polygonal boundary, with accuracy to a given tolerance distance.static LineStringMaximumInscribedCircle. getRadiusLine(Geometry polygonal, double tolerance)Computes a radius line of the Maximum Inscribed Circle of a polygonal geometry, up to a given tolerance distance.Constructors in org.locationtech.jts.algorithm.construct with parameters of type Geometry Constructor Description LargestEmptyCircle(Geometry obstacles, Geometry boundary, double tolerance)Creates a new instance of a Largest Empty Circle construction, interior-disjoint to a set of obstacle geometries and having its center within a polygonal boundary.MaximumInscribedCircle(Geometry polygonal, double tolerance)Creates a new instance of a Maximum Inscribed Circle computation. -
Uses of Geometry in org.locationtech.jts.algorithm.distance
Methods in org.locationtech.jts.algorithm.distance with parameters of type Geometry Modifier and Type Method Description static voidDistanceToPoint. computeDistance(Geometry geom, Coordinate pt, PointPairDistance ptDist)static doubleDiscreteFrechetDistance. distance(Geometry g0, Geometry g1)Computes the Discrete Fréchet Distance between twoGeometrys using aCartesiandistance computation function.static doubleDiscreteHausdorffDistance. distance(Geometry g0, Geometry g1)static doubleDiscreteHausdorffDistance. distance(Geometry g0, Geometry g1, double densifyFrac)Constructors in org.locationtech.jts.algorithm.distance with parameters of type Geometry Constructor Description DiscreteFrechetDistance(Geometry g0, Geometry g1)Creates an instance of this class using the provided geometries.DiscreteHausdorffDistance(Geometry g0, Geometry g1)MaxDensifiedByFractionDistanceFilter(Geometry geom, double fraction)MaxPointDistanceFilter(Geometry geom) -
Uses of Geometry in org.locationtech.jts.algorithm.hull
Methods in org.locationtech.jts.algorithm.hull that return Geometry Modifier and Type Method Description static GeometryConcaveHull. alphaShape(Geometry geom, double alpha, boolean isHolesAllowed)Computes the alpha shape of a geometry as a polygon.static GeometryConcaveHullOfPolygons. concaveFillByLength(Geometry polygons, double maxLength)Computes a concave fill area between a set of polygons, using the target criterion of maximum edge length.static GeometryConcaveHullOfPolygons. concaveFillByLengthRatio(Geometry polygons, double lengthRatio)Computes a concave fill area between a set of polygons, using the target criterion of maximum edge length ratio.static GeometryConcaveHull. concaveHullByLength(Geometry geom, double maxLength)Computes a concave hull of the vertices in a geometry using the target criterion of maximum edge length.static GeometryConcaveHull. concaveHullByLength(Geometry geom, double maxLength, boolean isHolesAllowed)Computes a concave hull of the vertices in a geometry using the target criterion of maximum edge length, and optionally allowing holes.static GeometryConcaveHullOfPolygons. concaveHullByLength(Geometry polygons, double maxLength)Computes a concave hull of set of polygons using the target criterion of maximum edge length.static GeometryConcaveHullOfPolygons. concaveHullByLength(Geometry polygons, double maxLength, boolean isTight, boolean isHolesAllowed)Computes a concave hull of set of polygons using the target criterion of maximum edge length, and allowing control over whether the hull boundary is tight and can contain holes.static GeometryConcaveHull. concaveHullByLengthRatio(Geometry geom, double lengthRatio)Computes a concave hull of the vertices in a geometry using the target criterion of maximum edge length ratio.static GeometryConcaveHull. concaveHullByLengthRatio(Geometry geom, double lengthRatio, boolean isHolesAllowed)Computes a concave hull of the vertices in a geometry using the target criterion of maximum edge length factor, and optionally allowing holes.static GeometryConcaveHullOfPolygons. concaveHullByLengthRatio(Geometry polygons, double lengthRatio)Computes a concave hull of set of polygons using the target criterion of maximum edge length ratio.static GeometryConcaveHullOfPolygons. concaveHullByLengthRatio(Geometry polygons, double lengthRatio, boolean isTight, boolean isHolesAllowed)Computes a concave hull of set of polygons using the target criterion of maximum edge length ratio, and allowing control over whether the hull boundary is tight and can contain holes.GeometryConcaveHullOfPolygons. getFill()Gets the concave fill, which is the area between the input polygons, subject to the concaveness control parameter.GeometryConcaveHull. getHull()Gets the computed concave hull.GeometryConcaveHullOfPolygons. getHull()Gets the computed concave hull.Methods in org.locationtech.jts.algorithm.hull with parameters of type Geometry Modifier and Type Method Description static GeometryConcaveHull. alphaShape(Geometry geom, double alpha, boolean isHolesAllowed)Computes the alpha shape of a geometry as a polygon.static GeometryConcaveHullOfPolygons. concaveFillByLength(Geometry polygons, double maxLength)Computes a concave fill area between a set of polygons, using the target criterion of maximum edge length.static GeometryConcaveHullOfPolygons. concaveFillByLengthRatio(Geometry polygons, double lengthRatio)Computes a concave fill area between a set of polygons, using the target criterion of maximum edge length ratio.static GeometryConcaveHull. concaveHullByLength(Geometry geom, double maxLength)Computes a concave hull of the vertices in a geometry using the target criterion of maximum edge length.static GeometryConcaveHull. concaveHullByLength(Geometry geom, double maxLength, boolean isHolesAllowed)Computes a concave hull of the vertices in a geometry using the target criterion of maximum edge length, and optionally allowing holes.static GeometryConcaveHullOfPolygons. concaveHullByLength(Geometry polygons, double maxLength)Computes a concave hull of set of polygons using the target criterion of maximum edge length.static GeometryConcaveHullOfPolygons. concaveHullByLength(Geometry polygons, double maxLength, boolean isTight, boolean isHolesAllowed)Computes a concave hull of set of polygons using the target criterion of maximum edge length, and allowing control over whether the hull boundary is tight and can contain holes.static GeometryConcaveHull. concaveHullByLengthRatio(Geometry geom, double lengthRatio)Computes a concave hull of the vertices in a geometry using the target criterion of maximum edge length ratio.static GeometryConcaveHull. concaveHullByLengthRatio(Geometry geom, double lengthRatio, boolean isHolesAllowed)Computes a concave hull of the vertices in a geometry using the target criterion of maximum edge length factor, and optionally allowing holes.static GeometryConcaveHullOfPolygons. concaveHullByLengthRatio(Geometry polygons, double lengthRatio)Computes a concave hull of set of polygons using the target criterion of maximum edge length ratio.static GeometryConcaveHullOfPolygons. concaveHullByLengthRatio(Geometry polygons, double lengthRatio, boolean isTight, boolean isHolesAllowed)Computes a concave hull of set of polygons using the target criterion of maximum edge length ratio, and allowing control over whether the hull boundary is tight and can contain holes.static doubleConcaveHull. uniformGridEdgeLength(Geometry geom)Computes the approximate edge length of a uniform square grid having the same number of points as a geometry and the same area as its convex hull.Constructors in org.locationtech.jts.algorithm.hull with parameters of type Geometry Constructor Description ConcaveHull(Geometry geom)Creates a new instance for a given geometry.ConcaveHullOfPolygons(Geometry polygons)Creates a new instance for a given geometry. -
Uses of Geometry in org.locationtech.jts.algorithm.locate
Methods in org.locationtech.jts.algorithm.locate with parameters of type Geometry Modifier and Type Method Description static booleanSimplePointInAreaLocator. isContained(Coordinate p, Geometry geom)Determines whether a point is contained in aGeometry, or lies on its boundary.static intSimplePointInAreaLocator. locate(Coordinate p, Geometry geom)Constructors in org.locationtech.jts.algorithm.locate with parameters of type Geometry Constructor Description IndexedPointInAreaLocator(Geometry g)Creates a new locator for a givenGeometry.SimplePointInAreaLocator(Geometry geom)Create an instance of a point-in-area locator, using the provided areal geometry. -
Uses of Geometry in org.locationtech.jts.algorithm.match
Methods in org.locationtech.jts.algorithm.match with parameters of type Geometry Modifier and Type Method Description doubleAreaSimilarityMeasure. measure(Geometry g1, Geometry g2)doubleFrechetSimilarityMeasure. measure(Geometry g1, Geometry g2)doubleHausdorffSimilarityMeasure. measure(Geometry g1, Geometry g2)doubleSimilarityMeasure. measure(Geometry g1, Geometry g2)Computes the similarity measure between two geometries -
Uses of Geometry in org.locationtech.jts.awt
Methods in org.locationtech.jts.awt that return Geometry Modifier and Type Method Description static GeometryFontGlyphReader. read(String text, Font font, double flatness, GeometryFactory geomFact)static GeometryFontGlyphReader. read(String text, Font font, GeometryFactory geomFact)static GeometryFontGlyphReader. read(String text, String fontName, int pointSize, GeometryFactory geomFact)Converts text rendered in the given font and pointsize to aGeometryusing a standard flatness factor.GeometryShapeReader. read(PathIterator pathIt)Converts a flat path to aGeometry.static GeometryShapeReader. read(PathIterator pathIt, GeometryFactory geomFact)Converts a flat path to aGeometry.static GeometryShapeReader. read(Shape shp, double flatness, GeometryFactory geomFact)Converts a Shape to a Geometry, flattening it first.Methods in org.locationtech.jts.awt with parameters of type Geometry Modifier and Type Method Description ShapeShapeWriter. toShape(Geometry geometry) -
Uses of Geometry in org.locationtech.jts.coverage
Methods in org.locationtech.jts.coverage that return Geometry Modifier and Type Method Description GeometryCoverageGapFinder. findGaps(double gapWidth)Finds gaps in the coverage.static GeometryCoverageGapFinder. findGaps(Geometry[] coverage, double gapWidth)Finds gaps in a polygonal coverage.Geometry[]CoverageSimplifier. simplify(double tolerance)Computes the simplified coverage using a single distance tolerance, preserving the coverage topology.Geometry[]CoverageSimplifier. simplify(double[] tolerances)Computes the simplified coverage using separate distance tolerances for each coverage element, preserving the coverage topology.Geometry[]CoverageSimplifier. simplify(double toleranceInner, double toleranceOuter)Computes the simplified coverage using separate distance tolerances for inner and outer edges, preserving the coverage topology.static Geometry[]CoverageSimplifier. simplify(Geometry[] coverage, double tolerance)Simplifies the boundaries of a set of polygonal geometries forming a coverage, preserving the coverage topology.static Geometry[]CoverageSimplifier. simplify(Geometry[] coverage, double[] tolerances)Simplifies the boundaries of a set of polygonal geometries forming a coverage, preserving the coverage topology, using a separate tolerance for each element of the coverage.static Geometry[]CoverageSimplifier. simplifyInner(Geometry[] coverage, double tolerance)Simplifies the inner boundaries of a set of polygonal geometries forming a coverage, preserving the coverage topology.static Geometry[]CoverageSimplifier. simplifyOuter(Geometry[] coverage, double tolerance)Simplifies the outer boundaries of a set of polygonal geometries forming a coverage, preserving the coverage topology.static GeometryCoverageUnion. union(Geometry[] coverage)Unions a polygonal coverage.GeometryCoveragePolygonValidator. validate()Validates the coverage polygon against the set of adjacent polygons in the coverage.static GeometryCoveragePolygonValidator. validate(Geometry targetPolygon, Geometry[] adjPolygons)Validates that a polygon is coverage-valid against the surrounding polygons in a polygonal coverage.static GeometryCoveragePolygonValidator. validate(Geometry targetPolygon, Geometry[] adjPolygons, double gapWidth)Validates that a polygon is coverage-valid against the surrounding polygons in a polygonal coverage, and forms no gaps narrower than a specified width.Geometry[]CoverageValidator. validate()Validates the polygonal coverage.static Geometry[]CoverageValidator. validate(Geometry[] coverage)Validates that a set of polygons forms a valid polygonal coverage, and returns linear geometries indicating the locations of invalidities, if any.static Geometry[]CoverageValidator. validate(Geometry[] coverage, double gapWidth)Validates that a set of polygons forms a valid polygonal coverage and contains no gaps narrower than a specified width.Methods in org.locationtech.jts.coverage with parameters of type Geometry Modifier and Type Method Description static GeometryCoverageGapFinder. findGaps(Geometry[] coverage, double gapWidth)Finds gaps in a polygonal coverage.static booleanCoverageValidator. hasInvalidResult(Geometry[] validateResult)Tests if some element of an array of geometries is a coverage invalidity indicator.static booleanCoverageValidator. isValid(Geometry[] coverage)Tests whether a polygonal coverage is valid.static Geometry[]CoverageSimplifier. simplify(Geometry[] coverage, double tolerance)Simplifies the boundaries of a set of polygonal geometries forming a coverage, preserving the coverage topology.static Geometry[]CoverageSimplifier. simplify(Geometry[] coverage, double[] tolerances)Simplifies the boundaries of a set of polygonal geometries forming a coverage, preserving the coverage topology, using a separate tolerance for each element of the coverage.static Geometry[]CoverageSimplifier. simplifyInner(Geometry[] coverage, double tolerance)Simplifies the inner boundaries of a set of polygonal geometries forming a coverage, preserving the coverage topology.static Geometry[]CoverageSimplifier. simplifyOuter(Geometry[] coverage, double tolerance)Simplifies the outer boundaries of a set of polygonal geometries forming a coverage, preserving the coverage topology.static GeometryCoverageUnion. union(Geometry[] coverage)Unions a polygonal coverage.static GeometryCoveragePolygonValidator. validate(Geometry targetPolygon, Geometry[] adjPolygons)Validates that a polygon is coverage-valid against the surrounding polygons in a polygonal coverage.static GeometryCoveragePolygonValidator. validate(Geometry targetPolygon, Geometry[] adjPolygons, double gapWidth)Validates that a polygon is coverage-valid against the surrounding polygons in a polygonal coverage, and forms no gaps narrower than a specified width.static Geometry[]CoverageValidator. validate(Geometry[] coverage)Validates that a set of polygons forms a valid polygonal coverage, and returns linear geometries indicating the locations of invalidities, if any.static Geometry[]CoverageValidator. validate(Geometry[] coverage, double gapWidth)Validates that a set of polygons forms a valid polygonal coverage and contains no gaps narrower than a specified width.Constructors in org.locationtech.jts.coverage with parameters of type Geometry Constructor Description CoverageGapFinder(Geometry[] coverage)Creates a new polygonal coverage gap finder.CoveragePolygonValidator(Geometry geom, Geometry[] adjGeoms)Create a new validator.CoverageSimplifier(Geometry[] coverage)Create a new coverage simplifier instance.CoverageValidator(Geometry[] coverage)Creates a new coverage validator -
Uses of Geometry in org.locationtech.jts.densify
Methods in org.locationtech.jts.densify that return Geometry Modifier and Type Method Description static GeometryDensifier. densify(Geometry geom, double distanceTolerance)Densifies a geometry using a given distance tolerance, and respecting the input geometry'sPrecisionModel.GeometryDensifier. getResultGeometry()Gets the densified geometry.Methods in org.locationtech.jts.densify with parameters of type Geometry Modifier and Type Method Description static GeometryDensifier. densify(Geometry geom, double distanceTolerance)Densifies a geometry using a given distance tolerance, and respecting the input geometry'sPrecisionModel.Constructors in org.locationtech.jts.densify with parameters of type Geometry Constructor Description Densifier(Geometry inputGeom)Creates a new densifier instance. -
Uses of Geometry in org.locationtech.jts.dissolve
Methods in org.locationtech.jts.dissolve that return Geometry Modifier and Type Method Description static GeometryLineDissolver. dissolve(Geometry g)Dissolves the linear components in a geometry.GeometryLineDissolver. getResult()Gets the dissolved result as a MultiLineString.Methods in org.locationtech.jts.dissolve with parameters of type Geometry Modifier and Type Method Description voidLineDissolver. add(Geometry geometry)Adds aGeometryto be dissolved.static GeometryLineDissolver. dissolve(Geometry g)Dissolves the linear components in a geometry. -
Uses of Geometry in org.locationtech.jts.edgegraph
Methods in org.locationtech.jts.edgegraph with parameters of type Geometry Modifier and Type Method Description voidEdgeGraphBuilder. add(Geometry geometry)Adds the edges of a Geometry to the graph. -
Uses of Geometry in org.locationtech.jts.geom
Subclasses of Geometry in org.locationtech.jts.geom Modifier and Type Class Description classGeometryCollectionModels a collection ofGeometrys of arbitrary type and dimension.classLinearRingModels an OGC SFSLinearRing.classLineStringModels an OGC-styleLineString.classMultiLineStringModels a collection ofLineStrings.classMultiPointModels a collection ofPoints.classMultiPolygonModels a collection ofPolygons.classPointRepresents a single point.classPolygonRepresents a polygon with linear edges, which may include holes.Fields in org.locationtech.jts.geom declared as Geometry Modifier and Type Field Description protected Geometry[]GeometryCollection. geometriesInternal representation of thisGeometryCollection.Methods in org.locationtech.jts.geom that return Geometry Modifier and Type Method Description GeometryGeometry. buffer(double distance)Computes a buffer area around this geometry having the given width.GeometryGeometry. buffer(double distance, int quadrantSegments)Computes a buffer area around this geometry having the given width and with a specified accuracy of approximation for circular arcs.GeometryGeometry. buffer(double distance, int quadrantSegments, int endCapStyle)Computes a buffer area around this geometry having the given width and with a specified accuracy of approximation for circular arcs, and using a specified end cap style.GeometryGeometryFactory. buildGeometry(Collection geomList)Build an appropriateGeometry,MultiGeometry, orGeometryCollectionto contain theGeometrys in it.GeometryGeometry. convexHull()Computes the smallest convexPolygonthat contains all the points in theGeometry.GeometryPolygon. convexHull()GeometryGeometry. copy()Creates a deep copy of thisGeometryobject.protected abstract GeometryGeometry. copyInternal()An internal method to copy subclass-specific geometry data.GeometryGeometryFactory. createEmpty(int dimension)Creates an empty atomic geometry of the given dimension.GeometryGeometryFactory. createGeometry(Geometry g)Creates a deep copy of the inputGeometry.GeometryGeometry. difference(Geometry other)Computes aGeometryrepresenting the closure of the point-set of the points contained in thisGeometrythat are not contained in theotherGeometry.abstract GeometryGeometry. getBoundary()Returns the boundary, or an empty geometry of appropriate dimension if thisGeometryis empty.GeometryGeometryCollection. getBoundary()GeometryLineString. getBoundary()Gets the boundary of this geometry.GeometryMultiLineString. getBoundary()Gets the boundary of this geometry.GeometryMultiPoint. getBoundary()Gets the boundary of this geometry.GeometryMultiPolygon. getBoundary()Computes the boundary of this geometryGeometryPoint. getBoundary()Gets the boundary of this geometry.GeometryPolygon. getBoundary()Computes the boundary of this geometryGeometryGeometry. getEnvelope()Gets a Geometry representing the envelope (bounding box) of thisGeometry.GeometryGeometry. getGeometryN(int n)Returns an elementGeometryfrom aGeometryCollection(orthis, if the geometry is not a collection).GeometryGeometryCollection. getGeometryN(int n)GeometryGeometry. intersection(Geometry other)Computes aGeometryrepresenting the point-set which is common to both thisGeometryand theotherGeometry.GeometryGeometry. norm()Creates a new Geometry which is a normalized copy of this Geometry.static GeometryOctagonalEnvelope. octagonalEnvelope(Geometry geom)Gets the octagonal envelope of a geometryGeometryGeometry. reverse()Computes a new geometry which has all component coordinate sequences in reverse order (opposite orientation) to this one.protected abstract GeometryGeometry. reverseInternal()GeometryGeometry. symDifference(Geometry other)Computes aGeometryrepresenting the closure of the point-set which is the union of the points in thisGeometrywhich are not contained in theotherGeometry, with the points in theotherGeometry not contained in thisGeometry.GeometryGeometryFactory. toGeometry(Envelope envelope)Creates aGeometrywith the same extent as the given envelope.GeometryOctagonalEnvelope. toGeometry(GeometryFactory geomFactory)static Geometry[]GeometryFactory. toGeometryArray(Collection geometries)Converts theListto an array.GeometryGeometry. union()Computes the union of all the elements of this geometry.GeometryGeometry. union(Geometry other)Computes aGeometryrepresenting the point-set which is contained in both thisGeometryand theotherGeometry.Methods in org.locationtech.jts.geom with parameters of type Geometry Modifier and Type Method Description booleanGeometry. contains(Geometry g)Tests whether this geometry contains the argument geometry.booleanGeometry. coveredBy(Geometry g)Tests whether this geometry is covered by the argument geometry.booleanGeometry. covers(Geometry g)Tests whether this geometry covers the argument geometry.GeometryGeometryFactory. createGeometry(Geometry g)Creates a deep copy of the inputGeometry.GeometryCollectionGeometryFactory. createGeometryCollection(Geometry[] geometries)Creates a GeometryCollection using the given Geometries; a null or empty array will create an empty GeometryCollection.static PointGeometryFactory. createPointFromInternalCoord(Coordinate coord, Geometry exemplar)booleanGeometry. crosses(Geometry g)Tests whether this geometry crosses the argument geometry.GeometryGeometry. difference(Geometry other)Computes aGeometryrepresenting the closure of the point-set of the points contained in thisGeometrythat are not contained in theotherGeometry.booleanGeometry. disjoint(Geometry g)Tests whether this geometry is disjoint from the argument geometry.doubleGeometry. distance(Geometry g)Returns the minimum distance between thisGeometryand anotherGeometry.booleanGeometry. equals(Geometry g)Tests whether this geometry is topologically equal to the argument geometry.booleanGeometry. equalsExact(Geometry other)Returns true if the twoGeometrys are exactly equal.abstract booleanGeometry. equalsExact(Geometry other, double tolerance)Returns true if the twoGeometrys are exactly equal, up to a specified distance tolerance.booleanGeometryCollection. equalsExact(Geometry other, double tolerance)booleanLineString. equalsExact(Geometry other, double tolerance)booleanMultiLineString. equalsExact(Geometry other, double tolerance)booleanMultiPoint. equalsExact(Geometry other, double tolerance)booleanMultiPolygon. equalsExact(Geometry other, double tolerance)booleanPoint. equalsExact(Geometry other, double tolerance)booleanPolygon. equalsExact(Geometry other, double tolerance)booleanGeometry. equalsNorm(Geometry g)Tests whether two geometries are exactly equal in their normalized forms.booleanGeometry. equalsTopo(Geometry g)Tests whether this geometry is topologically equal to the argument geometry as defined by the SFSequalspredicate.voidOctagonalEnvelope. expandToInclude(Geometry g)voidGeometryComponentFilter. filter(Geometry geom)Performs an operation with or on a geometry component.voidGeometryFilter. filter(Geometry geom)Performs an operation with or ongeom.protected static booleanGeometry. hasNonEmptyElements(Geometry[] geometries)Returns true if the array contains any non-emptyGeometrys.GeometryGeometry. intersection(Geometry other)Computes aGeometryrepresenting the point-set which is common to both thisGeometryand theotherGeometry.booleanGeometry. intersects(Geometry g)Tests whether this geometry intersects the argument geometry.protected booleanGeometry. isEquivalentClass(Geometry other)Returns whether the twoGeometrys are equal, from the point of view of theequalsExactmethod.protected booleanLineString. isEquivalentClass(Geometry other)booleanGeometry. isWithinDistance(Geometry geom, double distance)Tests whether the distance from thisGeometryto another is less than or equal to a specified value.static GeometryOctagonalEnvelope. octagonalEnvelope(Geometry geom)Gets the octagonal envelope of a geometrybooleanGeometry. overlaps(Geometry g)Tests whether this geometry overlaps the specified geometry.IntersectionMatrixGeometry. relate(Geometry g)Returns the DE-9IMIntersectionMatrixfor the twoGeometrys.booleanGeometry. relate(Geometry g, String intersectionPattern)Tests whether the elements in the DE-9IMIntersectionMatrixfor the twoGeometrys match the elements inintersectionPattern.GeometryGeometry. symDifference(Geometry other)Computes aGeometryrepresenting the closure of the point-set which is the union of the points in thisGeometrywhich are not contained in theotherGeometry, with the points in theotherGeometry not contained in thisGeometry.booleanGeometry. touches(Geometry g)Tests whether this geometry touches the argument geometry.GeometryGeometry. union(Geometry other)Computes aGeometryrepresenting the point-set which is contained in both thisGeometryand theotherGeometry.booleanGeometry. within(Geometry g)Tests whether this geometry is within the specified geometry.Constructors in org.locationtech.jts.geom with parameters of type Geometry Constructor Description GeometryCollection(Geometry[] geometries, GeometryFactory factory)GeometryCollection(Geometry[] geometries, PrecisionModel precisionModel, int SRID)Deprecated.Use GeometryFactory insteadGeometryCollectionIterator(Geometry parent)Constructs an iterator over the givenGeometry.OctagonalEnvelope(Geometry geom)Creates a new null bounding octagon bounding aGeometry -
Uses of Geometry in org.locationtech.jts.geom.prep
Methods in org.locationtech.jts.geom.prep that return Geometry Modifier and Type Method Description GeometryPreparedGeometry. getGeometry()Gets the originalGeometrywhich has been prepared.Methods in org.locationtech.jts.geom.prep with parameters of type Geometry Modifier and Type Method Description booleanPreparedGeometry. contains(Geometry geom)Tests whether the baseGeometrycontains a given geometry.booleanPreparedPolygon. contains(Geometry g)booleanPreparedGeometry. containsProperly(Geometry geom)Tests whether the baseGeometryproperly contains a given geometry.booleanPreparedPolygon. containsProperly(Geometry g)booleanPreparedGeometry. coveredBy(Geometry geom)Tests whether the baseGeometryis covered by a given geometry.booleanPreparedGeometry. covers(Geometry geom)Tests whether the baseGeometrycovers a given geometry.booleanPreparedPolygon. covers(Geometry g)PreparedGeometryPreparedGeometryFactory. create(Geometry geom)Creates a newPreparedGeometryappropriate for the argumentGeometry.booleanPreparedGeometry. crosses(Geometry geom)Tests whether the baseGeometrycrosses a given geometry.booleanPreparedGeometry. disjoint(Geometry geom)Tests whether the baseGeometryis disjoint from a given geometry.booleanPreparedGeometry. intersects(Geometry geom)Tests whether the baseGeometryintersects a given geometry.booleanPreparedLineString. intersects(Geometry g)booleanPreparedPoint. intersects(Geometry g)Tests whether this point intersects aGeometry.booleanPreparedPolygon. intersects(Geometry g)booleanPreparedGeometry. overlaps(Geometry geom)Tests whether the baseGeometryoverlaps a given geometry.static PreparedGeometryPreparedGeometryFactory. prepare(Geometry geom)Creates a newPreparedGeometryappropriate for the argumentGeometry.booleanPreparedGeometry. touches(Geometry geom)Tests whether the baseGeometrytouches a given geometry.booleanPreparedGeometry. within(Geometry geom)Tests whether the baseGeometryis within a given geometry. -
Uses of Geometry in org.locationtech.jts.geom.util
Methods in org.locationtech.jts.geom.util that return Geometry Modifier and Type Method Description GeometryGeometryCombiner. combine()Computes the combination of the input geometries to produce the most appropriateGeometryorGeometryCollectionstatic GeometryGeometryCombiner. combine(Collection geoms)Combines a collection of geometries.static GeometryGeometryCombiner. combine(Geometry g0, Geometry g1)Combines two geometries.static GeometryGeometryCombiner. combine(Geometry g0, Geometry g1, Geometry g2)Combines three geometries.static GeometrySineStarFactory. create(Coordinate origin, double size, int nPts, int nArms, double armLengthRatio)Creates a sine star with the given parameters.GeometrySineStarFactory. createSineStar()Generates the geometry for the sine starGeometryGeometryEditor.CoordinateOperation. edit(Geometry geometry, GeometryFactory factory)GeometryGeometryEditor.CoordinateSequenceOperation. edit(Geometry geometry, GeometryFactory factory)GeometryGeometryEditor. edit(Geometry geometry, GeometryEditor.GeometryEditorOperation operation)Edit the inputGeometrywith the given edit operation.GeometryGeometryEditor.GeometryEditorOperation. edit(Geometry geometry, GeometryFactory factory)Edits a Geometry by returning a new Geometry with a modification.GeometryGeometryEditor.NoOpGeometryOperation. edit(Geometry geometry, GeometryFactory factory)static GeometryGeometryFixer. fix(Geometry geom)Fixes a geometry to be valid.static GeometryGeometryFixer. fix(Geometry geom, boolean isKeepMulti)Fixes a geometry to be valid, allowing to set a flag controlling how single item results from fixedMULTIgeometries should be returned.static GeometryGeometryMapper. flatMap(Geometry geom, int emptyDim, GeometryMapper.MapOp op)Maps the atomic elements of aGeometry(which may be atomic or composite) using aGeometryMapper.MapOpmapping operation into an atomic Geometry or a flat collection of the most specific type.static GeometryLinearComponentExtracter. getGeometry(Geometry geom)Extracts the linear components from a singleGeometryand returns them as either aLineStringorMultiLineString.static GeometryLinearComponentExtracter. getGeometry(Geometry geom, boolean forceToLineString)Extracts the linear components from a singleGeometryand returns them as either aLineStringorMultiLineString.static GeometryLineStringExtracter. getGeometry(Geometry geom)Extracts theLineStringelements from a singleGeometryand returns them as either aLineStringorMultiLineString.GeometryGeometryTransformer. getInputGeometry()Utility function to make input geometry availableGeometryGeometryFixer. getResult()Gets the fixed geometry.static GeometryGeometryMapper. map(Geometry geom, GeometryMapper.MapOp op)Maps the members of aGeometry(which may be atomic or composite) into another Geometry of most specific type.GeometryGeometryMapper.MapOp. map(Geometry geom)Maps a geometry value into another value.GeometryAffineTransformation. transform(Geometry g)Creates a newGeometrywhich is the result of this transformation applied to the input Geometry.GeometryGeometryTransformer. transform(Geometry inputGeom)protected GeometryGeometryTransformer. transformGeometryCollection(GeometryCollection geom, Geometry parent)protected GeometryGeometryTransformer. transformLinearRing(LinearRing geom, Geometry parent)Transforms a LinearRing.protected GeometryGeometryTransformer. transformLineString(LineString geom, Geometry parent)Transforms aLineStringgeometry.protected GeometryGeometryTransformer. transformMultiLineString(MultiLineString geom, Geometry parent)protected GeometryGeometryTransformer. transformMultiPoint(MultiPoint geom, Geometry parent)protected GeometryGeometryTransformer. transformMultiPolygon(MultiPolygon geom, Geometry parent)protected GeometryGeometryTransformer. transformPoint(Point geom, Geometry parent)protected GeometryGeometryTransformer. transformPolygon(Polygon geom, Geometry parent)Methods in org.locationtech.jts.geom.util that return types with arguments of type Geometry Modifier and Type Method Description static List<Geometry>PolygonalExtracter. getPolygonals(Geometry geom)static List<Geometry>PolygonalExtracter. getPolygonals(Geometry geom, List<Geometry> list)Methods in org.locationtech.jts.geom.util with parameters of type Geometry Modifier and Type Method Description voidShortCircuitedGeometryVisitor. applyTo(Geometry geom)static GeometryGeometryCombiner. combine(Geometry g0, Geometry g1)Combines two geometries.static GeometryGeometryCombiner. combine(Geometry g0, Geometry g1, Geometry g2)Combines three geometries.abstract Coordinate[]GeometryEditor.CoordinateOperation. edit(Coordinate[] coordinates, Geometry geometry)Edits the array ofCoordinates from aGeometry.GeometryGeometryEditor.CoordinateOperation. edit(Geometry geometry, GeometryFactory factory)abstract CoordinateSequenceGeometryEditor.CoordinateSequenceOperation. edit(CoordinateSequence coordSeq, Geometry geometry)Edits aCoordinateSequencefrom aGeometry.GeometryGeometryEditor.CoordinateSequenceOperation. edit(Geometry geometry, GeometryFactory factory)GeometryGeometryEditor. edit(Geometry geometry, GeometryEditor.GeometryEditorOperation operation)Edit the inputGeometrywith the given edit operation.GeometryGeometryEditor.GeometryEditorOperation. edit(Geometry geometry, GeometryFactory factory)Edits a Geometry by returning a new Geometry with a modification.GeometryGeometryEditor.NoOpGeometryOperation. edit(Geometry geometry, GeometryFactory factory)static ListGeometryExtracter. extract(Geometry geom, Class clz)Deprecated.static ListGeometryExtracter. extract(Geometry geom, Class clz, List list)Deprecated.static ListGeometryExtracter. extract(Geometry geom, String geometryType)static ListGeometryExtracter. extract(Geometry geom, String geometryType, List list)voidComponentCoordinateExtracter. filter(Geometry geom)voidGeometryExtracter. filter(Geometry geom)voidLinearComponentExtracter. filter(Geometry geom)voidLineStringExtracter. filter(Geometry geom)voidPointExtracter. filter(Geometry geom)voidPolygonExtracter. filter(Geometry geom)static GeometryGeometryFixer. fix(Geometry geom)Fixes a geometry to be valid.static GeometryGeometryFixer. fix(Geometry geom, boolean isKeepMulti)Fixes a geometry to be valid, allowing to set a flag controlling how single item results from fixedMULTIgeometries should be returned.static GeometryGeometryMapper. flatMap(Geometry geom, int emptyDim, GeometryMapper.MapOp op)Maps the atomic elements of aGeometry(which may be atomic or composite) using aGeometryMapper.MapOpmapping operation into an atomic Geometry or a flat collection of the most specific type.static ListComponentCoordinateExtracter. getCoordinates(Geometry geom)Extracts a representativeCoordinatefrom each connected component in a geometry.static GeometryLinearComponentExtracter. getGeometry(Geometry geom)Extracts the linear components from a singleGeometryand returns them as either aLineStringorMultiLineString.static GeometryLinearComponentExtracter. getGeometry(Geometry geom, boolean forceToLineString)Extracts the linear components from a singleGeometryand returns them as either aLineStringorMultiLineString.static GeometryLineStringExtracter. getGeometry(Geometry geom)Extracts theLineStringelements from a singleGeometryand returns them as either aLineStringorMultiLineString.static ListLinearComponentExtracter. getLines(Geometry geom)Extracts the linear components from a single geometry.static ListLinearComponentExtracter. getLines(Geometry geom, boolean forceToLineString)Extracts the linear components from a single geometry.static CollectionLinearComponentExtracter. getLines(Geometry geom, Collection lines)Extracts the linear components from a singleGeometryand adds them to the providedCollection.static CollectionLinearComponentExtracter. getLines(Geometry geom, Collection lines, boolean forceToLineString)Extracts the linear components from a singleGeometryand adds them to the providedCollection.static ListLineStringExtracter. getLines(Geometry geom)static ListLineStringExtracter. getLines(Geometry geom, List lines)static ListPointExtracter. getPoints(Geometry geom)static ListPointExtracter. getPoints(Geometry geom, List list)static List<Geometry>PolygonalExtracter. getPolygonals(Geometry geom)static List<Geometry>PolygonalExtracter. getPolygonals(Geometry geom, List<Geometry> list)static ListPolygonExtracter. getPolygons(Geometry geom)static ListPolygonExtracter. getPolygons(Geometry geom, List list)protected static booleanGeometryExtracter. isOfType(Geometry geom, String geometryType)static GeometryGeometryMapper. map(Geometry geom, GeometryMapper.MapOp op)Maps the members of aGeometry(which may be atomic or composite) into another Geometry of most specific type.GeometryGeometryMapper.MapOp. map(Geometry geom)Maps a geometry value into another value.GeometryAffineTransformation. transform(Geometry g)Creates a newGeometrywhich is the result of this transformation applied to the input Geometry.GeometryGeometryTransformer. transform(Geometry inputGeom)protected CoordinateSequenceGeometryTransformer. transformCoordinates(CoordinateSequence coords, Geometry parent)Transforms aCoordinateSequence.protected GeometryGeometryTransformer. transformGeometryCollection(GeometryCollection geom, Geometry parent)protected GeometryGeometryTransformer. transformLinearRing(LinearRing geom, Geometry parent)Transforms a LinearRing.protected GeometryGeometryTransformer. transformLineString(LineString geom, Geometry parent)Transforms aLineStringgeometry.protected GeometryGeometryTransformer. transformMultiLineString(MultiLineString geom, Geometry parent)protected GeometryGeometryTransformer. transformMultiPoint(MultiPoint geom, Geometry parent)protected GeometryGeometryTransformer. transformMultiPolygon(MultiPolygon geom, Geometry parent)protected GeometryGeometryTransformer. transformPoint(Point geom, Geometry parent)protected GeometryGeometryTransformer. transformPolygon(Polygon geom, Geometry parent)protected abstract voidShortCircuitedGeometryVisitor. visit(Geometry element)Method parameters in org.locationtech.jts.geom.util with type arguments of type Geometry Modifier and Type Method Description static List<Geometry>PolygonalExtracter. getPolygonals(Geometry geom, List<Geometry> list)Constructors in org.locationtech.jts.geom.util with parameters of type Geometry Constructor Description GeometryFixer(Geometry geom)Creates a new instance to fix a given geometry. -
Uses of Geometry in org.locationtech.jts.geomgraph
Methods in org.locationtech.jts.geomgraph that return Geometry Modifier and Type Method Description GeometryGeometryGraph. getGeometry()Constructors in org.locationtech.jts.geomgraph with parameters of type Geometry Constructor Description GeometryGraph(int argIndex, Geometry parentGeom)GeometryGraph(int argIndex, Geometry parentGeom, BoundaryNodeRule boundaryNodeRule) -
Uses of Geometry in org.locationtech.jts.io
Methods in org.locationtech.jts.io that return Geometry Modifier and Type Method Description GeometryWKBReader. read(byte[] bytes)Reads a singleGeometryin WKB format from a byte array.GeometryWKBReader. read(InStream is)GeometryWKTReader. read(Reader reader)GeometryWKTReader. read(String wellKnownText)Methods in org.locationtech.jts.io with parameters of type Geometry Modifier and Type Method Description byte[]WKBWriter. write(Geometry geom)Writes aGeometryinto a byte array.voidWKBWriter. write(Geometry geom, OutStream os)StringWKTWriter. write(Geometry geometry)Converts aGeometryto its Well-known Text representation.voidWKTWriter. write(Geometry geometry, Writer writer)Converts aGeometryto its Well-known Text representation.StringWKTWriter. writeFormatted(Geometry geometry)Same aswrite, but with newlines and spaces to make the well-known text more readable.voidWKTWriter. writeFormatted(Geometry geometry, Writer writer)Same aswrite, but with newlines and spaces to make the well-known text more readable. -
Uses of Geometry in org.locationtech.jts.io.geojson
Methods in org.locationtech.jts.io.geojson that return Geometry Modifier and Type Method Description GeometryGeoJsonReader. read(Reader reader)GeometryGeoJsonReader. read(String json)Reads a GeoJson Geometry from a String into a singleGeometry.static GeometryOrientationTransformer. transformCCW(Geometry geometry)Transforms a geometry using the Right Hand Rule specifications defined in the latest GeoJSON specification.Methods in org.locationtech.jts.io.geojson with parameters of type Geometry Modifier and Type Method Description static GeometryOrientationTransformer. transformCCW(Geometry geometry)Transforms a geometry using the Right Hand Rule specifications defined in the latest GeoJSON specification.StringGeoJsonWriter. write(Geometry geometry)Writes aGeometryin GeoJson format to a String.voidGeoJsonWriter. write(Geometry geometry, Writer writer) -
Uses of Geometry in org.locationtech.jts.io.gml2
Methods in org.locationtech.jts.io.gml2 that return Geometry Modifier and Type Method Description GeometryGMLHandler. getGeometry()Gets the geometry parsed by this handler.GeometryGMLReader. read(Reader reader, GeometryFactory geometryFactory)Reads a GML2 Geometry from aReaderinto a singleGeometryIf a collection of Geometries is found, aGeometryCollectionis returned.GeometryGMLReader. read(String gml, GeometryFactory geometryFactory)Reads a GML2 Geometry from a String into a singleGeometryIf a collection of geometries is found, aGeometryCollectionis returned.Methods in org.locationtech.jts.io.gml2 with parameters of type Geometry Modifier and Type Method Description StringGMLWriter. write(Geometry geom)Writes aGeometryin GML2 format to a String.voidGMLWriter. write(Geometry geom, Writer writer) -
Uses of Geometry in org.locationtech.jts.io.kml
Methods in org.locationtech.jts.io.kml that return Geometry Modifier and Type Method Description GeometryKMLReader. read(String kmlGeometryString)Methods in org.locationtech.jts.io.kml with parameters of type Geometry Modifier and Type Method Description StringKMLWriter. write(Geometry geom)Writes aGeometryin KML format as a string.voidKMLWriter. write(Geometry geometry, Writer writer)voidKMLWriter. write(Geometry geometry, StringBuffer buf)Appends the KML representation of aGeometryto aStringBuffer.static StringKMLWriter. writeGeometry(Geometry geometry, double z)Writes a Geometry as KML to a string, using a specified Z value.static StringKMLWriter. writeGeometry(Geometry geometry, double z, int precision, boolean extrude, String altitudeMode)Writes a Geometry as KML to a string, using a specified Z value, precision, extrude flag, and altitude mode code. -
Uses of Geometry in org.locationtech.jts.io.twkb
Methods in org.locationtech.jts.io.twkb that return Geometry Modifier and Type Method Description GeometryTWKBReader. read(byte[] bytes)GeometryTWKBReader. read(DataInput in)GeometryTWKBReader. read(InputStream in)Methods in org.locationtech.jts.io.twkb with parameters of type Geometry Modifier and Type Method Description byte[]TWKBWriter. write(Geometry geom)voidTWKBWriter. write(Geometry geom, DataOutput out)voidTWKBWriter. write(Geometry geom, OutputStream out) -
Uses of Geometry in org.locationtech.jts.linearref
Methods in org.locationtech.jts.linearref that return Geometry Modifier and Type Method Description GeometryLengthIndexedLine. extractLine(double startIndex, double endIndex)Computes theLineStringfor the interval on the line between the given indices.GeometryLocationIndexedLine. extractLine(LinearLocation startIndex, LinearLocation endIndex)Computes theLineStringfor the interval on the line between the given indices.GeometryLinearGeometryBuilder. getGeometry()Methods in org.locationtech.jts.linearref with parameters of type Geometry Modifier and Type Method Description voidLinearLocation. clamp(Geometry linear)Ensures the indexes are valid for a given linearGeometry.CoordinateLinearLocation. getCoordinate(Geometry linearGeom)Gets theCoordinatealong the given linearGeometrywhich is referenced by this location.static LinearLocationLinearLocation. getEndLocation(Geometry linear)Gets a location which refers to the end of a linearGeometry.static doubleLengthLocationMap. getLength(Geometry linearGeom, LinearLocation loc)Computes the length for a givenLinearLocationon a linearGeometry.static LinearLocationLengthLocationMap. getLocation(Geometry linearGeom, double length)Computes theLinearLocationfor a given length along a linearGeometry.static LinearLocationLengthLocationMap. getLocation(Geometry linearGeom, double length, boolean resolveLower)Computes theLinearLocationfor a given length along a linearGeometry, with control over how the location is resolved at component endpoints.LineSegmentLinearLocation. getSegment(Geometry linearGeom)Gets aLineSegmentrepresenting the segment of the given linearGeometrywhich contains this location.doubleLinearLocation. getSegmentLength(Geometry linearGeom)Gets the length of the segment in the given Geometry containing this location.double[]LengthIndexedLine. indicesOf(Geometry subLine)Computes the indices for a subline of the line.LinearLocation[]LocationIndexedLine. indicesOf(Geometry subLine)Computes the indices for a subline of the line.booleanLinearLocation. isEndpoint(Geometry linearGeom)Tests whether this location is an endpoint of the linear component it refers to.booleanLinearLocation. isValid(Geometry linearGeom)Tests whether this location refers to a valid location on the given linearGeometry.voidLinearLocation. setToEnd(Geometry linear)Sets the value of this location to refer to the end of a linear geometry.voidLinearLocation. snapToVertex(Geometry linearGeom, double minDistance)Snaps the value of this location to the nearest vertex on the given linearGeometry, if the vertex is closer than minDistance.LinearLocationLinearLocation. toLowest(Geometry linearGeom)Converts a linear location to the lowest equivalent location index.Constructors in org.locationtech.jts.linearref with parameters of type Geometry Constructor Description LengthIndexedLine(Geometry linearGeom)Constructs an object which allows a linearGeometryto be linearly referenced using length as an index.LengthLocationMap(Geometry linearGeom)LinearIterator(Geometry linear)Creates an iterator initialized to the start of a linearGeometryLinearIterator(Geometry linearGeom, int componentIndex, int vertexIndex)Creates an iterator starting at a specified component and vertex in a linearGeometryLinearIterator(Geometry linear, LinearLocation start)Creates an iterator starting at aLinearLocationon a linearGeometryLocationIndexedLine(Geometry linearGeom)Constructs an object which allows linear referencing along a given linearGeometry. -
Uses of Geometry in org.locationtech.jts.noding
Methods in org.locationtech.jts.noding that return Geometry Modifier and Type Method Description static GeometrySegmentStringUtil. toGeometry(Collection segStrings, GeometryFactory geomFact)Converts a collection ofSegmentStrings into aGeometry.Methods in org.locationtech.jts.noding with parameters of type Geometry Modifier and Type Method Description static ListSegmentStringUtil. extractBasicSegmentStrings(Geometry geom)Extracts all linear components from a givenGeometrytoBasicSegmentStrings.static ListSegmentStringUtil. extractNodedSegmentStrings(Geometry geom)Extracts all linear components from a givenGeometrytoNodedSegmentStrings.static ListSegmentStringUtil. extractSegmentStrings(Geometry geom)Extracts all linear components from a givenGeometrytoSegmentStrings. -
Uses of Geometry in org.locationtech.jts.operation
Methods in org.locationtech.jts.operation that return Geometry Modifier and Type Method Description GeometryGeometryGraphOperation. getArgGeometry(int i)GeometryBoundaryOp. getBoundary()Gets the computed boundary.static GeometryBoundaryOp. getBoundary(Geometry g)Computes a geometry representing the boundary of a geometry.static GeometryBoundaryOp. getBoundary(Geometry g, BoundaryNodeRule bnRule)Computes a geometry representing the boundary of a geometry, using an explicitBoundaryNodeRule.Methods in org.locationtech.jts.operation with parameters of type Geometry Modifier and Type Method Description static GeometryBoundaryOp. getBoundary(Geometry g)Computes a geometry representing the boundary of a geometry.static GeometryBoundaryOp. getBoundary(Geometry g, BoundaryNodeRule bnRule)Computes a geometry representing the boundary of a geometry, using an explicitBoundaryNodeRule.static booleanBoundaryOp. hasBoundary(Geometry geom, BoundaryNodeRule boundaryNodeRule)Tests if a geometry has a boundary (it is non-empty).Constructors in org.locationtech.jts.operation with parameters of type Geometry Constructor Description BoundaryOp(Geometry geom)Creates a new instance for the given geometry.BoundaryOp(Geometry geom, BoundaryNodeRule bnRule)Creates a new instance for the given geometry.GeometryGraphOperation(Geometry g0)GeometryGraphOperation(Geometry g0, Geometry g1)GeometryGraphOperation(Geometry g0, Geometry g1, BoundaryNodeRule boundaryNodeRule)IsSimpleOp(Geometry geom)Deprecated.Creates a simplicity checker using the default SFS Mod-2 Boundary Node RuleIsSimpleOp(Geometry geom, BoundaryNodeRule boundaryNodeRule)Deprecated.Creates a simplicity checker using a givenBoundaryNodeRule -
Uses of Geometry in org.locationtech.jts.operation.buffer
Methods in org.locationtech.jts.operation.buffer that return Geometry Modifier and Type Method Description static GeometryVariableBuffer. buffer(Geometry line, double[] distance)Creates a buffer polygon along a line with the distance specified at each vertex.static GeometryVariableBuffer. buffer(Geometry line, double startDistance, double endDistance)Creates a buffer polygon along a line with the buffer distance interpolated between a start distance and an end distance.static GeometryVariableBuffer. buffer(Geometry line, double startDistance, double midDistance, double endDistance)Creates a buffer polygon along a line with the buffer distance interpolated between a start distance, a middle distance and an end distance.static GeometryBufferOp. bufferByZero(Geometry geom, boolean isBothOrientations)Buffers a geometry with distance zero.static GeometryBufferOp. bufferOp(Geometry g, double distance)Computes the buffer of a geometry for a given buffer distance.static GeometryBufferOp. bufferOp(Geometry g, double distance, int quadrantSegments)Computes the buffer for a geometry for a given buffer distance and accuracy of approximation.static GeometryBufferOp. bufferOp(Geometry g, double distance, int quadrantSegments, int endCapStyle)Computes the buffer for a geometry for a given buffer distance and accuracy of approximation.static GeometryBufferOp. bufferOp(Geometry g, double distance, BufferParameters params)Computes the buffer for a geometry for a given buffer distance and accuracy of approximation.GeometryOffsetCurve. getCurve()Gets the computed offset curve lines.static GeometryOffsetCurve. getCurve(Geometry geom, double distance)Computes the offset curve of a geometry at a given distance.static GeometryOffsetCurve. getCurve(Geometry geom, double distance, int quadSegs, int joinStyle, double mitreLimit)Computes the offset curve of a geometry at a given distance, with specified quadrant segments, join style and mitre limit.static GeometryOffsetCurve. getCurveJoined(Geometry geom, double distance)Computes the offset curve of a geometry at a given distance, joining curve sections into a single line for each input line.GeometryVariableBuffer. getResult()Computes the variable buffer polygon.GeometryBufferOp. getResultGeometry(double distance)Returns the buffer computed for a geometry for a given buffer distance.Methods in org.locationtech.jts.operation.buffer with parameters of type Geometry Modifier and Type Method Description static GeometryVariableBuffer. buffer(Geometry line, double[] distance)Creates a buffer polygon along a line with the distance specified at each vertex.static GeometryVariableBuffer. buffer(Geometry line, double startDistance, double endDistance)Creates a buffer polygon along a line with the buffer distance interpolated between a start distance and an end distance.static GeometryVariableBuffer. buffer(Geometry line, double startDistance, double midDistance, double endDistance)Creates a buffer polygon along a line with the buffer distance interpolated between a start distance, a middle distance and an end distance.static GeometryBufferOp. bufferByZero(Geometry geom, boolean isBothOrientations)Buffers a geometry with distance zero.static GeometryBufferOp. bufferOp(Geometry g, double distance)Computes the buffer of a geometry for a given buffer distance.static GeometryBufferOp. bufferOp(Geometry g, double distance, int quadrantSegments)Computes the buffer for a geometry for a given buffer distance and accuracy of approximation.static GeometryBufferOp. bufferOp(Geometry g, double distance, int quadrantSegments, int endCapStyle)Computes the buffer for a geometry for a given buffer distance and accuracy of approximation.static GeometryBufferOp. bufferOp(Geometry g, double distance, BufferParameters params)Computes the buffer for a geometry for a given buffer distance and accuracy of approximation.static GeometryOffsetCurve. getCurve(Geometry geom, double distance)Computes the offset curve of a geometry at a given distance.static GeometryOffsetCurve. getCurve(Geometry geom, double distance, int quadSegs, int joinStyle, double mitreLimit)Computes the offset curve of a geometry at a given distance, with specified quadrant segments, join style and mitre limit.static GeometryOffsetCurve. getCurveJoined(Geometry geom, double distance)Computes the offset curve of a geometry at a given distance, joining curve sections into a single line for each input line.Constructors in org.locationtech.jts.operation.buffer with parameters of type Geometry Constructor Description BufferCurveSetBuilder(Geometry inputGeom, double distance, PrecisionModel precisionModel, BufferParameters bufParams)BufferOp(Geometry g)Initializes a buffer computation for the given geometryBufferOp(Geometry g, BufferParameters bufParams)Initializes a buffer computation for the given geometry with the given set of parametersOffsetCurve(Geometry geom, double distance)Creates a new instance for computing an offset curve for a geometry at a given distance.OffsetCurve(Geometry geom, double distance, BufferParameters bufParams)Creates a new instance for computing an offset curve for a geometry at a given distance.VariableBuffer(Geometry line, double[] distance)Creates a generator for a variable-distance line buffer. -
Uses of Geometry in org.locationtech.jts.operation.buffer.validate
Methods in org.locationtech.jts.operation.buffer.validate that return Geometry Modifier and Type Method Description GeometryBufferDistanceValidator. getErrorIndicator()Gets a geometry which indicates the location and nature of a validation failure.GeometryBufferResultValidator. getErrorIndicator()Gets a geometry which indicates the location and nature of a validation failure.Methods in org.locationtech.jts.operation.buffer.validate with parameters of type Geometry Modifier and Type Method Description static voidDistanceToPointFinder. computeDistance(Geometry geom, Coordinate pt, PointPairDistance ptDist)doubleBufferCurveMaximumDistanceFinder. findDistance(Geometry bufferCurve)static booleanBufferResultValidator. isValid(Geometry g, double distance, Geometry result)static StringBufferResultValidator. isValidMsg(Geometry g, double distance, Geometry result)Checks whether the geometry buffer is valid, and returns an error message if not.Constructors in org.locationtech.jts.operation.buffer.validate with parameters of type Geometry Constructor Description BufferCurveMaximumDistanceFinder(Geometry inputGeom)BufferDistanceValidator(Geometry input, double bufDistance, Geometry result)BufferResultValidator(Geometry input, double distance, Geometry result)MaxMidpointDistanceFilter(Geometry geom)MaxPointDistanceFilter(Geometry geom) -
Uses of Geometry in org.locationtech.jts.operation.distance
Methods in org.locationtech.jts.operation.distance that return Geometry Modifier and Type Method Description GeometryGeometryLocation. getGeometryComponent()Returns the geometry component on (or in) which this location occurs.Methods in org.locationtech.jts.operation.distance with parameters of type Geometry Modifier and Type Method Description static STRtreeFacetSequenceTreeBuilder. build(Geometry g)static Coordinate[]DistanceOp. closestPoints(Geometry g0, Geometry g1)Deprecated.renamed to nearestPointsstatic doubleDistanceOp. distance(Geometry g0, Geometry g1)Compute the distance between the nearest points of two geometries.doubleIndexedFacetDistance. distance(Geometry g)Computes the distance from the base geometry to the given geometry.static doubleIndexedFacetDistance. distance(Geometry g1, Geometry g2)Computes the distance between facets of two geometries.voidConnectedElementLocationFilter. filter(Geometry geom)voidConnectedElementPointFilter. filter(Geometry geom)static ListConnectedElementPointFilter. getCoordinates(Geometry geom)Returns a list containing a Coordinate from each Polygon, LineString, and Point found inside the specified geometry.static ListConnectedElementLocationFilter. getLocations(Geometry geom)Returns a list containing a point from each Polygon, LineString, and Point found inside the specified geometry.static booleanDistanceOp. isWithinDistance(Geometry g0, Geometry g1, double distance)Test whether two geometries lie within a given distance of each other.booleanIndexedFacetDistance. isWithinDistance(Geometry g, double maxDistance)Tests whether the base geometry lies within a specified distance of the given geometry.static booleanIndexedFacetDistance. isWithinDistance(Geometry g1, Geometry g2, double distance)Tests whether the facets of two geometries lie within a given distance.GeometryLocation[]IndexedFacetDistance. nearestLocations(Geometry g)Computes the nearest locations on the base geometry and the given geometry.static Coordinate[]DistanceOp. nearestPoints(Geometry g0, Geometry g1)Compute the the nearest points of two geometries.Coordinate[]IndexedFacetDistance. nearestPoints(Geometry g)Compute the nearest locations on the target geometry and the given geometry.static Coordinate[]IndexedFacetDistance. nearestPoints(Geometry g1, Geometry g2)Computes the nearest points of the facets of two geometries.Constructors in org.locationtech.jts.operation.distance with parameters of type Geometry Constructor Description DistanceOp(Geometry g0, Geometry g1)Constructs a DistanceOp that computes the distance and nearest points between the two specified geometries.DistanceOp(Geometry g0, Geometry g1, double terminateDistance)Constructs a DistanceOp that computes the distance and nearest points between the two specified geometries.FacetSequence(Geometry geom, CoordinateSequence pts, int start, int end)Creates a new sequence of facets based on aCoordinateSequencecontained in the givenGeometry.GeometryLocation(Geometry component, int segIndex, Coordinate pt)Constructs a GeometryLocation specifying a point on a geometry, as well as the segment that the point is on (orGeometryLocation.INSIDE_AREAif the point is not on a segment).GeometryLocation(Geometry component, Coordinate pt)Constructs a GeometryLocation specifying a point inside an area geometry.IndexedFacetDistance(Geometry geom)Creates a new distance-finding instance for a given targetGeometry. -
Uses of Geometry in org.locationtech.jts.operation.distance3d
Methods in org.locationtech.jts.operation.distance3d with parameters of type Geometry Modifier and Type Method Description static doubleDistance3DOp. distance(Geometry g0, Geometry g1)Compute the distance between the nearest points of two geometries.static booleanDistance3DOp. isWithinDistance(Geometry g0, Geometry g1, double distance)Test whether two geometries lie within a given distance of each other.static Coordinate[]Distance3DOp. nearestPoints(Geometry g0, Geometry g1)Compute the the nearest points of two geometries.Constructors in org.locationtech.jts.operation.distance3d with parameters of type Geometry Constructor Description Distance3DOp(Geometry g0, Geometry g1)Constructs a DistanceOp that computes the distance and nearest points between the two specified geometries.Distance3DOp(Geometry g0, Geometry g1, double terminateDistance)Constructs a DistanceOp that computes the distance and nearest points between the two specified geometries. -
Uses of Geometry in org.locationtech.jts.operation.linemerge
Methods in org.locationtech.jts.operation.linemerge that return Geometry Modifier and Type Method Description GeometryLineSequencer. getSequencedLineStrings()Returns theLineStringorMultiLineStringbuilt by the sequencing process, if one exists.static GeometryLineSequencer. sequence(Geometry geom)Methods in org.locationtech.jts.operation.linemerge with parameters of type Geometry Modifier and Type Method Description voidLineMerger. add(Geometry geometry)Adds a Geometry to be processed.voidLineSequencer. add(Geometry geometry)Adds aGeometryto be sequenced.static booleanLineSequencer. isSequenced(Geometry geom)Tests whether aGeometryis sequenced correctly.static GeometryLineSequencer. sequence(Geometry geom) -
Uses of Geometry in org.locationtech.jts.operation.overlay
Methods in org.locationtech.jts.operation.overlay that return Geometry Modifier and Type Method Description static GeometryOverlayOp. createEmptyResult(int overlayOpCode, Geometry a, Geometry b, GeometryFactory geomFact)Creates an empty result geometry of the appropriate dimension, based on the given overlay operation and the dimensions of the inputs.GeometryOverlayOp. getResultGeometry(int overlayOpCode)Gets the result of the overlay for a given overlay operation.static GeometryOverlayOp. overlayOp(Geometry geom0, Geometry geom1, int opCode)Computes an overlay operation for the given geometry arguments.Methods in org.locationtech.jts.operation.overlay with parameters of type Geometry Modifier and Type Method Description static GeometryOverlayOp. createEmptyResult(int overlayOpCode, Geometry a, Geometry b, GeometryFactory geomFact)Creates an empty result geometry of the appropriate dimension, based on the given overlay operation and the dimensions of the inputs.static GeometryOverlayOp. overlayOp(Geometry geom0, Geometry geom1, int opCode)Computes an overlay operation for the given geometry arguments.Constructors in org.locationtech.jts.operation.overlay with parameters of type Geometry Constructor Description OverlayOp(Geometry g0, Geometry g1)Constructs an instance to compute a single overlay operation for the given geometries. -
Uses of Geometry in org.locationtech.jts.operation.overlay.snap
Methods in org.locationtech.jts.operation.overlay.snap that return Geometry Modifier and Type Method Description static GeometrySnapIfNeededOverlayOp. difference(Geometry g0, Geometry g1)static GeometrySnapOverlayOp. difference(Geometry g0, Geometry g1)GeometrySnapIfNeededOverlayOp. getResultGeometry(int opCode)GeometrySnapOverlayOp. getResultGeometry(int opCode)static GeometrySnapIfNeededOverlayOp. intersection(Geometry g0, Geometry g1)static GeometrySnapOverlayOp. intersection(Geometry g0, Geometry g1)static GeometrySnapIfNeededOverlayOp. overlayOp(Geometry g0, Geometry g1, int opCode)static GeometrySnapOverlayOp. overlayOp(Geometry g0, Geometry g1, int opCode)static Geometry[]GeometrySnapper. snap(Geometry g0, Geometry g1, double snapTolerance)Snaps two geometries together with a given tolerance.GeometryGeometrySnapper. snapTo(Geometry snapGeom, double snapTolerance)Snaps the vertices in the componentLineStrings of the source geometry to the vertices of the given snap geometry.GeometryGeometrySnapper. snapToSelf(double snapTolerance, boolean cleanResult)Snaps the vertices in the componentLineStrings of the source geometry to the vertices of the same geometry.static GeometryGeometrySnapper. snapToSelf(Geometry geom, double snapTolerance, boolean cleanResult)Snaps a geometry to itself.static GeometrySnapIfNeededOverlayOp. symDifference(Geometry g0, Geometry g1)static GeometrySnapOverlayOp. symDifference(Geometry g0, Geometry g1)static GeometrySnapIfNeededOverlayOp. union(Geometry g0, Geometry g1)static GeometrySnapOverlayOp. union(Geometry g0, Geometry g1)Methods in org.locationtech.jts.operation.overlay.snap with parameters of type Geometry Modifier and Type Method Description static doubleGeometrySnapper. computeOverlaySnapTolerance(Geometry g)Estimates the snap tolerance for a Geometry, taking into account its precision model.static doubleGeometrySnapper. computeOverlaySnapTolerance(Geometry g0, Geometry g1)static doubleGeometrySnapper. computeSizeBasedSnapTolerance(Geometry g)static GeometrySnapIfNeededOverlayOp. difference(Geometry g0, Geometry g1)static GeometrySnapOverlayOp. difference(Geometry g0, Geometry g1)static GeometrySnapIfNeededOverlayOp. intersection(Geometry g0, Geometry g1)static GeometrySnapOverlayOp. intersection(Geometry g0, Geometry g1)static GeometrySnapIfNeededOverlayOp. overlayOp(Geometry g0, Geometry g1, int opCode)static GeometrySnapOverlayOp. overlayOp(Geometry g0, Geometry g1, int opCode)static Geometry[]GeometrySnapper. snap(Geometry g0, Geometry g1, double snapTolerance)Snaps two geometries together with a given tolerance.GeometryGeometrySnapper. snapTo(Geometry snapGeom, double snapTolerance)Snaps the vertices in the componentLineStrings of the source geometry to the vertices of the given snap geometry.static GeometryGeometrySnapper. snapToSelf(Geometry geom, double snapTolerance, boolean cleanResult)Snaps a geometry to itself.static GeometrySnapIfNeededOverlayOp. symDifference(Geometry g0, Geometry g1)static GeometrySnapOverlayOp. symDifference(Geometry g0, Geometry g1)static GeometrySnapIfNeededOverlayOp. union(Geometry g0, Geometry g1)static GeometrySnapOverlayOp. union(Geometry g0, Geometry g1)Constructors in org.locationtech.jts.operation.overlay.snap with parameters of type Geometry Constructor Description GeometrySnapper(Geometry srcGeom)Creates a new snapper acting on the given geometrySnapIfNeededOverlayOp(Geometry g1, Geometry g2)SnapOverlayOp(Geometry g1, Geometry g2) -
Uses of Geometry in org.locationtech.jts.operation.overlay.validate
Methods in org.locationtech.jts.operation.overlay.validate with parameters of type Geometry Modifier and Type Method Description static booleanOverlayResultValidator. isValid(Geometry a, Geometry b, int overlayOp, Geometry result)Constructors in org.locationtech.jts.operation.overlay.validate with parameters of type Geometry Constructor Description FuzzyPointLocator(Geometry g, double boundaryDistanceTolerance)OffsetPointGenerator(Geometry g)OverlayResultValidator(Geometry a, Geometry b, Geometry result) -
Uses of Geometry in org.locationtech.jts.operation.overlayarea
Methods in org.locationtech.jts.operation.overlayarea with parameters of type Geometry Modifier and Type Method Description static doubleGeometryArea. area(Geometry geom)doubleOverlayArea. intersectionArea(Geometry geom)static doubleOverlayArea. intersectionArea(Geometry geom0, Geometry geom1)Constructors in org.locationtech.jts.operation.overlayarea with parameters of type Geometry Constructor Description GeometryArea(Geometry geom)OverlayArea(Geometry geom) -
Uses of Geometry in org.locationtech.jts.operation.overlayng
Methods in org.locationtech.jts.operation.overlayng that return Geometry Modifier and Type Method Description GeometryOverlayNG. getResult()Gets the result of the overlay operation.GeometryFastOverlayFilter. overlay(Geometry geom, int overlayOpCode)Computes the overlay operation on the input geometries, if it can be determined that the result is either empty or equal to one of the input values.static GeometryOverlayNG. overlay(Geometry geom0, Geometry geom1, int opCode)Computes an overlay operation on the given geometry operands, using the precision model of the geometry.static GeometryOverlayNG. overlay(Geometry geom0, Geometry geom1, int opCode, PrecisionModel pm)Computes an overlay operation for the given geometry operands, with the noding strategy determined by the precision model.static GeometryOverlayNG. overlay(Geometry geom0, Geometry geom1, int opCode, PrecisionModel pm, Noder noder)Computes an overlay operation on the given geometry operands, using a suppliedNoder.static GeometryOverlayNG. overlay(Geometry geom0, Geometry geom1, int opCode, Noder noder)Computes an overlay operation on the given geometry operands, using a suppliedNoder.static GeometryOverlayNGRobust. overlay(Geometry geom0, Geometry geom1, int opCode)Overlay two geometries, using heuristics to ensure computation completes correctly.static GeometryPrecisionReducer. reducePrecision(Geometry geom, PrecisionModel pm)Reduces the precision of a geometry by rounding and snapping it to the suppliedPrecisionModel.static GeometryCoverageUnion. union(Geometry coverage)Unions a valid polygonal coverage or linear network.static GeometryOverlayNGRobust. union(Collection<Geometry> geoms)Computes the unary union of a collection of geometries using robust computation.static GeometryOverlayNGRobust. union(Collection<Geometry> geoms, GeometryFactory geomFact)Computes the unary union of a collection of geometries using robust computation.static GeometryOverlayNGRobust. union(Geometry geom)Computes the unary union of a geometry using robust computation.static GeometryUnaryUnionNG. union(Collection<Geometry> geoms, GeometryFactory geomFact, PrecisionModel pm)Unions a collection of geometries using a given precision model.static GeometryUnaryUnionNG. union(Collection<Geometry> geoms, PrecisionModel pm)Unions a collection of geometries using a given precision model.static GeometryUnaryUnionNG. union(Geometry geom, PrecisionModel pm)Unions a geometry (which is often a collection) using a given precision model.Methods in org.locationtech.jts.operation.overlayng with parameters of type Geometry Modifier and Type Method Description static doublePrecisionUtil. inherentScale(Geometry geom)Computes the inherent scale of a geometry.static doublePrecisionUtil. inherentScale(Geometry a, Geometry b)Computes the inherent scale of two geometries.GeometryFastOverlayFilter. overlay(Geometry geom, int overlayOpCode)Computes the overlay operation on the input geometries, if it can be determined that the result is either empty or equal to one of the input values.static GeometryOverlayNG. overlay(Geometry geom0, Geometry geom1, int opCode)Computes an overlay operation on the given geometry operands, using the precision model of the geometry.static GeometryOverlayNG. overlay(Geometry geom0, Geometry geom1, int opCode, PrecisionModel pm)Computes an overlay operation for the given geometry operands, with the noding strategy determined by the precision model.static GeometryOverlayNG. overlay(Geometry geom0, Geometry geom1, int opCode, PrecisionModel pm, Noder noder)Computes an overlay operation on the given geometry operands, using a suppliedNoder.static GeometryOverlayNG. overlay(Geometry geom0, Geometry geom1, int opCode, Noder noder)Computes an overlay operation on the given geometry operands, using a suppliedNoder.static GeometryOverlayNGRobust. overlay(Geometry geom0, Geometry geom1, int opCode)Overlay two geometries, using heuristics to ensure computation completes correctly.static GeometryPrecisionReducer. reducePrecision(Geometry geom, PrecisionModel pm)Reduces the precision of a geometry by rounding and snapping it to the suppliedPrecisionModel.static PrecisionModelPrecisionUtil. robustPM(Geometry a)Determines a precision model to use for robust overlay operations for one geometry.static PrecisionModelPrecisionUtil. robustPM(Geometry a, Geometry b)Determines a precision model to use for robust overlay operations.static doublePrecisionUtil. robustScale(Geometry a)Determines a scale factor which maximizes the digits of precision and is safe to use for overlay operations.static doublePrecisionUtil. robustScale(Geometry a, Geometry b)Determines a scale factor which maximizes the digits of precision and is safe to use for overlay operations.static doublePrecisionUtil. safeScale(Geometry geom)Computes a safe scale factor for a geometry.static doublePrecisionUtil. safeScale(Geometry a, Geometry b)Computes a safe scale factor for two geometries.static GeometryCoverageUnion. union(Geometry coverage)Unions a valid polygonal coverage or linear network.static GeometryOverlayNGRobust. union(Geometry geom)Computes the unary union of a geometry using robust computation.static GeometryUnaryUnionNG. union(Geometry geom, PrecisionModel pm)Unions a geometry (which is often a collection) using a given precision model.Method parameters in org.locationtech.jts.operation.overlayng with type arguments of type Geometry Modifier and Type Method Description static GeometryOverlayNGRobust. union(Collection<Geometry> geoms)Computes the unary union of a collection of geometries using robust computation.static GeometryOverlayNGRobust. union(Collection<Geometry> geoms, GeometryFactory geomFact)Computes the unary union of a collection of geometries using robust computation.static GeometryUnaryUnionNG. union(Collection<Geometry> geoms, GeometryFactory geomFact, PrecisionModel pm)Unions a collection of geometries using a given precision model.static GeometryUnaryUnionNG. union(Collection<Geometry> geoms, PrecisionModel pm)Unions a collection of geometries using a given precision model.Constructors in org.locationtech.jts.operation.overlayng with parameters of type Geometry Constructor Description FastOverlayFilter(Geometry geom)OverlayNG(Geometry geom0, Geometry geom1, int opCode)Creates an overlay operation on the given geometries using the precision model of the geometries.OverlayNG(Geometry geom0, Geometry geom1, PrecisionModel pm, int opCode)Creates an overlay operation on the given geometries, with a defined precision model. -
Uses of Geometry in org.locationtech.jts.operation.polygonize
Methods in org.locationtech.jts.operation.polygonize that return Geometry Modifier and Type Method Description GeometryPolygonizer. getGeometry()Gets a geometry representing the polygons formed by the polygonization.Methods in org.locationtech.jts.operation.polygonize with parameters of type Geometry Modifier and Type Method Description voidPolygonizer. add(Geometry g)Add aGeometryto the edges to be polygonized. -
Uses of Geometry in org.locationtech.jts.operation.predicate
Methods in org.locationtech.jts.operation.predicate with parameters of type Geometry Modifier and Type Method Description booleanRectangleContains. contains(Geometry geom)static booleanRectangleContains. contains(Polygon rectangle, Geometry b)Tests whether a rectangle contains a given geometry.booleanRectangleIntersects. intersects(Geometry geom)Tests whether the given Geometry intersects the query rectangle.static booleanRectangleIntersects. intersects(Polygon rectangle, Geometry b)Tests whether a rectangle intersects a given geometry. -
Uses of Geometry in org.locationtech.jts.operation.relate
Methods in org.locationtech.jts.operation.relate with parameters of type Geometry Modifier and Type Method Description static IntersectionMatrixRelateOp. relate(Geometry a, Geometry b)Computes theIntersectionMatrixfor the spatial relationship between twoGeometrys, using the default (OGC SFS) Boundary Node Rulestatic IntersectionMatrixRelateOp. relate(Geometry a, Geometry b, BoundaryNodeRule boundaryNodeRule)Computes theIntersectionMatrixfor the spatial relationship between twoGeometrys using a specified Boundary Node Rule.Constructors in org.locationtech.jts.operation.relate with parameters of type Geometry Constructor Description RelateOp(Geometry g0, Geometry g1)Creates a new Relate operation, using the default (OGC SFS) Boundary Node Rule.RelateOp(Geometry g0, Geometry g1, BoundaryNodeRule boundaryNodeRule)Creates a new Relate operation with a specified Boundary Node Rule. -
Uses of Geometry in org.locationtech.jts.operation.relateng
Methods in org.locationtech.jts.operation.relateng with parameters of type Geometry Modifier and Type Method Description IntersectionMatrixRelateNG. evaluate(Geometry b)Computes the DE-9IM matrix for the topological relationship to a geometry.booleanRelateNG. evaluate(Geometry b, String imPattern)Tests whether the topological relationship to a geometry matches a DE-9IM matrix pattern.booleanRelateNG. evaluate(Geometry b, TopologyPredicate predicate)Tests whether the topological relationship to a geometry satisfies a topology predicate.static RelateNGRelateNG. prepare(Geometry a)Creates a prepared RelateNG instance to optimize the evaluation of relationships against a single geometry.static RelateNGRelateNG. prepare(Geometry a, BoundaryNodeRule bnRule)Creates a prepared RelateNG instance to optimize the computation of predicates against a single geometry, using a givenBoundaryNodeRule.static IntersectionMatrixRelateNG. relate(Geometry a, Geometry b)Computes the DE-9IM matrix for the topological relationship between two geometries.static booleanRelateNG. relate(Geometry a, Geometry b, String imPattern)Tests whether the topological relationship to a geometry matches a DE-9IM matrix pattern.static IntersectionMatrixRelateNG. relate(Geometry a, Geometry b, BoundaryNodeRule bnRule)Computes the DE-9IM matrix for the topological relationship between two geometries.static booleanRelateNG. relate(Geometry a, Geometry b, TopologyPredicate pred)Tests whether the topological relationship between two geometries satisfies a topological predicate.static booleanRelateNG. relate(Geometry a, Geometry b, TopologyPredicate pred, BoundaryNodeRule bnRule)Tests whether the topological relationship between two geometries satisfies a topological predicate, using a givenBoundaryNodeRule. -
Uses of Geometry in org.locationtech.jts.operation.union
Methods in org.locationtech.jts.operation.union that return Geometry Modifier and Type Method Description GeometrySpatialPartition. getGeometry(int s, int i)Gets a geometry in a given partitionGeometryCascadedPolygonUnion. union()Computes the union of the input geometries.static GeometryCascadedPolygonUnion. union(Collection polys)static GeometryCascadedPolygonUnion. union(Collection polys, UnionStrategy unionFun)GeometryOverlapUnion. union()Deprecated.Unions the input geometries, using the more performant overlap union algorithm if possible.static GeometryOverlapUnion. union(Geometry g0, Geometry g1, UnionStrategy unionFun)Deprecated.Union a pair of geometries, using the more performant overlap union algorithm if possible.GeometryPartitionedUnion. union()static GeometryPartitionedUnion. union(Geometry geoms)GeometryPointGeometryUnion. union()static GeometryPointGeometryUnion. union(Puntal pointGeom, Geometry otherGeom)GeometrySparsePolygonUnion. union()static GeometrySparsePolygonUnion. union(Collection geoms)static GeometrySparsePolygonUnion. union(Geometry geoms)GeometryUnaryUnionOp. union()Gets the union of the input geometries.static GeometryUnaryUnionOp. union(Collection geoms)Computes the geometric union of aCollectionofGeometrys.static GeometryUnaryUnionOp. union(Collection geoms, GeometryFactory geomFact)Computes the geometric union of aCollectionofGeometrys.static GeometryUnaryUnionOp. union(Geometry geom)Constructs a unary union operation for aGeometry(which may be aGeometryCollection).GeometryUnionInteracting. union()static GeometryUnionInteracting. union(Geometry g0, Geometry g1)GeometryUnionStrategy. union(Geometry g0, Geometry g1)Computes the union of two geometries.Methods in org.locationtech.jts.operation.union with parameters of type Geometry Modifier and Type Method Description static GeometryOverlapUnion. union(Geometry g0, Geometry g1, UnionStrategy unionFun)Deprecated.Union a pair of geometries, using the more performant overlap union algorithm if possible.static GeometryPartitionedUnion. union(Geometry geoms)static GeometryPointGeometryUnion. union(Puntal pointGeom, Geometry otherGeom)static GeometrySparsePolygonUnion. union(Geometry geoms)static GeometryUnaryUnionOp. union(Geometry geom)Constructs a unary union operation for aGeometry(which may be aGeometryCollection).static GeometryUnionInteracting. union(Geometry g0, Geometry g1)GeometryUnionStrategy. union(Geometry g0, Geometry g1)Computes the union of two geometries.Constructors in org.locationtech.jts.operation.union with parameters of type Geometry Constructor Description OverlapUnion(Geometry g0, Geometry g1)Deprecated.Creates a new instance for unioning the given geometries.OverlapUnion(Geometry g0, Geometry g1, UnionStrategy unionFun)Deprecated.PointGeometryUnion(Puntal pointGeom, Geometry otherGeom)SpatialPartition(Geometry[] geoms, SpatialPartition.EquivalenceRelation rel)UnaryUnionOp(Geometry geom)Constructs a unary union operation for aGeometry(which may be aGeometryCollection).UnionInteracting(Geometry g0, Geometry g1)Constructor parameters in org.locationtech.jts.operation.union with type arguments of type Geometry Constructor Description PartitionedUnion(Collection<Geometry> polys)SparsePolygonUnion(Collection<Geometry> polys) -
Uses of Geometry in org.locationtech.jts.operation.valid
Methods in org.locationtech.jts.operation.valid with parameters of type Geometry Modifier and Type Method Description static CoordinateIsSimpleOp. getNonSimpleLocation(Geometry geom)Gets a non-simple location in a geometry, if any.booleanRepeatedPointTester. hasRepeatedPoint(Geometry g)static booleanIsSimpleOp. isSimple(Geometry geom)Tests whether a geometry is simple.static booleanIsValidOp. isValid(Geometry geom)Tests whether aGeometryis valid.Constructors in org.locationtech.jts.operation.valid with parameters of type Geometry Constructor Description IsSimpleOp(Geometry geom)Creates a simplicity checker using the default SFS Mod-2 Boundary Node RuleIsSimpleOp(Geometry geom, BoundaryNodeRule boundaryNodeRule)Creates a simplicity checker using a givenBoundaryNodeRuleIsValidOp(Geometry inputGeometry)Creates a new validator for a geometry. -
Uses of Geometry in org.locationtech.jts.precision
Methods in org.locationtech.jts.precision that return Geometry Modifier and Type Method Description GeometryCommonBitsOp. buffer(Geometry geom0, double distance)Computes the buffer a geometry, using enhanced precision.static GeometryEnhancedPrecisionOp. buffer(Geometry geom, double distance)Computes the buffer of aGeometry, using enhanced precision.GeometryCommonBitsOp. difference(Geometry geom0, Geometry geom1)Computes the set-theoretic difference of twoGeometrys, using enhanced precision.static GeometryEnhancedPrecisionOp. difference(Geometry geom0, Geometry geom1)Computes the set-theoretic difference of twoGeometrys, using enhanced precision.static GeometryMinimumClearance. getLine(Geometry g)Gets a LineString containing two points which are at the Minimum Clearance distance for the given Geometry.static GeometrySimpleMinimumClearance. getLine(Geometry g)GeometryCommonBitsOp. intersection(Geometry geom0, Geometry geom1)Computes the set-theoretic intersection of twoGeometrys, using enhanced precision.static GeometryEnhancedPrecisionOp. intersection(Geometry geom0, Geometry geom1)Computes the set-theoretic intersection of twoGeometrys, using enhanced precision.GeometryGeometryPrecisionReducer. reduce(Geometry geom)Reduces the precision of a geometry, according to the specified strategy of this reducer.static GeometryGeometryPrecisionReducer. reduce(Geometry g, PrecisionModel precModel)Reduces precision of a geometry, ensuring output geometry is valid.GeometrySimpleGeometryPrecisionReducer. reduce(Geometry geom)Deprecated.static GeometrySimpleGeometryPrecisionReducer. reduce(Geometry g, PrecisionModel precModel)Deprecated.Convenience method for doing precision reduction on a single geometry, with collapses removed and keeping the geometry precision model the same.static GeometryGeometryPrecisionReducer. reduceKeepCollapsed(Geometry geom, PrecisionModel pm)Reduces precision of a geometry, ensuring output polygonal geometry is valid, and preserving collapsed linear elements.static GeometryGeometryPrecisionReducer. reducePointwise(Geometry g, PrecisionModel precModel)Reduce precision of a geometry in a pointwise way.GeometryCommonBitsRemover. removeCommonBits(Geometry geom)Removes the common coordinate bits from a Geometry.GeometryCommonBitsOp. symDifference(Geometry geom0, Geometry geom1)Computes the set-theoretic symmetric difference of two geometries, using enhanced precision.static GeometryEnhancedPrecisionOp. symDifference(Geometry geom0, Geometry geom1)Computes the set-theoretic symmetric difference of twoGeometrys, using enhanced precision.GeometryCommonBitsOp. union(Geometry geom0, Geometry geom1)Computes the set-theoretic union of twoGeometrys, using enhanced precision.static GeometryEnhancedPrecisionOp. union(Geometry geom0, Geometry geom1)Computes the set-theoretic union of twoGeometrys, using enhanced precision.Methods in org.locationtech.jts.precision with parameters of type Geometry Modifier and Type Method Description voidCommonBitsRemover. add(Geometry geom)Add a geometry to the set of geometries whose common bits are being computed.voidCommonBitsRemover. addCommonBits(Geometry geom)Adds the common coordinate bits back into a Geometry.GeometryCommonBitsOp. buffer(Geometry geom0, double distance)Computes the buffer a geometry, using enhanced precision.static GeometryEnhancedPrecisionOp. buffer(Geometry geom, double distance)Computes the buffer of aGeometry, using enhanced precision.GeometryCommonBitsOp. difference(Geometry geom0, Geometry geom1)Computes the set-theoretic difference of twoGeometrys, using enhanced precision.static GeometryEnhancedPrecisionOp. difference(Geometry geom0, Geometry geom1)Computes the set-theoretic difference of twoGeometrys, using enhanced precision.Coordinate[]PrecisionReducerCoordinateOperation. edit(Coordinate[] coordinates, Geometry geom)static doubleMinimumClearance. getDistance(Geometry g)Computes the Minimum Clearance distance for the given Geometry.static doubleSimpleMinimumClearance. getDistance(Geometry g)static GeometryMinimumClearance. getLine(Geometry g)Gets a LineString containing two points which are at the Minimum Clearance distance for the given Geometry.static GeometrySimpleMinimumClearance. getLine(Geometry g)GeometryCommonBitsOp. intersection(Geometry geom0, Geometry geom1)Computes the set-theoretic intersection of twoGeometrys, using enhanced precision.static GeometryEnhancedPrecisionOp. intersection(Geometry geom0, Geometry geom1)Computes the set-theoretic intersection of twoGeometrys, using enhanced precision.GeometryGeometryPrecisionReducer. reduce(Geometry geom)Reduces the precision of a geometry, according to the specified strategy of this reducer.static GeometryGeometryPrecisionReducer. reduce(Geometry g, PrecisionModel precModel)Reduces precision of a geometry, ensuring output geometry is valid.GeometrySimpleGeometryPrecisionReducer. reduce(Geometry geom)Deprecated.static GeometrySimpleGeometryPrecisionReducer. reduce(Geometry g, PrecisionModel precModel)Deprecated.Convenience method for doing precision reduction on a single geometry, with collapses removed and keeping the geometry precision model the same.static GeometryGeometryPrecisionReducer. reduceKeepCollapsed(Geometry geom, PrecisionModel pm)Reduces precision of a geometry, ensuring output polygonal geometry is valid, and preserving collapsed linear elements.static GeometryGeometryPrecisionReducer. reducePointwise(Geometry g, PrecisionModel precModel)Reduce precision of a geometry in a pointwise way.GeometryCommonBitsRemover. removeCommonBits(Geometry geom)Removes the common coordinate bits from a Geometry.GeometryCommonBitsOp. symDifference(Geometry geom0, Geometry geom1)Computes the set-theoretic symmetric difference of two geometries, using enhanced precision.static GeometryEnhancedPrecisionOp. symDifference(Geometry geom0, Geometry geom1)Computes the set-theoretic symmetric difference of twoGeometrys, using enhanced precision.GeometryCommonBitsOp. union(Geometry geom0, Geometry geom1)Computes the set-theoretic union of twoGeometrys, using enhanced precision.static GeometryEnhancedPrecisionOp. union(Geometry geom0, Geometry geom1)Computes the set-theoretic union of twoGeometrys, using enhanced precision.Constructors in org.locationtech.jts.precision with parameters of type Geometry Constructor Description MinimumClearance(Geometry geom)Creates an object to compute the Minimum Clearance for the given GeometrySimpleMinimumClearance(Geometry geom) -
Uses of Geometry in org.locationtech.jts.shape
Methods in org.locationtech.jts.shape that return Geometry Modifier and Type Method Description static GeometryCubicBezierCurve. bezierCurve(Geometry geom, double alpha)Creates a geometry of linearized Cubic Bezier Curves defined by the segments of the input and a parameter controlling how curved the result should be.static GeometryCubicBezierCurve. bezierCurve(Geometry geom, double alpha, double skew)Creates a geometry of linearized Cubic Bezier Curves defined by the segments of the input and a parameter controlling how curved the result should be, with a skew factor affecting the curve shape at each vertex.static GeometryCubicBezierCurve. bezierCurve(Geometry geom, Geometry controlPoints)Creates a geometry of linearized Cubic Bezier Curves defined by the segments of the input and a list (or lists) of control points.abstract GeometryGeometricShapeBuilder. getGeometry()GeometryCubicBezierCurve. getResult()Gets the computed linearized Bezier curve geometry.Methods in org.locationtech.jts.shape with parameters of type Geometry Modifier and Type Method Description static GeometryCubicBezierCurve. bezierCurve(Geometry geom, double alpha)Creates a geometry of linearized Cubic Bezier Curves defined by the segments of the input and a parameter controlling how curved the result should be.static GeometryCubicBezierCurve. bezierCurve(Geometry geom, double alpha, double skew)Creates a geometry of linearized Cubic Bezier Curves defined by the segments of the input and a parameter controlling how curved the result should be, with a skew factor affecting the curve shape at each vertex.static GeometryCubicBezierCurve. bezierCurve(Geometry geom, Geometry controlPoints)Creates a geometry of linearized Cubic Bezier Curves defined by the segments of the input and a list (or lists) of control points. -
Uses of Geometry in org.locationtech.jts.shape.fractal
Methods in org.locationtech.jts.shape.fractal that return Geometry Modifier and Type Method Description GeometryHilbertCurveBuilder. getGeometry()GeometryKochSnowflakeBuilder. getGeometry()GeometryMortonCurveBuilder. getGeometry()GeometrySierpinskiCarpetBuilder. getGeometry() -
Uses of Geometry in org.locationtech.jts.shape.random
Fields in org.locationtech.jts.shape.random declared as Geometry Modifier and Type Field Description protected GeometryRandomPointsBuilder. maskPolyMethods in org.locationtech.jts.shape.random that return Geometry Modifier and Type Method Description GeometryRandomPointsBuilder. getGeometry()GeometryRandomPointsInGridBuilder. getGeometry()Gets theMultiPointcontaining the generated pointMethods in org.locationtech.jts.shape.random with parameters of type Geometry Modifier and Type Method Description voidRandomPointsBuilder. setExtent(Geometry mask)Sets a polygonal mask. -
Uses of Geometry in org.locationtech.jts.simplify
Methods in org.locationtech.jts.simplify that return Geometry Modifier and Type Method Description GeometryPolygonHullSimplifier. getResult()Gets the result polygonal hull geometry.GeometryDouglasPeuckerSimplifier. getResultGeometry()Gets the simplified geometry.GeometryTopologyPreservingSimplifier. getResultGeometry()GeometryVWSimplifier. getResultGeometry()Gets the simplified geometry.static GeometryPolygonHullSimplifier. hull(Geometry geom, boolean isOuter, double vertexNumFraction)Computes a topology-preserving simplified hull of a polygonal geometry, with hull shape determined by a target parameter specifying the fraction of the input vertices retained in the result.static GeometryPolygonHullSimplifier. hullByAreaDelta(Geometry geom, boolean isOuter, double areaDeltaRatio)Computes a topology-preserving simplified hull of a polygonal geometry, with hull shape determined by a target parameter specifying the ratio of maximum difference in area to original area.static GeometryDouglasPeuckerSimplifier. simplify(Geometry geom, double distanceTolerance)Simplifies a geometry using a given tolerance.static GeometryTopologyPreservingSimplifier. simplify(Geometry geom, double distanceTolerance)static GeometryVWSimplifier. simplify(Geometry geom, double distanceTolerance)Simplifies a geometry using a given tolerance.Methods in org.locationtech.jts.simplify with parameters of type Geometry Modifier and Type Method Description static GeometryPolygonHullSimplifier. hull(Geometry geom, boolean isOuter, double vertexNumFraction)Computes a topology-preserving simplified hull of a polygonal geometry, with hull shape determined by a target parameter specifying the fraction of the input vertices retained in the result.static GeometryPolygonHullSimplifier. hullByAreaDelta(Geometry geom, boolean isOuter, double areaDeltaRatio)Computes a topology-preserving simplified hull of a polygonal geometry, with hull shape determined by a target parameter specifying the ratio of maximum difference in area to original area.static GeometryDouglasPeuckerSimplifier. simplify(Geometry geom, double distanceTolerance)Simplifies a geometry using a given tolerance.static GeometryTopologyPreservingSimplifier. simplify(Geometry geom, double distanceTolerance)static GeometryVWSimplifier. simplify(Geometry geom, double distanceTolerance)Simplifies a geometry using a given tolerance.Constructors in org.locationtech.jts.simplify with parameters of type Geometry Constructor Description DouglasPeuckerSimplifier(Geometry inputGeom)Creates a simplifier for a given geometry.PolygonHullSimplifier(Geometry inputGeom, boolean isOuter)Creates a new instance to compute a simplified hull of a polygonal geometry.TopologyPreservingSimplifier(Geometry inputGeom)VWSimplifier(Geometry inputGeom)Creates a simplifier for a given geometry. -
Uses of Geometry in org.locationtech.jts.triangulate
Methods in org.locationtech.jts.triangulate that return Geometry Modifier and Type Method Description GeometryConformingDelaunayTriangulator. getConvexHull()Gets the convex hull of all the sites in the triangulation, including constraint vertices.GeometryVoronoiDiagramBuilder. getDiagram(GeometryFactory geomFact)Gets the faces of the computed diagram as aGeometryCollectionofPolygons, clipped as specified.GeometryConformingDelaunayTriangulationBuilder. getEdges(GeometryFactory geomFact)Gets the edges of the computed triangulation as aMultiLineString.GeometryDelaunayTriangulationBuilder. getEdges(GeometryFactory geomFact)Gets the edges of the computed triangulation as aMultiLineString.GeometryConformingDelaunayTriangulationBuilder. getTriangles(GeometryFactory geomFact)Gets the faces of the computed triangulation as aGeometryCollectionofPolygon.GeometryDelaunayTriangulationBuilder. getTriangles(GeometryFactory geomFact)Gets the faces of the computed triangulation as aGeometryCollectionofPolygon.Methods in org.locationtech.jts.triangulate with parameters of type Geometry Modifier and Type Method Description static CoordinateListDelaunayTriangulationBuilder. extractUniqueCoordinates(Geometry geom)Extracts the uniqueCoordinates from the givenGeometry.voidVertexTaggedGeometryDataMapper. loadSourceGeometries(Geometry geomColl)voidConformingDelaunayTriangulationBuilder. setConstraints(Geometry constraintLines)Sets the linear constraints to be conformed to.voidConformingDelaunayTriangulationBuilder. setSites(Geometry geom)Sets the sites (point or vertices) which will be triangulated.voidDelaunayTriangulationBuilder. setSites(Geometry geom)Sets the sites (vertices) which will be triangulated.voidVoronoiDiagramBuilder. setSites(Geometry geom)Sets the sites (point or vertices) which will be diagrammed.voidVertexTaggedGeometryDataMapper. transferData(Geometry targetGeom)Input is assumed to be a multiGeometry in which every component has its userData set to be a Coordinate which is the key to the output data. -
Uses of Geometry in org.locationtech.jts.triangulate.polygon
Methods in org.locationtech.jts.triangulate.polygon that return Geometry Modifier and Type Method Description GeometryConstrainedDelaunayTriangulator. getResult()Gets the triangulation as aGeometryCollectionof triangularPolygons.GeometryPolygonTriangulator. getResult()Gets the triangulation as aGeometryCollectionof triangularPolygons.static GeometryConstrainedDelaunayTriangulator. triangulate(Geometry geom)Computes the Constrained Delaunay Triangulation of each polygon element in a geometry.static GeometryPolygonTriangulator. triangulate(Geometry geom)Computes a triangulation of each polygon in a geometry.Methods in org.locationtech.jts.triangulate.polygon with parameters of type Geometry Modifier and Type Method Description static GeometryConstrainedDelaunayTriangulator. triangulate(Geometry geom)Computes the Constrained Delaunay Triangulation of each polygon element in a geometry.static GeometryPolygonTriangulator. triangulate(Geometry geom)Computes a triangulation of each polygon in a geometry.Constructors in org.locationtech.jts.triangulate.polygon with parameters of type Geometry Constructor Description ConstrainedDelaunayTriangulator(Geometry inputGeom)Constructs a new Constrained Delaunay triangulator.PolygonTriangulator(Geometry inputGeom)Constructs a new triangulator. -
Uses of Geometry in org.locationtech.jts.triangulate.quadedge
Methods in org.locationtech.jts.triangulate.quadedge that return Geometry Modifier and Type Method Description GeometryQuadEdgeSubdivision. getEdges(GeometryFactory geomFact)Gets the geometry for the edges in the subdivision as aMultiLineStringcontaining 2-point lines.GeometryQuadEdgeSubdivision. getTriangles(boolean includeFrame, GeometryFactory geomFact)Gets the geometry for the triangles in a triangulated subdivision as aGeometryCollectionof triangularPolygons, optionally including the frame triangles.GeometryQuadEdgeSubdivision. getTriangles(GeometryFactory geomFact)Gets the geometry for the triangles in a triangulated subdivision as aGeometryCollectionof triangularPolygons.GeometryQuadEdgeSubdivision. getVoronoiDiagram(GeometryFactory geomFact)Gets the cells in the Voronoi diagram for this triangulation.static GeometryQuadEdgeTriangle. toPolygon(QuadEdge[] e)static GeometryQuadEdgeTriangle. toPolygon(Vertex[] v) -
Uses of Geometry in org.locationtech.jts.triangulate.tri
Methods in org.locationtech.jts.triangulate.tri that return Geometry Modifier and Type Method Description static GeometryTri. toGeometry(Collection<Tri> tris, GeometryFactory geomFact)Creates aGeometryCollectionofPolygons representing the triangles in a list. -
Uses of Geometry in org.locationtech.jts.util
Methods in org.locationtech.jts.util that return Geometry Modifier and Type Method Description protected GeometryGeometricShapeFactory. rotate(Geometry geom)Methods in org.locationtech.jts.util with parameters of type Geometry Modifier and Type Method Description static booleanDebug. hasSegment(Geometry geom, Coordinate p0, Coordinate p1)protected GeometryGeometricShapeFactory. rotate(Geometry geom)static voidTestBuilderProxy. showIndicator(Geometry geom)Shows a geometry as an indicator in the TestBuilder Edit panel.static voidTestBuilderProxy. showIndicator(Geometry geom, Color lineClr)Shows a geometry as an indicator in the TestBuilder Edit panel. -
Uses of Geometry in org.locationtech.jtsexample.technique
Methods in org.locationtech.jtsexample.technique that return Geometry Modifier and Type Method Description static GeometryLineStringSelfIntersections. getEndPoints(Geometry g)static GeometryLineStringSelfIntersections. lineStringSelfIntersections(LineString line)Methods in org.locationtech.jtsexample.technique with parameters of type Geometry Modifier and Type Method Description static GeometryLineStringSelfIntersections. getEndPoints(Geometry g)static voidPolygonUnionUsingBuffer. unionUsingBuffer(Geometry[] geom)Deprecated. -
Uses of Geometry in org.locationtech.jtslab
Methods in org.locationtech.jtslab that return Geometry Modifier and Type Method Description static GeometryClipFunctions. clipByIntersection(Geometry geom, Geometry rectangle)static GeometryClipFunctions. clipByIntersectionOpt(Geometry geom, Geometry rectangle)static GeometryClipFunctions. clipPoly(Geometry geom, Geometry rectangle)static GeometryClipFunctions. clipPolyPrecise(Geometry geom, Geometry rectangle, double scaleFactor)static GeometryOverlayAreaFunctions. intAreaOrigData(Geometry geom0, Geometry geom1)static GeometryOverlayAreaFunctions. intAreaOrigPrepData(Geometry geom0, Geometry geom1)static GeometryOverlayAreaFunctions. intersectionAreaData(Geometry geom0, Geometry geom1)static GeometryOverlayAreaFunctions. intersectionAreaPrepData(Geometry geom0, Geometry geom1)static GeometryOverlayOptFunctions. intersectionOpt(Geometry a, Geometry b)Use spatial predicates as a filter in front of intersection.static GeometryOverlayOptFunctions. intersectionOptPrep(Geometry a, Geometry b)Use prepared geometry spatial predicates as a filter in front of intersection, with the first operand prepared.static GeometryIteratedOverlayFunctions. overlayIndexedNG(Geometry coll)static GeometryIteratedOverlayFunctions. overlayNG(Geometry coll)static GeometryIteratedOverlayFunctions. overlayOld(Geometry coll)static GeometryIteratedOverlayFunctions. overlaySR(Geometry coll, double scale)static GeometryRemoverFunctions. removeSmallHoles(Geometry geom, double areaTolerance)Methods in org.locationtech.jtslab with parameters of type Geometry Modifier and Type Method Description static doubleEdgeRayFunctions. area(Geometry g)static doubleOverlayAreaFunctions. areaSingle(Geometry g)static doubleOverlayAreaFunctions. checkIntArea(Geometry geom0, Geometry geom1)static doubleEdgeRayFunctions. checkIntersectionArea(Geometry geom0, Geometry geom1)static GeometryClipFunctions. clipByIntersection(Geometry geom, Geometry rectangle)static GeometryClipFunctions. clipByIntersectionOpt(Geometry geom, Geometry rectangle)static GeometryClipFunctions. clipPoly(Geometry geom, Geometry rectangle)static GeometryClipFunctions. clipPolyPrecise(Geometry geom, Geometry rectangle, double scaleFactor)static doubleOverlayAreaFunctions. intAreaOrig(Geometry geom0, Geometry geom1)static GeometryOverlayAreaFunctions. intAreaOrigData(Geometry geom0, Geometry geom1)static doubleOverlayAreaFunctions. intAreaOrigPrep(Geometry geom0, Geometry geom1)static GeometryOverlayAreaFunctions. intAreaOrigPrepData(Geometry geom0, Geometry geom1)static doubleEdgeRayFunctions. intersectionArea(Geometry geom0, Geometry geom1)static doubleOverlayAreaFunctions. intersectionArea(Geometry geom0, Geometry geom1)static GeometryOverlayAreaFunctions. intersectionAreaData(Geometry geom0, Geometry geom1)static doubleOverlayAreaFunctions. intersectionAreaPrep(Geometry geom0, Geometry geom1)static GeometryOverlayAreaFunctions. intersectionAreaPrepData(Geometry geom0, Geometry geom1)static GeometryOverlayOptFunctions. intersectionOpt(Geometry a, Geometry b)Use spatial predicates as a filter in front of intersection.static GeometryOverlayOptFunctions. intersectionOptPrep(Geometry a, Geometry b)Use prepared geometry spatial predicates as a filter in front of intersection, with the first operand prepared.static GeometryIteratedOverlayFunctions. overlayIndexedNG(Geometry coll)static GeometryIteratedOverlayFunctions. overlayNG(Geometry coll)static GeometryIteratedOverlayFunctions. overlayOld(Geometry coll)static GeometryIteratedOverlayFunctions. overlaySR(Geometry coll, double scale)static GeometryRemoverFunctions. removeSmallHoles(Geometry geom, double areaTolerance) -
Uses of Geometry in org.locationtech.jtslab.clean
Methods in org.locationtech.jtslab.clean that return Geometry Modifier and Type Method Description static GeometryInvalidHoleRemover. clean(Geometry geom)Removes invalid holes from the polygons in a geometry.static GeometrySmallHoleRemover. clean(Geometry geom, double areaTolerance)Removes small holes from the polygons in a geometry.GeometryHoleRemover. getResult()Gets the cleaned geometry.GeometryInvalidHoleRemover. getResult()Gets the cleaned geometry.Methods in org.locationtech.jtslab.clean with parameters of type Geometry Modifier and Type Method Description static GeometryInvalidHoleRemover. clean(Geometry geom)Removes invalid holes from the polygons in a geometry.static GeometrySmallHoleRemover. clean(Geometry geom, double areaTolerance)Removes small holes from the polygons in a geometry.booleanHoleRemover.Predicate. value(Geometry geom)Constructors in org.locationtech.jtslab.clean with parameters of type Geometry Constructor Description HoleRemover(Geometry geom, HoleRemover.Predicate isRemoved)Creates a new hole remover instance.InvalidHoleRemover(Geometry geom)Creates a new invalid hole remover instance. -
Uses of Geometry in org.locationtech.jtslab.clip
Methods in org.locationtech.jtslab.clip that return Geometry Modifier and Type Method Description GeometryRectangleClipPolygon. clip(Geometry geom)static GeometryRectangleClipPolygon. clip(Geometry geom, Geometry rectangle)static GeometryRectangleClipPolygon. clip(Geometry geom, Geometry rectangle, PrecisionModel pm)GeometryRectangleClipPolygon. clipCollection(Geometry geom)Methods in org.locationtech.jtslab.clip with parameters of type Geometry Modifier and Type Method Description GeometryRectangleClipPolygon. clip(Geometry geom)static GeometryRectangleClipPolygon. clip(Geometry geom, Geometry rectangle)static GeometryRectangleClipPolygon. clip(Geometry geom, Geometry rectangle, PrecisionModel pm)GeometryRectangleClipPolygon. clipCollection(Geometry geom)Constructors in org.locationtech.jtslab.clip with parameters of type Geometry Constructor Description RectangleClipPolygon(Geometry clipRectangle)RectangleClipPolygon(Geometry clipRectangle, PrecisionModel pm) -
Uses of Geometry in org.locationtech.jtslab.edgeray
Methods in org.locationtech.jtslab.edgeray with parameters of type Geometry Modifier and Type Method Description static doubleEdgeRayArea. area(Geometry geom)static doubleEdgeRayIntersectionArea. area(Geometry geom0, Geometry geom1)Constructors in org.locationtech.jtslab.edgeray with parameters of type Geometry Constructor Description EdgeRayArea(Geometry geom)EdgeRayIntersectionArea(Geometry geom0, Geometry geom1) -
Uses of Geometry in org.locationtech.jtslab.geom.util
Methods in org.locationtech.jtslab.geom.util that return Geometry Modifier and Type Method Description GeometryGeometryEditorEx.CoordinateOperation. edit(Geometry geometry, GeometryFactory targetFactory)GeometryGeometryEditorEx.CoordinateSequenceOperation. edit(Geometry geometry, GeometryFactory targetFactory)GeometryGeometryEditorEx. edit(Geometry geometry)Edit aGeometry.GeometryGeometryEditorEx.GeometryEditorOperation. edit(Geometry geometry, GeometryFactory targetFactory)Edits a Geometry by returning a new Geometry with a modification.GeometryGeometryEditorEx.NoOpGeometryOperation. edit(Geometry geometry, GeometryFactory targetFactory)Methods in org.locationtech.jtslab.geom.util with parameters of type Geometry Modifier and Type Method Description abstract Coordinate[]GeometryEditorEx.CoordinateOperation. edit(Coordinate[] coordinates, Geometry geometry)Edits the array ofCoordinates from aGeometry.GeometryGeometryEditorEx.CoordinateOperation. edit(Geometry geometry, GeometryFactory targetFactory)abstract CoordinateSequenceGeometryEditorEx.CoordinateSequenceOperation. edit(CoordinateSequence coordSeq, Geometry geometry, GeometryFactory targetFactory)Edits aCoordinateSequencefrom aGeometry.GeometryGeometryEditorEx.CoordinateSequenceOperation. edit(Geometry geometry, GeometryFactory targetFactory)GeometryGeometryEditorEx. edit(Geometry geometry)Edit aGeometry.GeometryGeometryEditorEx.GeometryEditorOperation. edit(Geometry geometry, GeometryFactory targetFactory)Edits a Geometry by returning a new Geometry with a modification.GeometryGeometryEditorEx.NoOpGeometryOperation. edit(Geometry geometry, GeometryFactory targetFactory) -
Uses of Geometry in org.locationtech.jtstest.clean
Methods in org.locationtech.jtstest.clean that return Geometry Modifier and Type Method Description GeometryCleanDuplicatePoints. clean(Geometry g)Methods in org.locationtech.jtstest.clean with parameters of type Geometry Modifier and Type Method Description GeometryCleanDuplicatePoints. clean(Geometry g) -
Uses of Geometry in org.locationtech.jtstest.cmd
Methods in org.locationtech.jtstest.cmd that return types with arguments of type Geometry Modifier and Type Method Description List<Geometry>JTSOpCmd. getResultGeometry()List<Geometry>JTSOpRunner. getResultGeometry()Methods in org.locationtech.jtstest.cmd with parameters of type Geometry Modifier and Type Method Description voidGeometryOutput. printGeometry(Geometry geom, int srid, String outputFormat)static StringGeometryOutput. writeGeometrySummary(String label, Geometry g)Method parameters in org.locationtech.jtstest.cmd with type arguments of type Geometry Modifier and Type Method Description static StringGeometryOutput. writeGeometrySummary(String label, List<Geometry> geoms) -
Uses of Geometry in org.locationtech.jtstest.function
Methods in org.locationtech.jtstest.function that return Geometry Modifier and Type Method Description static GeometryEditFunctions. addHole(Geometry polyGeom, Geometry hole)static GeometryGeometryFunctions. addHoles(Geometry g, Geometry holeGeom)static GeometrySelectionNGFunctions. adjacent(Geometry a, Geometry mask)static GeometrySelectionNGFunctions. adjacentPrep(Geometry a, Geometry mask)static GeometryHullFunctions. alphaShape(Geometry geom, double alpha)static GeometryHullFunctions. alphaShapeWithHoles(Geometry geom, double alpha)static GeometryTriangleFunctions. angleBisectors(Geometry g)static GeometryUserDataFunctions. area(Geometry g)static GeometrySelectionFunctions. areaGreaterThan(Geometry a, double minArea)static GeometrySelectionFunctions. areaLessThan(Geometry a, double maxArea)static GeometrySelectionFunctions. areaZero(Geometry a)static GeometryCreateShapeFunctions. bezierCurve(Geometry geom, double alpha)static GeometryCreateShapeFunctions. bezierCurveControl(Geometry geom, Geometry controlPoints)static GeometryCreateShapeFunctions. bezierCurveSkew(Geometry geom, double alpha, double skew)static GeometryBoundaryFunctions. boundary(Geometry g)static GeometryConstructionFunctions. boundary(Geometry g)static GeometryBoundaryFunctions. boundaryEndpoint(Geometry g)static GeometryBoundaryFunctions. boundaryMod2(Geometry g)static GeometryBoundaryFunctions. boundaryMonoValentEnd(Geometry g)static GeometryBoundaryFunctions. boundaryMultiValentEnd(Geometry g)static GeometryBufferFunctions. buffer(Geometry g, double distance)static GeometryBufferFunctions. bufferAndInverse(Geometry g, double distance)static GeometryBufferByUnionFunctions. bufferByComponents(Geometry g, double distance)static GeometryBufferByUnionFunctions. bufferBySections(Geometry g, double distance, int maxChainSize)static GeometryBufferByUnionFunctions. bufferBySegments(Geometry g, double distance)Buffer polygons by buffering the individual boundary segments and either unioning or differencing them.static GeometryBufferFunctions. bufferCurve(Geometry g, double distance)static GeometryBufferFunctions. bufferCurveWithParams(Geometry g, Double distance, Integer quadrantSegments, Integer capStyle, Integer joinStyle, Double mitreLimit)static GeometryBufferFunctions. bufferEach(Geometry g, double distance)static GeometryBufferFunctions. bufferLineSimplifier(Geometry g, double distance)static GeometryTestCaseGeometryFunctions. bufferMitredJoin(Geometry g, double distance)static GeometryBufferFunctions. bufferRadius(Geometry radiusLine)static GeometryBufferFunctions. bufferValidated(Geometry g, double distance)static GeometryBufferFunctions. bufferValidatedGeom(Geometry g, double distance)static GeometryBufferFunctions. bufferWithParams(Geometry g, Double distance, Integer quadrantSegments, Integer capStyle, Integer joinStyle, Double mitreLimit)static GeometryBufferFunctions. bufferWithSimplify(Geometry g, Double distance, Double simplifyFactor)static GeometryFunctionsUtil. buildGeometry(List geoms, Geometry parentGeom)static GeometryFunctionsUtil. buildGeometry(Geometry[] geoms)static GeometryFunctionsUtil. buildGeometry(Geometry a, Geometry b)static GeometryFunctionsUtil. buildGeometryCollection(Geometry[] geoms, Geometry nullGeom)static GeometryConstructionFunctions. centroid(Geometry g)static GeometryTriangleFunctions. centroid(Geometry g)static GeometryConstructionFunctions. circleByRadiusLine(Geometry radiusLine, int nPts)static GeometryTriangleFunctions. circumcentre(Geometry g)static GeometryTriangleFunctions. circumcentreDD(Geometry g)static GeometryTriangleFunctions. circumcircle(Geometry g, int quadSegs)static GeometryOverlayFunctions. clip(Geometry a, Geometry mask)static GeometryOverlayNGTestFunctions. clipRing(Geometry line, Geometry box)static GeometryCreateShapeFunctions. comb(Geometry g, int nArms)static GeometryBufferByUnionFunctions. componentBuffers(Geometry g, double distance)static GeometryHullFunctions. concaveFill(Geometry geom, double maxEdgeLen)static GeometryHullFunctions. concaveFillByLenRatio(Geometry geom, double maxEdgeLenRatio)static GeometryConstructionFunctions. concaveHullByLen(Geometry geom, double maxLen)static GeometryConstructionFunctions. concaveHullByLenRatio(Geometry geom, double maxLen)static GeometryHullFunctions. concaveHullPoints(Geometry geom, double maxLen)static GeometryHullFunctions. concaveHullPointsByLenRatio(Geometry geom, double maxLenRatio)static GeometryHullFunctions. concaveHullPointsWithHoles(Geometry geom, double maxLen)static GeometryHullFunctions. concaveHullPointsWithHolesByLenRatio(Geometry geom, double maxLenRatio)static GeometryHullFunctions. concaveHullPolygons(Geometry geom, double maxEdgeLen)static GeometryHullFunctions. concaveHullPolygonsByLenRatio(Geometry geom, double maxEdgeLenRatio)static GeometryHullFunctions. concaveHullPolygonsTight(Geometry geom, double maxEdgeLen)static GeometryHullFunctions. concaveHullPolygonsTightByLenRatio(Geometry geom, double maxEdgeLenRatio)static GeometryHullFunctions. concaveHullPolygonsWithHoles(Geometry geom, double maxEdgeLen)static GeometryConstructionFunctions. concaveHullWithHolesByLen(Geometry geom, double maxLen)static GeometryConstructionFunctions. concaveHullWithHolesByLenRatio(Geometry geom, double maxLen)static GeometryTriangulationFunctions. conformingDelaunayEdges(Geometry sites, Geometry constraints)static GeometryTriangulationFunctions. conformingDelaunayEdgesWithTolerance(Geometry sites, Geometry constraints, double tol)static GeometryTriangulationFunctions. conformingDelaunayTriangles(Geometry sites, Geometry constraints)static GeometryTriangulationFunctions. conformingDelaunayTrianglesWithTolerance(Geometry sites, Geometry constraints, double tol)static GeometryTriangulatePolyFunctions. constrainedDelaunay(Geometry geom)static GeometrySelectionNGFunctions. contains(Geometry a, Geometry mask)static GeometryConstructionFunctions. convexHull(Geometry g)static GeometryHullFunctions. convexHull(Geometry g)static GeometryGeometryFunctions. copy(Geometry g)static GeometrySelectionFunctions. coveredBy(Geometry a, Geometry mask)static GeometrySelectionFunctions. covers(Geometry a, Geometry mask)static GeometrySelectionNGFunctions. covers(Geometry a, Geometry mask)static GeometrySelectionFunctions. coversPrep(Geometry a, Geometry mask)static GeometrySelectionNGFunctions. coversPrep(Geometry a, Geometry mask)static GeometryTriangulationFunctions. delaunayEdges(Geometry geom)static GeometryTriangulationFunctions. delaunayEdgesWithTolerance(Geometry geom, double tolerance)static GeometryTriangulationFunctions. delaunayTriangles(Geometry geom)static GeometryTriangulationFunctions. delaunayTrianglesWithTolerance(Geometry geom, double tolerance)static GeometryTriangulationFunctions. delaunayTrianglesWithToleranceNoError(Geometry geom, double tolerance)static GeometryDistanceFunctions. densifiedDiscreteHausdorffDistanceLine(Geometry a, Geometry b, double frac)static GeometryConstructionFunctions. densify(Geometry g, double distance)static GeometryTestCaseGeometryFunctions. densify(Geometry g, double distance)static GeometryOverlayCommonBitsRemovedFunctions. difference(Geometry a, Geometry b)static GeometryOverlayEnhancedPrecisionFunctions. difference(Geometry a, Geometry b)static GeometryOverlayFunctions. difference(Geometry a, Geometry b)static GeometryOverlayNGFunctions. difference(Geometry a, Geometry b)static GeometryOverlayNGOptFunctions. difference(Geometry a, Geometry b)static GeometryOverlayNGRobustFunctions. difference(Geometry a, Geometry b)static GeometryOverlayNGSnappingFunctions. difference(Geometry a, Geometry b, double tolerance)static GeometryOverlayNGSRFunctions. difference(Geometry a, Geometry b, double scaleFactor)static GeometryOverlayNGStrictFunctions. difference(Geometry a, Geometry b)static GeometryOverlayNoSnapFunctions. difference(Geometry a, Geometry b)static GeometryOverlayCommonBitsRemovedFunctions. differenceBA(Geometry a, Geometry b)static GeometryOverlayEnhancedPrecisionFunctions. differenceBA(Geometry a, Geometry b)static GeometryOverlayFunctions. differenceBA(Geometry a, Geometry b)static GeometryOverlayNGFunctions. differenceBA(Geometry a, Geometry b)static GeometryOverlayNGRobustFunctions. differenceBA(Geometry a, Geometry b)static GeometryOverlayNGSRFunctions. differenceBA(Geometry a, Geometry b, double scaleFactor)static GeometryOverlayNGStrictFunctions. differenceBA(Geometry a, Geometry b)static GeometryOverlayNoSnapFunctions. differenceBA(Geometry a, Geometry b)static GeometryDistanceFunctions. discreteFrechetfDistanceLine(Geometry a, Geometry b)static GeometryDistanceFunctions. discreteHausdorffDistanceLine(Geometry a, Geometry b)static GeometryDistanceFunctions. discreteOrientedHausdorffDistanceLine(Geometry a, Geometry b)static GeometrySelectionFunctions. disjoint(Geometry a, Geometry mask)static GeometryDissolveFunctions. dissolve(Geometry geom)static GeometryLineHandlingFunctions. dissolve(Geometry geom)static GeometryOverlayNGTestFunctions. edgesIntersectionAll(Geometry a, Geometry b, double scaleFactor)static GeometryOverlayNGTestFunctions. edgesIntersectionResult(Geometry a, Geometry b, double scaleFactor)static GeometryOverlayNGTestFunctions. edgesNoded(Geometry a, Geometry b, double scaleFactor)static GeometryOverlayNGTestFunctions. edgesNodedIntersection(Geometry a, Geometry b, double scaleFactor)static GeometryOverlayNGTestFunctions. edgesNodedIntNoOpt(Geometry a, Geometry b, double scaleFactor)static GeometryOverlayNGTestFunctions. edgesOverlayResult(Geometry a)static GeometryOverlayNGTestFunctions. edgesUnionAll(Geometry a, Geometry b, double scaleFactor)static GeometryOverlayNGTestFunctions. edgesUnionResult(Geometry a, Geometry b, double scaleFactor)static GeometryCreateShapeFunctions. ellipse(Geometry g, int nPts)static GeometryCreateShapeFunctions. ellipseRotate(Geometry g, int nPts, double ang)static GeometryGeometryFunctions. envelope(Geometry g)static GeometryLineHandlingFunctions. extractChains(Geometry g, int maxChainSize)static GeometryLinearReferencingFunctions. extractLine(Geometry g, double start, double end)static GeometryLineHandlingFunctions. extractLines(Geometry g)static GeometryLinearReferencingFunctions. extractPoint(Geometry g, double index)static GeometryLineHandlingFunctions. extractSegments(Geometry g)static GeometryCoverageFunctions. findGaps(Geometry geom, double gapWidth)static GeometryNodingFunctions. findInteriorNodes(Geometry geom)static GeometryNodingFunctions. findNodes(Geometry geom)static GeometryNodingFunctions. findOneNode(Geometry geom)static GeometrySelectionFunctions. firstNComponents(Geometry g, int n)static GeometryValidationFunctions. fixIfInvalid(Geometry geom)static GeometryValidationFunctions. fixInvalid(Geometry geom)static GeometryValidationFunctions. fixInvalidKeepCollapse(Geometry geom)static GeometryCreateShapeFunctions. fontGlyph(Geometry g, String text, String fontName)static GeometryCreateShapeFunctions. fontGlyphMonospaced(Geometry g, String text)static GeometryCreateShapeFunctions. fontGlyphSansSerif(Geometry g, String text)static GeometryCreateShapeFunctions. fontGlyphSerif(Geometry g, String text)static GeometryCreateShapeFunctions. fontGlyphSerifPointSize(Geometry g, String text, int pointSize)static GeometryGeometryFunctions. getCoordinates(Geometry g)static GeometryGeometryFunctions. getGeometryN(Geometry g, int i)static GeometryGeometryFunctions. getPolygonHoleN(Geometry g, int i)static GeometryGeometryFunctions. getPolygonHoles(Geometry geom)static GeometryGeometryFunctions. getPolygonShell(Geometry g)static GeometryCreateShapeFunctions. grid(Geometry g, int nCells)static GeometryCreateShapeFunctions. gridPoints(Geometry g, int nCells)static GeometryCreateRandomShapeFunctions. haltonPoints(Geometry g, int nPts)static GeometryCreateRandomShapeFunctions. haltonPoints57(Geometry g, int nPts)static GeometryCreateRandomShapeFunctions. haltonPointsWithBases(Geometry g, int nPts, int basei, int basej)static GeometryCreateFractalShapeFunctions. hilbertCurve(Geometry g, int n)static GeometryCreateFractalShapeFunctions. hilbertCurveAtLevel(Geometry g, int level)static GeometrySpatialIndexFunctions. hprTreeBounds(Geometry geoms)static GeometrySpatialIndexFunctions. hprTreeQuery(Geometry geoms, Geometry queryEnv)static GeometrySpatialIndexFunctions. hprTreeQueryCached(Geometry geoms, Geometry queryEnv)static GeometryTriangleFunctions. incentre(Geometry g)static GeometryUserDataFunctions. index(Geometry g)static GeometrySimplificationFunctions. innerPolygonHullByAreaDelta(Geometry geom, double areaFrac)static GeometrySimplificationFunctions. innerPolygonHullByVertexFrac(Geometry geom, double vertexFrac)static GeometryConstructionFunctions. interiorPoint(Geometry g)static GeometrySelectionFunctions. interiorPointWithin(Geometry a, Geometry mask)static GeometryLineSegmentFunctions. intersection(Geometry g1, Geometry g2)static GeometryOverlayCommonBitsRemovedFunctions. intersection(Geometry a, Geometry b)static GeometryOverlayEnhancedPrecisionFunctions. intersection(Geometry a, Geometry b)static GeometryOverlayFunctions. intersection(Geometry a, Geometry b)static GeometryOverlayNGFunctions. intersection(Geometry a, Geometry b)static GeometryOverlayNGOptFunctions. intersection(Geometry a, Geometry b)static GeometryOverlayNGRobustFunctions. intersection(Geometry a, Geometry b)static GeometryOverlayNGSnappingFunctions. intersection(Geometry a, Geometry b, double tolerance)static GeometryOverlayNGSRFunctions. intersection(Geometry a, Geometry b, double scaleFactor)static GeometryOverlayNGStrictFunctions. intersection(Geometry a, Geometry b)static GeometryOverlayNoSnapFunctions. intersection(Geometry a, Geometry b)static GeometryLineSegmentFunctions. intersectionDD(Geometry g1, Geometry g2)static GeometryOverlayNGTestFunctions. intersectionIsValid(Geometry a, Geometry b)static GeometryOverlayNGTestFunctions. intersectionNoOpt(Geometry a, Geometry b)static GeometryOverlayNGTestFunctions. intersectionNoValid(Geometry a, Geometry b)static GeometryOverlayNGOptFunctions. intersectionOrigClassic(Geometry a, Geometry b)Use spatial predicates as a filter in front of intersection.static GeometryOverlayNGOptFunctions. intersectionOrigPrep(Geometry a, Geometry b)Use prepared geometry spatial predicates as a filter in front of intersection, with the first operand prepared.static GeometryOverlayNGOptFunctions. intersectionOrigPrepNoCache(Geometry a, Geometry b)static GeometryOverlayNGOptFunctions. intersectionPrep(Geometry a, Geometry b)Using auto slows things down quite a bit (due to need to scan to find scale factor), so not recommended.static GeometryOverlayNGOptFunctions. intersectionPrepNoCache(Geometry a, Geometry b)static GeometryOverlayNGOptFunctions. intersectionPrepSR(Geometry a, Geometry b, double scaleFactor)static GeometryOverlayNGOptFunctions. intersectionSR(Geometry a, Geometry b, double scaleFactor)static GeometryOverlayNGTestFunctions. intersectionSRNoOpt(Geometry a, Geometry b, double scaleFactor)static GeometrySelectionFunctions. intersects(Geometry a, Geometry mask)static GeometrySelectionNGFunctions. intersects(Geometry a, Geometry mask)static GeometrySelectionFunctions. intersectsPrep(Geometry a, Geometry mask)static GeometrySelectionNGFunctions. intersectsPrep(Geometry a, Geometry mask)static GeometrySelectionFunctions. invalid(Geometry a)static GeometryValidationFunctions. invalidGeoms(Geometry g)static GeometryValidationFunctions. invalidLocations(Geometry g)Validates all geometries in a collection independently.static GeometryTriangulatePolyFunctions. joinHoles(Geometry geom)static GeometrySpatialIndexFunctions. kdTreeGraph(Geometry geom)static GeometrySpatialIndexFunctions. kdTreeGraphSeed(Geometry geom)static GeometrySpatialIndexFunctions. kdTreeQuery(Geometry pts, Geometry queryEnv, double tolerance)static GeometrySpatialIndexFunctions. kdTreeQueryCached(Geometry pts, Geometry queryEnv, double tolerance)static GeometrySpatialIndexFunctions. kdTreeQueryRepeated(Geometry pts, Geometry queryEnv, double tolerance)static GeometrySpatialIndexFunctions. kdTreeSplits(Geometry geom)static GeometrySpatialIndexFunctions. kdTreeSplitsSeed(Geometry geom)static GeometryCreateFractalShapeFunctions. kochSnowflake(Geometry g, int n)static GeometryLabellingFunctions. labelPoint(Geometry g)static GeometryLabellingFunctions. labelPointConstrained(Geometry g, Geometry con)static GeometryConstructionFunctions. largestEmptyCircle(Geometry obstacles, Geometry boundary, double tolerance)static GeometryConstructionFunctions. largestEmptyCircleCenter(Geometry obstacles, Geometry boundary, double tolerance)static GeometryConstructionFunctions. largestEmptyCircleRadius(Geometry obstacles, Geometry boundary, double tolerance)static GeometryUserDataFunctions. length(Geometry g)static GeometrySelectionFunctions. lengthGreaterThan(Geometry a, double minLen)static GeometrySelectionFunctions. lengthLessThan(Geometry a, double maxLen)static GeometrySelectionFunctions. lengthZero(Geometry a)static GeometryOverlayNGTestFunctions. limitLine(Geometry line, Geometry box)static GeometryLineSegmentFunctions. lineIntersection(Geometry g1, Geometry g2)static GeometryLineSegmentFunctions. lineIntersectionDD(Geometry g1, Geometry g2)static GeometryLineSegmentFunctions. lineSegmentIntersection(Geometry g1, Geometry g2)static GeometryConversionFunctions. lineToPolygon(Geometry g)static GeometryJTSFunctions. logoBuffer(Geometry g, double distance)static GeometryJTSFunctions. logoLines(Geometry g)static GeometryConstructionFunctions. maximumDiameter(Geometry g)static GeometryConstructionFunctions. maximumInscribedCircle(Geometry g, double tolerance)static GeometryConstructionFunctions. maximumInscribedCircleCenter(Geometry g, double tolerance)static GeometryConstructionFunctions. maximumInscribedCircleRadius(Geometry g, double tolerance)static GeometryNodingFunctions. MCIndexNoding(Geometry geom, Geometry geom2)static GeometryNodingFunctions. MCIndexNodingWithPrecision(Geometry geom, Geometry geom2, double scaleFactor)static GeometryLineHandlingFunctions. mergeLines(Geometry g)static GeometryPrecisionFunctions. minClearanceLine(Geometry g)static GeometryTestCaseGeometryFunctions. minClearanceLine(Geometry g)static GeometryPrecisionFunctions. minClearanceSimpleLine(Geometry g)static GeometryConstructionFunctions. minimumAreaRectangle(Geometry g)static GeometryConstructionFunctions. minimumBoundingCircle(Geometry g)static GeometryConstructionFunctions. minimumDiameter(Geometry g)static GeometryConstructionFunctions. minimumDiameterRectangle(Geometry g)static GeometrySpatialIndexFunctions. monotoneChains(Geometry geom)static GeometryCreateFractalShapeFunctions. mortonCurve(Geometry g, int n)static GeometryCreateFractalShapeFunctions. mortonCurveAtLevel(Geometry g, int level)static GeometryDistanceFunctions. nearestPoints(Geometry a, Geometry b)static GeometryDistanceFunctions. nearestPointsIndexed(Geometry a, Geometry b)static GeometryDistanceFunctions. nearestPointsIndexedEachB(Geometry a, Geometry b)static GeometryCreateShapeFunctions. nGon(Geometry g, int sides)static GeometryValidationFunctions. nonSimpleAllPoints(Geometry geom)static GeometryValidationFunctions. nonSimpleEndpoints(Geometry geom)static GeometryValidationFunctions. nonSimplePoint(Geometry geom)static GeometryGeometryFunctions. normalize(Geometry g)static GeometryUserDataFunctions. numPoints(Geometry g)static GeometryConstructionFunctions. octagonalEnvelope(Geometry g)static GeometryOffsetCurveFunctions. offsetCurve(Geometry geom, double distance)static GeometryOffsetCurveFunctions. offsetCurveBoth(Geometry geom, double distance)static GeometryOffsetCurveFunctions. offsetCurveBothWithParams(Geometry geom, Double distance, Integer quadrantSegments, Integer capStyle, Integer joinStyle, Double mitreLimit)static GeometryOffsetCurveFunctions. offsetCurveJoined(Geometry geom, double distance)static GeometryOffsetCurveFunctions. offsetCurveWithParams(Geometry geom, Double distance, Integer quadrantSegments, Integer capStyle, Integer joinStyle, Double mitreLimit)static GeometrySimplificationFunctions. outerPolygonHullByAreaDelta(Geometry geom, double areaFrac)static GeometrySimplificationFunctions. outerPolygonHullByVertexFrac(Geometry geom, double vertexFrac)static GeometryPolygonOverlayFunctions. overlay(Geometry g1, Geometry g2)static GeometryPolygonOverlayFunctions. overlayIterSnap(Geometry g1, Geometry g2, double snapTol)static GeometryPolygonOverlayFunctions. overlaySR(Geometry g1, Geometry g2, double scale)static GeometryTriangleFunctions. perpendicularBisectors(Geometry g)static GeometryCreateShapeFunctions. pointFieldCentroidStar(Geometry ptsGeom)static GeometryCreateShapeFunctions. pointFieldStar(Geometry ptsGeom, Geometry centrePt)static GeometryConversionFunctions. pointsToLine(Geometry g)static GeometryPolygonizeFunctions. polygonize(Geometry g)static GeometryPolygonizeFunctions. polygonizeAllErrors(Geometry g)static GeometryPolygonizeFunctions. polygonizeCutEdges(Geometry g)static GeometryPolygonizeFunctions. polygonizeDangles(Geometry g)static GeometryPolygonizeFunctions. polygonizeInvalidRingLines(Geometry g)static GeometryPolygonizeFunctions. polygonizeValidPolygonal(Geometry g)static GeometryLinearReferencingFunctions. project(Geometry g, Geometry g2)static GeometrySpatialIndexFunctions. quadTreeQuery(Geometry geoms, Geometry queryEnv)static GeometryCreateRandomShapeFunctions. randomLineString(Geometry g, int nPts)static GeometryCreateRandomShapeFunctions. randomPoints(Geometry g, int nPts)static GeometryCreateRandomShapeFunctions. randomPointsInGrid(Geometry g, int nPts)static GeometryCreateRandomShapeFunctions. randomPointsInGridCircles(Geometry g, int nPts)static GeometryCreateRandomShapeFunctions. randomPointsInGridWithGutter(Geometry g, int nPts, double gutterFraction)static GeometryCreateRandomShapeFunctions. randomPointsInPolygon(Geometry g, int nPts)static GeometryCreateRandomShapeFunctions. randomPointsInTriangle(Geometry g, int nPts)static GeometryCreateRandomShapeFunctions. randomRadialPoints(Geometry g, int nPts)static GeometryCreateRandomShapeFunctions. randomRectilinearWalk(Geometry g, int nPts)static GeometryCreateRandomShapeFunctions. randomSegments(Geometry g, int nPts)static GeometryCreateRandomShapeFunctions. randomSegmentsInGrid(Geometry g, int nPts)static GeometryCreateRandomShapeFunctions. randomSegmentsRectilinear(Geometry g, int nPts)static GeometryOffsetCurveFunctions. rawCurve(Geometry geom, double distance)static GeometryOffsetCurveFunctions. rawCurveWithParams(Geometry geom, Double distance, Integer quadrantSegments, Integer capStyle, Integer joinStyle, Double mitreLimit)static GeometryOverlayNGSRFunctions. reducePrecision(Geometry a, double scaleFactor)static GeometryPrecisionFunctions. reducePrecision(Geometry geom, double scaleFactor)static GeometryPrecisionFunctions. reducePrecisionKeepCollapsed(Geometry geom, double scaleFactor)static GeometryPrecisionFunctions. reducePrecisionPointwise(Geometry geom, double scaleFactor)static GeometryAffineTransformationFunctions. reflectInX(Geometry g)static GeometryAffineTransformationFunctions. reflectInY(Geometry g)static GeometryLineSegmentFunctions. reflectPoint(Geometry g1, Geometry g2)static GeometrySelectionFunctions. relatePattern(Geometry a, Geometry mask, String pattern)static GeometrySelectionNGFunctions. relatePattern(Geometry a, Geometry mask, String pattern)static GeometrySelectionNGFunctions. relatePatternPrep(Geometry a, Geometry mask, String pattern)static GeometryGeometryFunctions. reverse(Geometry g)static GeometryCreateRandomShapeFunctions. robertsPoints(Geometry geom, int nPts)Creates a set of quasi-random 2D points using the Roberts recurrences.static GeometryAffineTransformationFunctions. rotate(Geometry g, double angle)static GeometryAffineTransformationFunctions. rotateAroundPoint(Geometry g, Geometry pt, double angle)static GeometryAffineTransformationFunctions. rotateByPiMultiple(Geometry g, double multipleOfPi)static GeometryAffineTransformationFunctions. rotateByPiMultipleAroundPoint(Geometry g, Geometry pt, double multipleOfPi)static GeometryAffineTransformationFunctions. scale(Geometry g, double scale)static GeometryBufferByUnionFunctions. sectionBuffers(Geometry g, double distance, int maxChainSize)static GeometrySelectionFunctions. select(Geometry geom, org.locationtech.jtstest.function.GeometryPredicate pred)static GeometryLineHandlingFunctions. sequenceLines(Geometry g)static GeometryCreateFractalShapeFunctions. sierpinskiCarpet(Geometry g, int n)static GeometryCoverageFunctions. simplify(Geometry coverage, double tolerance)static GeometrySimplificationFunctions. simplifyDP(Geometry g, double distance)static GeometryCoverageFunctions. simplifyInner(Geometry coverage, double tolerance)static GeometryCoverageFunctions. simplifyInOut(Geometry coverage, double toleranceInner, double toleranceOuter)static GeometryCoverageFunctions. simplifyOuter(Geometry coverage, double tolerance)static GeometryCoverageFunctions. simplifyRemoveRings(Geometry coverage, double tolerance, double factor)static GeometryCoverageFunctions. simplifySharp(Geometry coverage, double tolerance, double weight)static GeometryCoverageFunctions. simplifyTolerances(Geometry coverage, String tolerancesCSV)static GeometrySimplificationFunctions. simplifyTP(Geometry g, double distance)static GeometrySimplificationFunctions. simplifyVW(Geometry g, double tolerance)static GeometryCreateShapeFunctions. sineStar(Geometry g, int nArms, int nPts)static GeometryBufferFunctions. singleSidedBuffer(Geometry geom, double distance)static GeometryBufferFunctions. singleSidedBufferCurve(Geometry geom, double distance)static GeometrySnappingFunctions. snapAtoB(Geometry g, Geometry g2, double distance)static GeometryNodingFunctions. snappingNoder(Geometry geom, Geometry geom2, double snapDistance)static GeometryNodingFunctions. snapRoundingNoder(Geometry geom, Geometry geom2, double scaleFactor)static GeometrySnappingFunctions. snapToSelfAndClean(Geometry g, double distance)static GeometrySortingFunctions. sortByArea(Geometry g)static GeometrySortingFunctions. sortByHilbertCode(Geometry g)static GeometrySortingFunctions. sortByLength(Geometry g)static GeometrySortingFunctions. sortByMinX(Geometry g)static GeometrySortingFunctions. sortByMinY(Geometry g)static GeometrySortingFunctions. sortByMortonCode(Geometry g)static GeometryCreateShapeFunctions. spiral(Geometry geom, int nCycles, int quadrantSegs)static GeometryCreateShapeFunctions. squircle(Geometry g, int nPts)static GeometryAffineTransformationFunctions. stretchToViewport(Geometry g, Geometry gViewport)static GeometrySpatialIndexFunctions. strTreeBounds(Geometry geoms)static GeometrySpatialIndexFunctions. strTreeNN(Geometry geoms, Geometry geom)static GeometrySpatialIndexFunctions. strTreeNNInSet(Geometry geoms)static GeometrySpatialIndexFunctions. strTreeNNk(Geometry geoms, Geometry geom, int k)static GeometrySpatialIndexFunctions. strTreeQuery(Geometry geoms, Geometry queryEnv)static GeometrySpatialIndexFunctions. strTreeQueryCached(Geometry geoms, Geometry queryEnv)static GeometryCreateShapeFunctions. supercircle(Geometry g, int nPts, double pow)static GeometryCreateShapeFunctions. supercircle3(Geometry g, int nPts)static GeometryCreateShapeFunctions. supercircle5(Geometry g, int nPts)static GeometryCreateShapeFunctions. supercirclePoint5(Geometry g, int nPts)static GeometryOverlayCommonBitsRemovedFunctions. symDifference(Geometry a, Geometry b)static GeometryOverlayEnhancedPrecisionFunctions. symDifference(Geometry a, Geometry b)static GeometryOverlayFunctions. symDifference(Geometry a, Geometry b)static GeometryOverlayNGFunctions. symDifference(Geometry a, Geometry b)static GeometryOverlayNGRobustFunctions. symDifference(Geometry a, Geometry b)static GeometryOverlayNGSRFunctions. symDifference(Geometry a, Geometry b, double scaleFactor)static GeometryOverlayNGStrictFunctions. symDifference(Geometry a, Geometry b)static GeometryOverlayNoSnapFunctions. symDifference(Geometry a, Geometry b)static Geometry[]FunctionsUtil. toGeometryArray(Geometry a, Geometry b)static GeometryConversionFunctions. toGeometryCollection(Geometry g1, Geometry g2)static GeometryConversionFunctions. toLines(Geometry g1, Geometry g2)static GeometryConversionFunctions. toMultiPolygon(Geometry g1, Geometry g2)static GeometryConversionFunctions. toPoints(Geometry g1, Geometry g2)static GeometrySelectionFunctions. touches(Geometry a, Geometry mask)static GeometrySelectionNGFunctions. touches(Geometry a, Geometry mask)static GeometrySelectionNGFunctions. touchesPrep(Geometry a, Geometry mask)static GeometryAffineTransformationFunctions. transformByBaseline(Geometry g, Geometry destBaseline)static GeometryAffineTransformationFunctions. transformByVectors(Geometry g, Geometry control)static GeometryAffineTransformationFunctions. transformToViewport(Geometry g, Geometry gViewport)static GeometryAffineTransformationFunctions. translate(Geometry g, double dx, double dy)static GeometryAffineTransformationFunctions. translateCentreToOrigin(Geometry g)static GeometryAffineTransformationFunctions. translateToOrigin(Geometry g)static GeometryTriangulatePolyFunctions. triangulate(Geometry geom)static GeometryOverlayFunctions. unaryUnion(Geometry a)static GeometryOverlayNGFunctions. unaryUnion(Geometry a)static GeometryOverlayNGRobustFunctions. unaryUnion(Geometry a)static GeometryOverlayNGSnappingFunctions. unaryUnion(Geometry a, double tolerance)static GeometryOverlayNGSRFunctions. unaryUnion(Geometry a, double scaleFactor)static GeometryOverlayNoSnapFunctions. unaryUnion(Geometry a)static GeometryOverlayNGSnappingFunctions. unaryUnionNoValid(Geometry a, double tolerance)static GeometryCoverageFunctions. union(Geometry coverage)static GeometryOverlayCommonBitsRemovedFunctions. union(Geometry a, Geometry b)static GeometryOverlayEnhancedPrecisionFunctions. union(Geometry a, Geometry b)static GeometryOverlayFunctions. union(Geometry a, Geometry b)static GeometryOverlayNGFunctions. union(Geometry a, Geometry b)static GeometryOverlayNGRobustFunctions. union(Geometry a, Geometry b)static GeometryOverlayNGSnappingFunctions. union(Geometry a, Geometry b, double tolerance)static GeometryOverlayNGSRFunctions. union(Geometry a, Geometry b, double scaleFactor)static GeometryOverlayNGStrictFunctions. union(Geometry a, Geometry b)static GeometryOverlayNoSnapFunctions. union(Geometry a, Geometry b)static GeometryOverlayNGTestFunctions. unionClassicNoderNoValid(Geometry a, Geometry b)static GeometryOverlayNGFunctions. unionCoverage(Geometry geom)static GeometryOverlayNGTestFunctions. unionIntSymDiff(Geometry a, Geometry b, double scaleFactor)static GeometryOverlayNGTestFunctions. unionIntSymDiffOriginal(Geometry a, Geometry b)static GeometryOverlayFunctions. unionUsingGeometryCollection(Geometry a, Geometry b)static GeometrySelectionFunctions. valid(Geometry a)static GeometryCoverageFunctions. validate(Geometry geom)static GeometryCoverageFunctions. validatePolygon(Geometry geom, Geometry adjacentPolys)static GeometryCoverageFunctions. validatePolygonWithGaps(Geometry geom, Geometry adjacentPolys, double gapWidth)static GeometryCoverageFunctions. validateWithGaps(Geometry geom, double gapWidth)static GeometryBufferFunctions. variableBuffer(Geometry line, double startDist, double endDist)static GeometryBufferFunctions. variableBufferMid(Geometry line, double startDist, double midDist)static GeometryTriangulationFunctions. voronoiDiagram(Geometry sitesGeom, Geometry clipGeom)static GeometryTriangulationFunctions. voronoiDiagramWithData(Geometry sitesGeom, Geometry clipGeom)static GeometryTriangulationFunctions. voronoiRelaxation(Geometry sitesGeom, Geometry clipGeom, int nIter)static GeometrySelectionFunctions. within(Geometry a, Geometry mask)static GeometrySelectionFunctions. withinDistance(Geometry a, Geometry mask, double maximumDistance)static GeometrySelectionFunctions. withinDistanceIndexed(Geometry a, Geometry mask, double maximumDistance)Methods in org.locationtech.jtstest.function that return types with arguments of type Geometry Modifier and Type Method Description static List<Geometry>FunctionsUtil. elements(Geometry g)Methods in org.locationtech.jtstest.function with parameters of type Geometry Modifier and Type Method Description static GeometryEditFunctions. addHole(Geometry polyGeom, Geometry hole)static GeometryGeometryFunctions. addHoles(Geometry g, Geometry holeGeom)static GeometrySelectionNGFunctions. adjacent(Geometry a, Geometry mask)static booleanSpatialPredicateFunctions. adjacent(Geometry a, Geometry b)static booleanSpatialPredicateNGFunctions. adjacent(Geometry a, Geometry b)static GeometrySelectionNGFunctions. adjacentPrep(Geometry a, Geometry mask)static GeometryHullFunctions. alphaShape(Geometry geom, double alpha)static GeometryHullFunctions. alphaShapeWithHoles(Geometry geom, double alpha)static GeometryTriangleFunctions. angleBisectors(Geometry g)static doubleGeometryFunctions. area(Geometry g)static GeometryUserDataFunctions. area(Geometry g)static doubleOverlayNGRobustFunctions. areaDelta(Geometry a, Geometry b)Computes the maximum area delta value resulting from identity equations over the overlay operations.static GeometrySelectionFunctions. areaGreaterThan(Geometry a, double minArea)static GeometrySelectionFunctions. areaLessThan(Geometry a, double maxArea)static GeometrySelectionFunctions. areaZero(Geometry a)static GeometryCreateShapeFunctions. bezierCurve(Geometry geom, double alpha)static GeometryCreateShapeFunctions. bezierCurveControl(Geometry geom, Geometry controlPoints)static GeometryCreateShapeFunctions. bezierCurveSkew(Geometry geom, double alpha, double skew)static GeometryBoundaryFunctions. boundary(Geometry g)static GeometryConstructionFunctions. boundary(Geometry g)static GeometryBoundaryFunctions. boundaryEndpoint(Geometry g)static GeometryBoundaryFunctions. boundaryMod2(Geometry g)static GeometryBoundaryFunctions. boundaryMonoValentEnd(Geometry g)static GeometryBoundaryFunctions. boundaryMultiValentEnd(Geometry g)static GeometryBufferFunctions. buffer(Geometry g, double distance)static GeometryBufferFunctions. bufferAndInverse(Geometry g, double distance)static GeometryBufferByUnionFunctions. bufferByComponents(Geometry g, double distance)static GeometryBufferByUnionFunctions. bufferBySections(Geometry g, double distance, int maxChainSize)static GeometryBufferByUnionFunctions. bufferBySegments(Geometry g, double distance)Buffer polygons by buffering the individual boundary segments and either unioning or differencing them.static GeometryBufferFunctions. bufferCurve(Geometry g, double distance)static GeometryBufferFunctions. bufferCurveWithParams(Geometry g, Double distance, Integer quadrantSegments, Integer capStyle, Integer joinStyle, Double mitreLimit)static GeometryBufferFunctions. bufferEach(Geometry g, double distance)static GeometryBufferFunctions. bufferLineSimplifier(Geometry g, double distance)static GeometryTestCaseGeometryFunctions. bufferMitredJoin(Geometry g, double distance)static GeometryBufferFunctions. bufferRadius(Geometry radiusLine)static GeometryBufferFunctions. bufferValidated(Geometry g, double distance)static GeometryBufferFunctions. bufferValidatedGeom(Geometry g, double distance)static GeometryBufferFunctions. bufferWithParams(Geometry g, Double distance, Integer quadrantSegments, Integer capStyle, Integer joinStyle, Double mitreLimit)static GeometryBufferFunctions. bufferWithSimplify(Geometry g, Double distance, Double simplifyFactor)static GeometryFunctionsUtil. buildGeometry(List geoms, Geometry parentGeom)static GeometryFunctionsUtil. buildGeometry(Geometry[] geoms)static GeometryFunctionsUtil. buildGeometry(Geometry a, Geometry b)static GeometryFunctionsUtil. buildGeometryCollection(Geometry[] geoms, Geometry nullGeom)static GeometryConstructionFunctions. centroid(Geometry g)static GeometryTriangleFunctions. centroid(Geometry g)static GeometryConstructionFunctions. circleByRadiusLine(Geometry radiusLine, int nPts)static GeometryTriangleFunctions. circumcentre(Geometry g)static GeometryTriangleFunctions. circumcentreDD(Geometry g)static GeometryTriangleFunctions. circumcircle(Geometry g, int quadSegs)static doubleTriangleFunctions. circumradius(Geometry g)static GeometryOverlayFunctions. clip(Geometry a, Geometry mask)static GeometryOverlayNGTestFunctions. clipRing(Geometry line, Geometry box)static GeometryCreateShapeFunctions. comb(Geometry g, int nArms)static GeometryBufferByUnionFunctions. componentBuffers(Geometry g, double distance)static GeometryHullFunctions. concaveFill(Geometry geom, double maxEdgeLen)static GeometryHullFunctions. concaveFillByLenRatio(Geometry geom, double maxEdgeLenRatio)static GeometryConstructionFunctions. concaveHullByLen(Geometry geom, double maxLen)static GeometryConstructionFunctions. concaveHullByLenRatio(Geometry geom, double maxLen)static doubleConstructionFunctions. concaveHullLenGuess(Geometry geom)static doubleHullFunctions. concaveHullLenGuess(Geometry geom)static GeometryHullFunctions. concaveHullPoints(Geometry geom, double maxLen)static GeometryHullFunctions. concaveHullPointsByLenRatio(Geometry geom, double maxLenRatio)static GeometryHullFunctions. concaveHullPointsWithHoles(Geometry geom, double maxLen)static GeometryHullFunctions. concaveHullPointsWithHolesByLenRatio(Geometry geom, double maxLenRatio)static GeometryHullFunctions. concaveHullPolygons(Geometry geom, double maxEdgeLen)static GeometryHullFunctions. concaveHullPolygonsByLenRatio(Geometry geom, double maxEdgeLenRatio)static GeometryHullFunctions. concaveHullPolygonsTight(Geometry geom, double maxEdgeLen)static GeometryHullFunctions. concaveHullPolygonsTightByLenRatio(Geometry geom, double maxEdgeLenRatio)static GeometryHullFunctions. concaveHullPolygonsWithHoles(Geometry geom, double maxEdgeLen)static GeometryConstructionFunctions. concaveHullWithHolesByLen(Geometry geom, double maxLen)static GeometryConstructionFunctions. concaveHullWithHolesByLenRatio(Geometry geom, double maxLen)static doubleConstructionFunctions. concaveness(Geometry geom)A concaveness measure defined in terms of the perimeter length relative to the convex hull perimeter.static doubleHullFunctions. concaveness(Geometry geom)A concaveness measure defined in terms of the perimeter length relative to the convex hull perimeter.static GeometryTriangulationFunctions. conformingDelaunayEdges(Geometry sites, Geometry constraints)static GeometryTriangulationFunctions. conformingDelaunayEdgesWithTolerance(Geometry sites, Geometry constraints, double tol)static GeometryTriangulationFunctions. conformingDelaunayTriangles(Geometry sites, Geometry constraints)static GeometryTriangulationFunctions. conformingDelaunayTrianglesWithTolerance(Geometry sites, Geometry constraints, double tol)static GeometryTriangulatePolyFunctions. constrainedDelaunay(Geometry geom)static GeometrySelectionNGFunctions. contains(Geometry a, Geometry mask)static booleanSpatialPredicateFunctions. contains(Geometry a, Geometry b)static booleanSpatialPredicateNGFunctions. contains(Geometry a, Geometry b)static booleanSpatialPredicateFunctions. containsProperly(Geometry a, Geometry b)static booleanSpatialPredicateNGFunctions. containsProperly(Geometry a, Geometry b)static GeometryConstructionFunctions. convexHull(Geometry g)static GeometryHullFunctions. convexHull(Geometry g)static GeometryGeometryFunctions. copy(Geometry g)static GeometrySelectionFunctions. coveredBy(Geometry a, Geometry mask)static booleanSpatialPredicateFunctions. coveredBy(Geometry a, Geometry b)static booleanSpatialPredicateNGFunctions. coveredBy(Geometry a, Geometry b)static GeometrySelectionFunctions. covers(Geometry a, Geometry mask)static GeometrySelectionNGFunctions. covers(Geometry a, Geometry mask)static booleanSpatialPredicateFunctions. covers(Geometry a, Geometry b)static booleanSpatialPredicateNGFunctions. covers(Geometry a, Geometry b)static GeometrySelectionFunctions. coversPrep(Geometry a, Geometry mask)static GeometrySelectionNGFunctions. coversPrep(Geometry a, Geometry mask)static booleanSpatialPredicateFunctions. crosses(Geometry a, Geometry b)static booleanSpatialPredicateNGFunctions. crosses(Geometry a, Geometry b)static GeometryTriangulationFunctions. delaunayEdges(Geometry geom)static GeometryTriangulationFunctions. delaunayEdgesWithTolerance(Geometry geom, double tolerance)static GeometryTriangulationFunctions. delaunayTriangles(Geometry geom)static GeometryTriangulationFunctions. delaunayTrianglesWithTolerance(Geometry geom, double tolerance)static GeometryTriangulationFunctions. delaunayTrianglesWithToleranceNoError(Geometry geom, double tolerance)static GeometryDistanceFunctions. densifiedDiscreteHausdorffDistanceLine(Geometry a, Geometry b, double frac)static GeometryConstructionFunctions. densify(Geometry g, double distance)static GeometryTestCaseGeometryFunctions. densify(Geometry g, double distance)static GeometryOverlayCommonBitsRemovedFunctions. difference(Geometry a, Geometry b)static GeometryOverlayEnhancedPrecisionFunctions. difference(Geometry a, Geometry b)static GeometryOverlayFunctions. difference(Geometry a, Geometry b)static GeometryOverlayNGFunctions. difference(Geometry a, Geometry b)static GeometryOverlayNGOptFunctions. difference(Geometry a, Geometry b)static GeometryOverlayNGRobustFunctions. difference(Geometry a, Geometry b)static GeometryOverlayNGSnappingFunctions. difference(Geometry a, Geometry b, double tolerance)static GeometryOverlayNGSRFunctions. difference(Geometry a, Geometry b, double scaleFactor)static GeometryOverlayNGStrictFunctions. difference(Geometry a, Geometry b)static GeometryOverlayNoSnapFunctions. difference(Geometry a, Geometry b)static GeometryOverlayCommonBitsRemovedFunctions. differenceBA(Geometry a, Geometry b)static GeometryOverlayEnhancedPrecisionFunctions. differenceBA(Geometry a, Geometry b)static GeometryOverlayFunctions. differenceBA(Geometry a, Geometry b)static GeometryOverlayNGFunctions. differenceBA(Geometry a, Geometry b)static GeometryOverlayNGRobustFunctions. differenceBA(Geometry a, Geometry b)static GeometryOverlayNGSRFunctions. differenceBA(Geometry a, Geometry b, double scaleFactor)static GeometryOverlayNGStrictFunctions. differenceBA(Geometry a, Geometry b)static GeometryOverlayNoSnapFunctions. differenceBA(Geometry a, Geometry b)static GeometryCollectionDiffFunctions. diffSegments(Geometry a, Geometry b)static GeometryCollectionDiffFunctions. diffSegmentsBoth(Geometry a, Geometry b)static MultiPointDiffFunctions. diffVertices(Geometry a, Geometry b)Diff the vertices in A against B to find vertices in A which are not in B.static GeometryCollectionDiffFunctions. diffVerticesBoth(Geometry a, Geometry b)static doubleDistanceFunctions. discreteFrechetfDistance(Geometry a, Geometry b)static GeometryDistanceFunctions. discreteFrechetfDistanceLine(Geometry a, Geometry b)static doubleDistanceFunctions. discreteHausdorffDistance(Geometry a, Geometry b)static GeometryDistanceFunctions. discreteHausdorffDistanceLine(Geometry a, Geometry b)static doubleDistanceFunctions. discreteOrientedHausdorffDistance(Geometry a, Geometry b)static GeometryDistanceFunctions. discreteOrientedHausdorffDistanceLine(Geometry a, Geometry b)static GeometrySelectionFunctions. disjoint(Geometry a, Geometry mask)static booleanSpatialPredicateFunctions. disjoint(Geometry a, Geometry b)static booleanSpatialPredicateNGFunctions. disjoint(Geometry a, Geometry b)static GeometryDissolveFunctions. dissolve(Geometry geom)static GeometryLineHandlingFunctions. dissolve(Geometry geom)static doubleDistanceFunctions. distance(Geometry a, Geometry b)static doubleDistanceFunctions. distanceIndexed(Geometry a, Geometry b)static StringWriterFunctions. dumpWKB(Geometry g)static GeometryCollectionDiffFunctions. duplicateSegments(Geometry a)static GeometryOverlayNGTestFunctions. edgesIntersectionAll(Geometry a, Geometry b, double scaleFactor)static GeometryOverlayNGTestFunctions. edgesIntersectionResult(Geometry a, Geometry b, double scaleFactor)static GeometryOverlayNGTestFunctions. edgesNoded(Geometry a, Geometry b, double scaleFactor)static GeometryOverlayNGTestFunctions. edgesNodedIntersection(Geometry a, Geometry b, double scaleFactor)static GeometryOverlayNGTestFunctions. edgesNodedIntNoOpt(Geometry a, Geometry b, double scaleFactor)static GeometryOverlayNGTestFunctions. edgesOverlayResult(Geometry a)static GeometryOverlayNGTestFunctions. edgesUnionAll(Geometry a, Geometry b, double scaleFactor)static GeometryOverlayNGTestFunctions. edgesUnionResult(Geometry a, Geometry b, double scaleFactor)static List<Geometry>FunctionsUtil. elements(Geometry g)static GeometryCreateShapeFunctions. ellipse(Geometry g, int nPts)static GeometryCreateShapeFunctions. ellipseRotate(Geometry g, int nPts, double ang)static GeometryGeometryFunctions. envelope(Geometry g)static booleanSpatialPredicateFunctions. equals(Geometry a, Geometry b)static booleanSpatialPredicateNGFunctions. equals(Geometry a, Geometry b)static booleanSpatialPredicateNGFunctions. equalsTopo(Geometry a, Geometry b)static GeometryLineHandlingFunctions. extractChains(Geometry g, int maxChainSize)static GeometryLinearReferencingFunctions. extractLine(Geometry g, double start, double end)static GeometryLineHandlingFunctions. extractLines(Geometry g)static GeometryLinearReferencingFunctions. extractPoint(Geometry g, double index)static GeometryLineHandlingFunctions. extractSegments(Geometry g)static GeometryCoverageFunctions. findGaps(Geometry geom, double gapWidth)static GeometryNodingFunctions. findInteriorNodes(Geometry geom)static GeometryNodingFunctions. findNodes(Geometry geom)static GeometryNodingFunctions. findOneNode(Geometry geom)static GeometrySelectionFunctions. firstNComponents(Geometry g, int n)static GeometryValidationFunctions. fixIfInvalid(Geometry geom)static GeometryValidationFunctions. fixInvalid(Geometry geom)static GeometryValidationFunctions. fixInvalidKeepCollapse(Geometry geom)static GeometryCreateShapeFunctions. fontGlyph(Geometry g, String text, String fontName)static GeometryCreateShapeFunctions. fontGlyphMonospaced(Geometry g, String text)static GeometryCreateShapeFunctions. fontGlyphSansSerif(Geometry g, String text)static GeometryCreateShapeFunctions. fontGlyphSerif(Geometry g, String text)static GeometryCreateShapeFunctions. fontGlyphSerifPointSize(Geometry g, String text, int pointSize)static GeometryGeometryFunctions. getCoordinates(Geometry g)static EnvelopeFunctionsUtil. getEnvelopeOrDefault(Geometry g)static GeometryFactoryFunctionsUtil. getFactoryOrDefault(Geometry g)static GeometryFactoryFunctionsUtil. getFactoryOrDefault(Geometry g1, Geometry g2)static GeometryGeometryFunctions. getGeometryN(Geometry g, int i)static GeometryGeometryFunctions. getPolygonHoleN(Geometry g, int i)static GeometryGeometryFunctions. getPolygonHoles(Geometry geom)static GeometryGeometryFunctions. getPolygonShell(Geometry g)static GeometryCreateShapeFunctions. grid(Geometry g, int nCells)static GeometryCreateShapeFunctions. gridPoints(Geometry g, int nCells)static GeometryCreateRandomShapeFunctions. haltonPoints(Geometry g, int nPts)static GeometryCreateRandomShapeFunctions. haltonPoints57(Geometry g, int nPts)static GeometryCreateRandomShapeFunctions. haltonPointsWithBases(Geometry g, int nPts, int basei, int basej)static GeometryCreateFractalShapeFunctions. hilbertCurve(Geometry g, int n)static GeometryCreateFractalShapeFunctions. hilbertCurveAtLevel(Geometry g, int level)static GeometrySpatialIndexFunctions. hprTreeBounds(Geometry geoms)static GeometrySpatialIndexFunctions. hprTreeQuery(Geometry geoms, Geometry queryEnv)static GeometrySpatialIndexFunctions. hprTreeQueryCached(Geometry geoms, Geometry queryEnv)static GeometryTriangleFunctions. incentre(Geometry g)static GeometryUserDataFunctions. index(Geometry g)static GeometrySimplificationFunctions. innerPolygonHullByAreaDelta(Geometry geom, double areaFrac)static GeometrySimplificationFunctions. innerPolygonHullByVertexFrac(Geometry geom, double vertexFrac)static intNodingFunctions. interiorIntersectionCount(Geometry geom)static booleanSpatialPredicateFunctions. interiorIntersects(Geometry a, Geometry b)static booleanSpatialPredicateNGFunctions. interiorIntersects(Geometry a, Geometry b)static GeometryConstructionFunctions. interiorPoint(Geometry g)static GeometrySelectionFunctions. interiorPointWithin(Geometry a, Geometry mask)static GeometryLineSegmentFunctions. intersection(Geometry g1, Geometry g2)static GeometryOverlayCommonBitsRemovedFunctions. intersection(Geometry a, Geometry b)static GeometryOverlayEnhancedPrecisionFunctions. intersection(Geometry a, Geometry b)static GeometryOverlayFunctions. intersection(Geometry a, Geometry b)static GeometryOverlayNGFunctions. intersection(Geometry a, Geometry b)static GeometryOverlayNGOptFunctions. intersection(Geometry a, Geometry b)static GeometryOverlayNGRobustFunctions. intersection(Geometry a, Geometry b)static GeometryOverlayNGSnappingFunctions. intersection(Geometry a, Geometry b, double tolerance)static GeometryOverlayNGSRFunctions. intersection(Geometry a, Geometry b, double scaleFactor)static GeometryOverlayNGStrictFunctions. intersection(Geometry a, Geometry b)static GeometryOverlayNoSnapFunctions. intersection(Geometry a, Geometry b)static intNodingFunctions. intersectionCount(Geometry geom)static GeometryLineSegmentFunctions. intersectionDD(Geometry g1, Geometry g2)static GeometryOverlayNGTestFunctions. intersectionIsValid(Geometry a, Geometry b)static GeometryOverlayNGTestFunctions. intersectionNoOpt(Geometry a, Geometry b)static GeometryOverlayNGTestFunctions. intersectionNoValid(Geometry a, Geometry b)static GeometryOverlayNGOptFunctions. intersectionOrigClassic(Geometry a, Geometry b)Use spatial predicates as a filter in front of intersection.static GeometryOverlayNGOptFunctions. intersectionOrigPrep(Geometry a, Geometry b)Use prepared geometry spatial predicates as a filter in front of intersection, with the first operand prepared.static GeometryOverlayNGOptFunctions. intersectionOrigPrepNoCache(Geometry a, Geometry b)static GeometryOverlayNGOptFunctions. intersectionPrep(Geometry a, Geometry b)Using auto slows things down quite a bit (due to need to scan to find scale factor), so not recommended.static GeometryOverlayNGOptFunctions. intersectionPrepNoCache(Geometry a, Geometry b)static GeometryOverlayNGOptFunctions. intersectionPrepSR(Geometry a, Geometry b, double scaleFactor)static GeometryOverlayNGOptFunctions. intersectionSR(Geometry a, Geometry b, double scaleFactor)static GeometryOverlayNGTestFunctions. intersectionSRNoOpt(Geometry a, Geometry b, double scaleFactor)static booleanLineSegmentFunctions. intersects(Geometry g1, Geometry g2)static GeometrySelectionFunctions. intersects(Geometry a, Geometry mask)static GeometrySelectionNGFunctions. intersects(Geometry a, Geometry mask)static booleanSpatialPredicateFunctions. intersects(Geometry a, Geometry b)static booleanSpatialPredicateNGFunctions. intersects(Geometry a, Geometry b)static GeometrySelectionFunctions. intersectsPrep(Geometry a, Geometry mask)static GeometrySelectionNGFunctions. intersectsPrep(Geometry a, Geometry mask)static GeometrySelectionFunctions. invalid(Geometry a)static GeometryValidationFunctions. invalidGeoms(Geometry g)static GeometryValidationFunctions. invalidLocations(Geometry g)Validates all geometries in a collection independently.static booleanOrientationFunctions. isCCW(Geometry g)static booleanGeometryFunctions. isClosed(Geometry g)static booleanGeometryFunctions. isEmpty(Geometry g)static booleanNodingFunctions. isNodingValid(Geometry geom)static booleanPointLocationFunctions. isPointInRing(Geometry g1, Geometry g2)static booleanGeometryFunctions. isRectangle(Geometry g)static booleanNodingFunctions. isSegmentNodingValid(Geometry geom)static booleanGeometryFunctions. isSimple(Geometry g)static booleanValidationFunctions. isSimple(Geometry geom)static booleanGeometryFunctions. isValid(Geometry g)static booleanValidationFunctions. isValidAllowInvertedRing(Geometry g)static booleanDistanceFunctions. isWithinDistance(Geometry a, Geometry b, double dist)static booleanDistanceFunctions. isWithinDistanceIndexed(Geometry a, Geometry b, double distance)static GeometryTriangulatePolyFunctions. joinHoles(Geometry geom)static StringJTSFunctions. jtsVersion(Geometry g)static GeometrySpatialIndexFunctions. kdTreeGraph(Geometry geom)static GeometrySpatialIndexFunctions. kdTreeGraphSeed(Geometry geom)static GeometrySpatialIndexFunctions. kdTreeQuery(Geometry pts, Geometry queryEnv, double tolerance)static GeometrySpatialIndexFunctions. kdTreeQueryCached(Geometry pts, Geometry queryEnv, double tolerance)static GeometrySpatialIndexFunctions. kdTreeQueryRepeated(Geometry pts, Geometry queryEnv, double tolerance)static GeometrySpatialIndexFunctions. kdTreeSplits(Geometry geom)static GeometrySpatialIndexFunctions. kdTreeSplitsSeed(Geometry geom)static GeometryCreateFractalShapeFunctions. kochSnowflake(Geometry g, int n)static GeometryLabellingFunctions. labelPoint(Geometry g)static GeometryLabellingFunctions. labelPointConstrained(Geometry g, Geometry con)static GeometryConstructionFunctions. largestEmptyCircle(Geometry obstacles, Geometry boundary, double tolerance)static GeometryConstructionFunctions. largestEmptyCircleCenter(Geometry obstacles, Geometry boundary, double tolerance)static GeometryConstructionFunctions. largestEmptyCircleRadius(Geometry obstacles, Geometry boundary, double tolerance)static doubleGeometryFunctions. length(Geometry g)static GeometryUserDataFunctions. length(Geometry g)static GeometrySelectionFunctions. lengthGreaterThan(Geometry a, double minLen)static GeometrySelectionFunctions. lengthLessThan(Geometry a, double maxLen)static GeometrySelectionFunctions. lengthZero(Geometry a)static GeometryOverlayNGTestFunctions. limitLine(Geometry line, Geometry box)static GeometryLineSegmentFunctions. lineIntersection(Geometry g1, Geometry g2)static GeometryLineSegmentFunctions. lineIntersectionDD(Geometry g1, Geometry g2)static GeometryLineSegmentFunctions. lineSegmentIntersection(Geometry g1, Geometry g2)static GeometryConversionFunctions. lineToPolygon(Geometry g)static GeometryJTSFunctions. logoBuffer(Geometry g, double distance)static GeometryJTSFunctions. logoLines(Geometry g)static GeometryConstructionFunctions. maximumDiameter(Geometry g)static doubleConstructionFunctions. maximumDiameterLength(Geometry g)static GeometryConstructionFunctions. maximumInscribedCircle(Geometry g, double tolerance)static GeometryConstructionFunctions. maximumInscribedCircleCenter(Geometry g, double tolerance)static GeometryConstructionFunctions. maximumInscribedCircleRadius(Geometry g, double tolerance)static doubleConstructionFunctions. maximumInscribedCircleRadiusLen(Geometry g, double tolerance)static GeometryNodingFunctions. MCIndexNoding(Geometry geom, Geometry geom2)static GeometryNodingFunctions. MCIndexNodingWithPrecision(Geometry geom, Geometry geom2, double scaleFactor)static GeometryLineHandlingFunctions. mergeLines(Geometry g)static doublePrecisionFunctions. minClearance(Geometry g)static doubleTestCaseGeometryFunctions. minClearance(Geometry g)static GeometryPrecisionFunctions. minClearanceLine(Geometry g)static GeometryTestCaseGeometryFunctions. minClearanceLine(Geometry g)static doublePrecisionFunctions. minClearanceSimple(Geometry g)static GeometryPrecisionFunctions. minClearanceSimpleLine(Geometry g)static GeometryConstructionFunctions. minimumAreaRectangle(Geometry g)static GeometryConstructionFunctions. minimumBoundingCircle(Geometry g)static doubleConstructionFunctions. minimumBoundingCircleDiameterLen(Geometry g)static GeometryConstructionFunctions. minimumDiameter(Geometry g)static doubleConstructionFunctions. minimumDiameterLength(Geometry g)static GeometryConstructionFunctions. minimumDiameterRectangle(Geometry g)static GeometrySpatialIndexFunctions. monotoneChains(Geometry geom)static GeometryCreateFractalShapeFunctions. mortonCurve(Geometry g, int n)static GeometryCreateFractalShapeFunctions. mortonCurveAtLevel(Geometry g, int level)static GeometryDistanceFunctions. nearestPoints(Geometry a, Geometry b)static GeometryDistanceFunctions. nearestPointsIndexed(Geometry a, Geometry b)static GeometryDistanceFunctions. nearestPointsIndexedEachB(Geometry a, Geometry b)static GeometryCreateShapeFunctions. nGon(Geometry g, int sides)static GeometryValidationFunctions. nonSimpleAllPoints(Geometry geom)static GeometryValidationFunctions. nonSimpleEndpoints(Geometry geom)static GeometryValidationFunctions. nonSimplePoint(Geometry geom)static GeometryGeometryFunctions. normalize(Geometry g)static GeometryUserDataFunctions. numPoints(Geometry g)static GeometryConstructionFunctions. octagonalEnvelope(Geometry g)static GeometryOffsetCurveFunctions. offsetCurve(Geometry geom, double distance)static GeometryOffsetCurveFunctions. offsetCurveBoth(Geometry geom, double distance)static GeometryOffsetCurveFunctions. offsetCurveBothWithParams(Geometry geom, Double distance, Integer quadrantSegments, Integer capStyle, Integer joinStyle, Double mitreLimit)static GeometryOffsetCurveFunctions. offsetCurveJoined(Geometry geom, double distance)static GeometryOffsetCurveFunctions. offsetCurveWithParams(Geometry geom, Double distance, Integer quadrantSegments, Integer capStyle, Integer joinStyle, Double mitreLimit)static intOrientationFPFunctions. orientationIndex(Geometry segment, Geometry ptGeom)static intOrientationFunctions. orientationIndex(Geometry segment, Geometry ptGeom)static GeometrySimplificationFunctions. outerPolygonHullByAreaDelta(Geometry geom, double areaFrac)static GeometrySimplificationFunctions. outerPolygonHullByVertexFrac(Geometry geom, double vertexFrac)static booleanSpatialPredicateFunctions. overlaps(Geometry a, Geometry b)static booleanSpatialPredicateNGFunctions. overlaps(Geometry a, Geometry b)static GeometryPolygonOverlayFunctions. overlay(Geometry g1, Geometry g2)static booleanOverlayNGRobustFunctions. overlayAreaTest(Geometry a, Geometry b)static GeometryPolygonOverlayFunctions. overlayIterSnap(Geometry g1, Geometry g2, double snapTol)static GeometryPolygonOverlayFunctions. overlaySR(Geometry g1, Geometry g2, double scale)static GeometryTriangleFunctions. perpendicularBisectors(Geometry g)static GeometryCreateShapeFunctions. pointFieldCentroidStar(Geometry ptsGeom)static GeometryCreateShapeFunctions. pointFieldStar(Geometry ptsGeom, Geometry centrePt)static GeometryConversionFunctions. pointsToLine(Geometry g)static GeometryPolygonizeFunctions. polygonize(Geometry g)static GeometryPolygonizeFunctions. polygonizeAllErrors(Geometry g)static GeometryPolygonizeFunctions. polygonizeCutEdges(Geometry g)static GeometryPolygonizeFunctions. polygonizeDangles(Geometry g)static GeometryPolygonizeFunctions. polygonizeInvalidRingLines(Geometry g)static GeometryPolygonizeFunctions. polygonizeValidPolygonal(Geometry g)static booleanPreparedGeometryFunctions. preparedContains(Geometry g1, Geometry g2)static booleanPreparedGeometryFunctions. preparedContainsProperly(Geometry g1, Geometry g2)static booleanPreparedGeometryFunctions. preparedCovers(Geometry g1, Geometry g2)static booleanPreparedGeometryFunctions. preparedIntersects(Geometry g1, Geometry g2)static GeometryLinearReferencingFunctions. project(Geometry g, Geometry g2)static doubleLinearReferencingFunctions. projectIndex(Geometry g, Geometry g2)static GeometrySpatialIndexFunctions. quadTreeQuery(Geometry geoms, Geometry queryEnv)static GeometryCreateRandomShapeFunctions. randomLineString(Geometry g, int nPts)static GeometryCreateRandomShapeFunctions. randomPoints(Geometry g, int nPts)static GeometryCreateRandomShapeFunctions. randomPointsInGrid(Geometry g, int nPts)static GeometryCreateRandomShapeFunctions. randomPointsInGridCircles(Geometry g, int nPts)static GeometryCreateRandomShapeFunctions. randomPointsInGridWithGutter(Geometry g, int nPts, double gutterFraction)static GeometryCreateRandomShapeFunctions. randomPointsInPolygon(Geometry g, int nPts)static GeometryCreateRandomShapeFunctions. randomPointsInTriangle(Geometry g, int nPts)static GeometryCreateRandomShapeFunctions. randomRadialPoints(Geometry g, int nPts)static GeometryCreateRandomShapeFunctions. randomRectilinearWalk(Geometry g, int nPts)static GeometryCreateRandomShapeFunctions. randomSegments(Geometry g, int nPts)static GeometryCreateRandomShapeFunctions. randomSegmentsInGrid(Geometry g, int nPts)static GeometryCreateRandomShapeFunctions. randomSegmentsRectilinear(Geometry g, int nPts)static GeometryOffsetCurveFunctions. rawCurve(Geometry geom, double distance)static GeometryOffsetCurveFunctions. rawCurveWithParams(Geometry geom, Double distance, Integer quadrantSegments, Integer capStyle, Integer joinStyle, Double mitreLimit)static GeometryOverlayNGSRFunctions. reducePrecision(Geometry a, double scaleFactor)static GeometryPrecisionFunctions. reducePrecision(Geometry geom, double scaleFactor)static GeometryPrecisionFunctions. reducePrecisionKeepCollapsed(Geometry geom, double scaleFactor)static GeometryPrecisionFunctions. reducePrecisionPointwise(Geometry geom, double scaleFactor)static GeometryAffineTransformationFunctions. reflectInX(Geometry g)static GeometryAffineTransformationFunctions. reflectInY(Geometry g)static GeometryLineSegmentFunctions. reflectPoint(Geometry g1, Geometry g2)static booleanSpatialPredicateFunctions. relate(Geometry a, Geometry b, String mask)static booleanSpatialPredicateNGFunctions. relate(Geometry a, Geometry b, String mask)static StringSpatialPredicateFunctions. relateEndpoint(Geometry a, Geometry b)static StringSpatialPredicateNGFunctions. relateEndpoint(Geometry a, Geometry b)static StringSpatialPredicateFunctions. relateMatrix(Geometry a, Geometry b)static StringSpatialPredicateNGFunctions. relateMatrix(Geometry a, Geometry b)static StringSpatialPredicateFunctions. relateMonoValent(Geometry a, Geometry b)static StringSpatialPredicateNGFunctions. relateMonoValent(Geometry a, Geometry b)static StringSpatialPredicateFunctions. relateMultiValent(Geometry a, Geometry b)static StringSpatialPredicateNGFunctions. relateMultiValent(Geometry a, Geometry b)static GeometrySelectionFunctions. relatePattern(Geometry a, Geometry mask, String pattern)static GeometrySelectionNGFunctions. relatePattern(Geometry a, Geometry mask, String pattern)static GeometrySelectionNGFunctions. relatePatternPrep(Geometry a, Geometry mask, String pattern)static GeometryGeometryFunctions. reverse(Geometry g)static GeometryCreateRandomShapeFunctions. robertsPoints(Geometry geom, int nPts)Creates a set of quasi-random 2D points using the Roberts recurrences.static GeometryAffineTransformationFunctions. rotate(Geometry g, double angle)static GeometryAffineTransformationFunctions. rotateAroundPoint(Geometry g, Geometry pt, double angle)static GeometryAffineTransformationFunctions. rotateByPiMultiple(Geometry g, double multipleOfPi)static GeometryAffineTransformationFunctions. rotateByPiMultipleAroundPoint(Geometry g, Geometry pt, double multipleOfPi)static GeometryAffineTransformationFunctions. scale(Geometry g, double scale)static GeometryBufferByUnionFunctions. sectionBuffers(Geometry g, double distance, int maxChainSize)static GeometrySelectionFunctions. select(Geometry geom, org.locationtech.jtstest.function.GeometryPredicate pred)static GeometryLineHandlingFunctions. sequenceLines(Geometry g)static voidFunctionsUtil. showIndicator(Geometry geom)static voidFunctionsUtil. showIndicator(Geometry geom, Color lineClr)static GeometryCreateFractalShapeFunctions. sierpinskiCarpet(Geometry g, int n)static GeometryCoverageFunctions. simplify(Geometry coverage, double tolerance)static GeometrySimplificationFunctions. simplifyDP(Geometry g, double distance)static GeometryCoverageFunctions. simplifyInner(Geometry coverage, double tolerance)static GeometryCoverageFunctions. simplifyInOut(Geometry coverage, double toleranceInner, double toleranceOuter)static GeometryCoverageFunctions. simplifyOuter(Geometry coverage, double tolerance)static GeometryCoverageFunctions. simplifyRemoveRings(Geometry coverage, double tolerance, double factor)static GeometryCoverageFunctions. simplifySharp(Geometry coverage, double tolerance, double weight)static GeometryCoverageFunctions. simplifyTolerances(Geometry coverage, String tolerancesCSV)static GeometrySimplificationFunctions. simplifyTP(Geometry g, double distance)static GeometrySimplificationFunctions. simplifyVW(Geometry g, double tolerance)static GeometryCreateShapeFunctions. sineStar(Geometry g, int nArms, int nPts)static GeometryCollectionDiffFunctions. singleSegments(Geometry a)static GeometryBufferFunctions. singleSidedBuffer(Geometry geom, double distance)static GeometryBufferFunctions. singleSidedBufferCurve(Geometry geom, double distance)static GeometrySnappingFunctions. snapAtoB(Geometry g, Geometry g2, double distance)static GeometryNodingFunctions. snappingNoder(Geometry geom, Geometry geom2, double snapDistance)static GeometryNodingFunctions. snapRoundingNoder(Geometry geom, Geometry geom2, double scaleFactor)static GeometrySnappingFunctions. snapToSelfAndClean(Geometry g, double distance)static GeometrySortingFunctions. sortByArea(Geometry g)static GeometrySortingFunctions. sortByHilbertCode(Geometry g)static GeometrySortingFunctions. sortByLength(Geometry g)static GeometrySortingFunctions. sortByMinX(Geometry g)static GeometrySortingFunctions. sortByMinY(Geometry g)static GeometrySortingFunctions. sortByMortonCode(Geometry g)static GeometryCreateShapeFunctions. spiral(Geometry geom, int nCycles, int quadrantSegs)static GeometryCreateShapeFunctions. squircle(Geometry g, int nPts)static doubleGeometryFunctions. SRID(Geometry g)static GeometryAffineTransformationFunctions. stretchToViewport(Geometry g, Geometry gViewport)static GeometrySpatialIndexFunctions. strTreeBounds(Geometry geoms)static GeometrySpatialIndexFunctions. strTreeNN(Geometry geoms, Geometry geom)static GeometrySpatialIndexFunctions. strTreeNNInSet(Geometry geoms)static GeometrySpatialIndexFunctions. strTreeNNk(Geometry geoms, Geometry geom, int k)static GeometrySpatialIndexFunctions. strTreeQuery(Geometry geoms, Geometry queryEnv)static GeometrySpatialIndexFunctions. strTreeQueryCached(Geometry geoms, Geometry queryEnv)static GeometryCreateShapeFunctions. supercircle(Geometry g, int nPts, double pow)static GeometryCreateShapeFunctions. supercircle3(Geometry g, int nPts)static GeometryCreateShapeFunctions. supercircle5(Geometry g, int nPts)static GeometryCreateShapeFunctions. supercirclePoint5(Geometry g, int nPts)static GeometryOverlayCommonBitsRemovedFunctions. symDifference(Geometry a, Geometry b)static GeometryOverlayEnhancedPrecisionFunctions. symDifference(Geometry a, Geometry b)static GeometryOverlayFunctions. symDifference(Geometry a, Geometry b)static GeometryOverlayNGFunctions. symDifference(Geometry a, Geometry b)static GeometryOverlayNGRobustFunctions. symDifference(Geometry a, Geometry b)static GeometryOverlayNGSRFunctions. symDifference(Geometry a, Geometry b, double scaleFactor)static GeometryOverlayNGStrictFunctions. symDifference(Geometry a, Geometry b)static GeometryOverlayNoSnapFunctions. symDifference(Geometry a, Geometry b)static Geometry[]FunctionsUtil. toGeometryArray(Geometry a, Geometry b)static GeometryConversionFunctions. toGeometryCollection(Geometry g1, Geometry g2)static GeometryConversionFunctions. toLines(Geometry g1, Geometry g2)static GeometryConversionFunctions. toMultiPolygon(Geometry g1, Geometry g2)static GeometryConversionFunctions. toPoints(Geometry g1, Geometry g2)static GeometrySelectionFunctions. touches(Geometry a, Geometry mask)static GeometrySelectionNGFunctions. touches(Geometry a, Geometry mask)static booleanSpatialPredicateFunctions. touches(Geometry a, Geometry b)static booleanSpatialPredicateNGFunctions. touches(Geometry a, Geometry b)static GeometrySelectionNGFunctions. touchesPrep(Geometry a, Geometry mask)static GeometryAffineTransformationFunctions. transformByBaseline(Geometry g, Geometry destBaseline)static GeometryAffineTransformationFunctions. transformByVectors(Geometry g, Geometry control)static GeometryAffineTransformationFunctions. transformToViewport(Geometry g, Geometry gViewport)static GeometryAffineTransformationFunctions. translate(Geometry g, double dx, double dy)static GeometryAffineTransformationFunctions. translateCentreToOrigin(Geometry g)static GeometryAffineTransformationFunctions. translateToOrigin(Geometry g)static GeometryTriangulatePolyFunctions. triangulate(Geometry geom)static GeometryOverlayFunctions. unaryUnion(Geometry a)static GeometryOverlayNGFunctions. unaryUnion(Geometry a)static GeometryOverlayNGRobustFunctions. unaryUnion(Geometry a)static GeometryOverlayNGSnappingFunctions. unaryUnion(Geometry a, double tolerance)static GeometryOverlayNGSRFunctions. unaryUnion(Geometry a, double scaleFactor)static GeometryOverlayNoSnapFunctions. unaryUnion(Geometry a)static GeometryOverlayNGSnappingFunctions. unaryUnionNoValid(Geometry a, double tolerance)static GeometryCoverageFunctions. union(Geometry coverage)static GeometryOverlayCommonBitsRemovedFunctions. union(Geometry a, Geometry b)static GeometryOverlayEnhancedPrecisionFunctions. union(Geometry a, Geometry b)static GeometryOverlayFunctions. union(Geometry a, Geometry b)static GeometryOverlayNGFunctions. union(Geometry a, Geometry b)static GeometryOverlayNGRobustFunctions. union(Geometry a, Geometry b)static GeometryOverlayNGSnappingFunctions. union(Geometry a, Geometry b, double tolerance)static GeometryOverlayNGSRFunctions. union(Geometry a, Geometry b, double scaleFactor)static GeometryOverlayNGStrictFunctions. union(Geometry a, Geometry b)static GeometryOverlayNoSnapFunctions. union(Geometry a, Geometry b)static doubleOverlayNGRobustFunctions. unionArea(Geometry a)static GeometryOverlayNGTestFunctions. unionClassicNoderNoValid(Geometry a, Geometry b)static GeometryOverlayNGFunctions. unionCoverage(Geometry geom)static GeometryOverlayNGTestFunctions. unionIntSymDiff(Geometry a, Geometry b, double scaleFactor)static GeometryOverlayNGTestFunctions. unionIntSymDiffOriginal(Geometry a, Geometry b)static doubleOverlayNGRobustFunctions. unionLength(Geometry a)static GeometryOverlayFunctions. unionUsingGeometryCollection(Geometry a, Geometry b)static GeometrySelectionFunctions. valid(Geometry a)static GeometryCoverageFunctions. validate(Geometry geom)static GeometryCoverageFunctions. validatePolygon(Geometry geom, Geometry adjacentPolys)static GeometryCoverageFunctions. validatePolygonWithGaps(Geometry geom, Geometry adjacentPolys, double gapWidth)static GeometryCoverageFunctions. validateWithGaps(Geometry geom, double gapWidth)static GeometryBufferFunctions. variableBuffer(Geometry line, double startDist, double endDist)static GeometryBufferFunctions. variableBufferMid(Geometry line, double startDist, double midDist)static GeometryTriangulationFunctions. voronoiDiagram(Geometry sitesGeom, Geometry clipGeom)static GeometryTriangulationFunctions. voronoiDiagramWithData(Geometry sitesGeom, Geometry clipGeom)static GeometryTriangulationFunctions. voronoiRelaxation(Geometry sitesGeom, Geometry clipGeom, int nIter)static GeometrySelectionFunctions. within(Geometry a, Geometry mask)static booleanSpatialPredicateFunctions. within(Geometry a, Geometry b)static booleanSpatialPredicateNGFunctions. within(Geometry a, Geometry b)static GeometrySelectionFunctions. withinDistance(Geometry a, Geometry mask, double maximumDistance)static GeometrySelectionFunctions. withinDistanceIndexed(Geometry a, Geometry mask, double maximumDistance)static StringWriterFunctions. writeGeoJSON(Geometry g)static StringWriterFunctions. writeGeoJSONFixDecimal(Geometry g, int numDecimals)static StringWriterFunctions. writeGML(Geometry geom)static StringWriterFunctions. writeKML(Geometry geom)static StringWriterFunctions. writeOra(Geometry g)static StringWriterFunctions. writeSVG(Geometry a, Geometry b)static StringWriterFunctions. writeWKB(Geometry g) -
Uses of Geometry in org.locationtech.jtstest.geomfunction
Methods in org.locationtech.jtstest.geomfunction with parameters of type Geometry Modifier and Type Method Description abstract ObjectBaseGeometryFunction. invoke(Geometry geom, Object[] args)ObjectFilterGeometryFunction. invoke(Geometry geom, Object[] args)ObjectGeometryFunction. invoke(Geometry geom, Object[] args)Invokes this function.ObjectRepeaterGeometryFunction. invoke(Geometry geom, Object[] args)ObjectSpreaderGeometryFunction. invoke(Geometry geom, Object[] args)ObjectStaticMethodGeometryFunction. invoke(Geometry g, Object[] arg)Constructors in org.locationtech.jtstest.geomfunction with parameters of type Geometry Constructor Description GeometryFunctionInvocation(GeometryFunction function, Geometry target, Object[] args) -
Uses of Geometry in org.locationtech.jtstest.geomop
Methods in org.locationtech.jtstest.geomop that return Geometry Modifier and Type Method Description static GeometryTestCaseGeometryFunctions. bufferMitredJoin(Geometry g, double distance)static GeometryTestCaseGeometryFunctions. densify(Geometry g, double distance)static GeometryTestCaseGeometryFunctions. differenceNG(Geometry geom0, Geometry geom1)static GeometryTestCaseGeometryFunctions. differenceSR(Geometry geom0, Geometry geom1, double scale)static GeometryTestCaseGeometryFunctions. intersectionNG(Geometry geom0, Geometry geom1)static GeometryTestCaseGeometryFunctions. intersectionSR(Geometry geom0, Geometry geom1, double scale)static GeometryOverlayValidatedGeometryOperation. invokeGeometryOverlayMethod(int opCode, Geometry g0, Geometry g1)static GeometryTestCaseGeometryFunctions. minClearanceLine(Geometry g)static GeometryTestCaseGeometryFunctions. polygonize(Geometry g)static GeometryTestCaseGeometryFunctions. polygonizeValidPolygonal(Geometry g)static GeometryTestCaseGeometryFunctions. reducePrecision(Geometry g, double scaleFactor)static GeometryTestCaseGeometryFunctions. simplifyDP(Geometry g, double distance)static GeometryTestCaseGeometryFunctions. simplifyTP(Geometry g, double distance)static GeometryTestCaseGeometryFunctions. symDifferenceNG(Geometry geom0, Geometry geom1)static GeometryTestCaseGeometryFunctions. symDifferenceSR(Geometry geom0, Geometry geom1, double scale)static GeometryTestCaseGeometryFunctions. unionNG(Geometry geom0, Geometry geom1)static GeometryTestCaseGeometryFunctions. unionSr(Geometry geom0, Geometry geom1, double scale)Methods in org.locationtech.jtstest.geomop with parameters of type Geometry Modifier and Type Method Description static doubleOverlayValidatedGeometryOperation. areaDiff(Geometry g0, Geometry g1)static GeometryTestCaseGeometryFunctions. bufferMitredJoin(Geometry g, double distance)static GeometryTestCaseGeometryFunctions. densify(Geometry g, double distance)static GeometryTestCaseGeometryFunctions. differenceNG(Geometry geom0, Geometry geom1)static GeometryTestCaseGeometryFunctions. differenceSR(Geometry geom0, Geometry geom1, double scale)static GeometryTestCaseGeometryFunctions. intersectionNG(Geometry geom0, Geometry geom1)static GeometryTestCaseGeometryFunctions. intersectionSR(Geometry geom0, Geometry geom1, double scale)abstract ObjectBaseGeometryFunction. invoke(Geometry geom, Object[] args)ResultBufferValidatedGeometryOperation. invoke(String opName, Geometry geometry, Object[] args)Invokes the named operationObjectGeometryFunction. invoke(Geometry geom, Object[] args)Invokes this function.ResultGeometryFunctionOperation. invoke(String opName, Geometry geometry, Object[] args)ResultGeometryMethodOperation. invoke(String opName, Geometry geometry, Object[] args)ResultGeometryOperation. invoke(String opName, Geometry geometry, Object[] args)Invokes an operation on aGeometry.ResultLoggingGeometryOperation. invoke(String opName, Geometry geometry, Object[] args)ResultOverlayValidatedGeometryOperation. invoke(String opName, Geometry geometry, Object[] args)Invokes the named operationResultPreparedGeometryOperation. invoke(String opName, Geometry geometry, Object[] args)Invokes the named operationObjectStaticMethodGeometryFunction. invoke(Geometry g, Object[] arg)ResultTeeGeometryOperation. invoke(String opName, Geometry geometry, Object[] args)Invokes the named operationstatic GeometryOverlayValidatedGeometryOperation. invokeGeometryOverlayMethod(int opCode, Geometry g0, Geometry g1)ResultOverlayValidatedGeometryOperation. invokeValidatedOverlayOp(int opCode, Geometry g0, Object[] args)Invokes an overlay op, optionally using snapping, and optionally validating the result.booleanGeometryMatcher. match(Geometry a, Geometry b)booleanNormalizedGeometryMatcher. match(Geometry a, Geometry b)static doubleTestCaseGeometryFunctions. minClearance(Geometry g)static GeometryTestCaseGeometryFunctions. minClearanceLine(Geometry g)static booleanTestCaseGeometryFunctions. overlayAreaTest(Geometry a, Geometry b)static GeometryTestCaseGeometryFunctions. polygonize(Geometry g)static GeometryTestCaseGeometryFunctions. polygonizeValidPolygonal(Geometry g)static GeometryTestCaseGeometryFunctions. reducePrecision(Geometry g, double scaleFactor)protected voidPreparedGeometryTeeOperation. runTeeOp(String opName, Geometry geometry, Object[] args)protected abstract voidTeeGeometryOperation. runTeeOp(String opName, Geometry geometry, Object[] args)static GeometryTestCaseGeometryFunctions. simplifyDP(Geometry g, double distance)static GeometryTestCaseGeometryFunctions. simplifyTP(Geometry g, double distance)static GeometryTestCaseGeometryFunctions. symDifferenceNG(Geometry geom0, Geometry geom1)static GeometryTestCaseGeometryFunctions. symDifferenceSR(Geometry geom0, Geometry geom1, double scale)static doubleTestCaseGeometryFunctions. unionArea(Geometry geom)static doubleTestCaseGeometryFunctions. unionLength(Geometry geom)static GeometryTestCaseGeometryFunctions. unionNG(Geometry geom0, Geometry geom1)static GeometryTestCaseGeometryFunctions. unionSr(Geometry geom0, Geometry geom1, double scale) -
Uses of Geometry in org.locationtech.jtstest.test
Methods in org.locationtech.jtstest.test that return Geometry Modifier and Type Method Description GeometryTestCase. getExpectedBoundary()GeometryTestCase. getExpectedConvexHull()GeometryTestCase. getExpectedDifference()GeometryTestCase. getExpectedIntersection()GeometryTestCase. getExpectedSymDifference()GeometryTestCase. getExpectedUnion()Geometry[]TestCase. getGeometries()GeometryTestable. getGeometry(int index)GeometryTestCase. getGeometry(int index)Methods in org.locationtech.jtstest.test with parameters of type Geometry Modifier and Type Method Description voidTestCase. setExpectedBoundary(Geometry expectedBoundary)voidTestCase. setExpectedConvexHull(Geometry expectedConvexHull)voidTestCase. setExpectedDifference(Geometry expectedDifference)voidTestCase. setExpectedIntersection(Geometry expectedIntersection)voidTestCase. setExpectedSymDifference(Geometry expectedSymDifference)voidTestCase. setExpectedUnion(Geometry expectedUnion)voidTestable. setGeometry(int index, Geometry g)voidTestCase. setGeometry(int index, Geometry g) -
Uses of Geometry in org.locationtech.jtstest.testbuilder
Methods in org.locationtech.jtstest.testbuilder that return Geometry Modifier and Type Method Description GeometryGeometryTreePanel. getSelectedGeometry()Gets currently selected geometry, if any.Methods in org.locationtech.jtstest.testbuilder with parameters of type Geometry Modifier and Type Method Description voidGeometryEditPanel. draw(Geometry geom, Color lineClr, Color fillClr)voidGeometryEditPanel. flash(Geometry g)voidJTSTestBuilderFrame. inspectGeometry(String tag, Geometry geometry)static voidTestBuilderDialogs. inspectGeometry(JTSTestBuilderFrame tbFrame, int geomIndex, Geometry geometry)voidGeometryTreePanel. populate(Geometry geom, int source)voidGeometryTreePanel. populate(Geometry geom, int source, Comparator comp)voidGeometryInspectorDialog. setGeometry(int geomIndex, Geometry geometry)voidInspectorPanel. setGeometry(String tag, Geometry geom, int source, boolean isEditable)voidWKTPanel. setText(Geometry g, int geomIndex)voidGeometryEditPanel. zoom(Geometry geom)Constructors in org.locationtech.jtstest.testbuilder with parameters of type Geometry Constructor Description GeometryTreeModel(Geometry geom, int source, Comparator comp) -
Uses of Geometry in org.locationtech.jtstest.testbuilder.controller
Methods in org.locationtech.jtstest.testbuilder.controller that return Geometry Modifier and Type Method Description GeometryJTSTestBuilderController. getGeometryA()GeometryJTSTestBuilderController. getGeometryB()Methods in org.locationtech.jtstest.testbuilder.controller with parameters of type Geometry Modifier and Type Method Description voidJTSTestBuilderController. addTestCase(Geometry[] geom, String name)voidJTSTestBuilderController. extractComponentsToTestCase(Geometry aoi, boolean isSegments)voidJTSTestBuilderController. flash(Geometry geom)voidJTSTestBuilderController. indicatorShow(Geometry geom, Color lineClr)voidJTSTestBuilderController. inspectGeometry(String tag, Geometry geometry) -
Uses of Geometry in org.locationtech.jtstest.testbuilder.geom
Methods in org.locationtech.jtstest.testbuilder.geom that return Geometry Modifier and Type Method Description GeometryGeometryCombiner. addLineString(Geometry orig, Coordinate[] pts)GeometryGeometryCombiner. addPoint(Geometry orig, Coordinate pt)GeometryGeometryCombiner. addPolygonRing(Geometry orig, Coordinate[] pts)GeometryGeometryCombiner. combine(Geometry orig, Geometry geom)GeometryGeometryLocation. delete()static GeometryGeometryVertexDeleter. delete(Geometry geom, LineString line, int vertexIndex)static GeometryGeometryComponentDeleter. deleteComponent(Geometry geom, Geometry component)static GeometryGeometryBoxDeleter. deleteComponents(Geometry geom, Envelope env, boolean deleteIntersecting)static GeometryGeometryBoxDeleter. deleteComponentsAndVertices(Geometry geom, Envelope env)static GeometryGeometryBoxDeleter. deleteComponentsAndVertices(Geometry geom, Envelope env, boolean deleteIntersectingComponents)static GeometryGeometryBoxDeleter. deleteVertices(Geometry geom, Envelope env)static GeometrySegmentExtracter. extract(Geometry geom, Geometry aoi)GeometryGeometryLocation. getComponent()GeometrySegmentExtracter.SegmentExtracterFilter. getGeometry(GeometryFactory factory)GeometryGeometryLocation. insert()static GeometryGeometryVertexInserter. insert(Geometry geom, LineString line, int segIndex, Coordinate newVertex)static GeometryGeometryVertexMover. move(Geometry geom, Coordinate fromLoc, Coordinate toLoc)static GeometryGeometryCombiner. replace(Geometry parent, Geometry original, Geometry replacement)static GeometryGeometryComponentTransformer. transform(Geometry geom, Geometry component, AffineTransformation trans)static GeometryGeometryComponentTransformer. transform(Geometry geom, AffineTransformation trans)Methods in org.locationtech.jtstest.testbuilder.geom with parameters of type Geometry Modifier and Type Method Description GeometryGeometryCombiner. addLineString(Geometry orig, Coordinate[] pts)GeometryGeometryCombiner. addPoint(Geometry orig, Coordinate pt)GeometryGeometryCombiner. addPolygonRing(Geometry orig, Coordinate[] pts)static doubleGeometryUtil. area(Geometry geom)GeometryGeometryCombiner. combine(Geometry orig, Geometry geom)static GeometryGeometryVertexDeleter. delete(Geometry geom, LineString line, int vertexIndex)static GeometryGeometryComponentDeleter. deleteComponent(Geometry geom, Geometry component)static GeometryGeometryBoxDeleter. deleteComponents(Geometry geom, Envelope env, boolean deleteIntersecting)static GeometryGeometryBoxDeleter. deleteComponentsAndVertices(Geometry geom, Envelope env)static GeometryGeometryBoxDeleter. deleteComponentsAndVertices(Geometry geom, Envelope env, boolean deleteIntersectingComponents)static GeometryGeometryBoxDeleter. deleteVertices(Geometry geom, Envelope env)static GeometrySegmentExtracter. extract(Geometry geom, Geometry aoi)static ListGeometryCombiner. extractElements(Geometry geom, boolean skipEmpty)static CoordinateNearestPointFinder. findNearestPoint(Geometry geom, Coordinate pt, double tolerance)static Coordinate[]AdjacentVertexFinder. findVertices(Geometry geom, Coordinate testPt)List<GeometryLocation>ComponentLocater. getComponents(Geometry aoi)static List<GeometryLocation>ComponentLocater. getComponents(Geometry parentGeom, Coordinate queryPt, double tolerance)static CoordinateConstrainedInteriorPoint. getCoordinate(Polygon poly, Geometry constraint)static booleanGeometryUtil. hasArea(Geometry geom)static booleanGeometryUtil. hasLength(Geometry geom)static GeometryGeometryVertexInserter. insert(Geometry geom, LineString line, int segIndex, Coordinate newVertex)static GeometryLocationGeometryPointLocater. locate(Geometry geom, Coordinate testPt, double tolerance)static GeometryLocationGeometryPointLocater. locateNonVertexPoint(Geometry geom, Coordinate testPt, double tolerance)static GeometryLocationGeometryPointLocater. locateVertex(Geometry geom, Coordinate testPt, double tolerance)static CoordinateVertexLocater. locateVertex(Geometry geom, Coordinate testPt, double tolerance)static StringGeometryUtil. metricsSummary(Geometry g)static GeometryGeometryVertexMover. move(Geometry geom, Coordinate fromLoc, Coordinate toLoc)static GeometryGeometryCombiner. replace(Geometry parent, Geometry original, Geometry replacement)static StringGeometryUtil. structureSummary(Geometry g)static EnvelopeGeometryUtil. totalEnvelope(Geometry geom)Gets the envelope including all holes which might lie outside a polygon.static GeometryGeometryComponentTransformer. transform(Geometry geom, Geometry component, AffineTransformation trans)static GeometryGeometryComponentTransformer. transform(Geometry geom, AffineTransformation trans)Constructors in org.locationtech.jtstest.testbuilder.geom with parameters of type Geometry Constructor Description AdjacentVertexFinder(Geometry geom)ComponentLocater(Geometry parentGeom)FacetLocater(Geometry parentGeom)GeometryLocation(Geometry parent, Geometry component, int[] componentPath)GeometryLocation(Geometry parent, Geometry component, int[] componentPath, int segmentIndex, boolean isVertex, Coordinate pt)GeometryLocation(Geometry parent, Geometry component, int segmentIndex, boolean isVertex, Coordinate pt)GeometryLocation(Geometry parent, Geometry component, int index, Coordinate pt)GeometryPointLocater(Geometry geom)NearestPointFinder(Geometry geom)VertexLocater(Geometry geom) -
Uses of Geometry in org.locationtech.jtstest.testbuilder.io
Methods in org.locationtech.jtstest.testbuilder.io with parameters of type Geometry Modifier and Type Method Description StringXMLTestWriter. getTestXML(Geometry geometry, String opName, String[] arguments, boolean useWKT)static StringIOUtil. toGML(Geometry g)static StringIOUtil. toWKBHex(Geometry g)static StringIOUtil. toWKT(Geometry g, boolean isFormatted)StringHtmlSvgTestWriter. write(Geometry ga, Geometry gb, String name, String description)StringSVGTestWriter. write(Geometry ga, Geometry gb, String name, String description)static StringSVGTestWriter. writeSVG(Geometry ga, Geometry gb) -
Uses of Geometry in org.locationtech.jtstest.testbuilder.io.shapefile
Methods in org.locationtech.jtstest.testbuilder.io.shapefile that return Geometry Modifier and Type Method Description GeometryShapefile. next()Returns the next geometry in the shapefile streamGeometryMultiLineHandler. read(EndianDataInputStream file, GeometryFactory geometryFactory, int contentLength)GeometryMultiPointHandler. read(EndianDataInputStream file, GeometryFactory geometryFactory, int contentLength)GeometryPointHandler. read(EndianDataInputStream file, GeometryFactory geometryFactory, int contentLength)GeometryPolygonHandler. read(EndianDataInputStream file, GeometryFactory geometryFactory, int contentLength)GeometryShapeHandler. read(EndianDataInputStream file, GeometryFactory geometryFactory, int contentLength)Methods in org.locationtech.jtstest.testbuilder.io.shapefile with parameters of type Geometry Modifier and Type Method Description intMultiLineHandler. getLength(Geometry geometry)intMultiPointHandler. getLength(Geometry geometry)Calcuates the record length of this object.intPointHandler. getLength(Geometry geometry)Calcuates the record length of this object.intPolygonHandler. getLength(Geometry geometry)intShapeHandler. getLength(Geometry geometry)static ShapeHandlerShapefile. getShapeHandler(Geometry geom, int ShapeFileDimentions)static intShapefile. getShapeType(Geometry geom, int coordDimension) -
Uses of Geometry in org.locationtech.jtstest.testbuilder.model
Methods in org.locationtech.jtstest.testbuilder.model that return Geometry Modifier and Type Method Description GeometryLayerList. getComponent(Coordinate pt, double tolerance)Geometry[]LayerList. getComponents(Geometry aoi, boolean isSegments)GeometryTestRunnerTestCaseAdapter. getExpectedBoundary()GeometryTestRunnerTestCaseAdapter. getExpectedConvexHull()GeometryTestRunnerTestCaseAdapter. getExpectedDifference()GeometryTestRunnerTestCaseAdapter. getExpectedIntersection()GeometryTestRunnerTestCaseAdapter. getExpectedSymDifference()GeometryTestRunnerTestCaseAdapter. getExpectedUnion()Geometry[]TestCaseEdit. getGeometries()GeometryGeometryContainer. getGeometry()GeometryGeometryEditModel. getGeometry()GeometryGeometryEditModel. getGeometry(int i)GeometryIndexedGeometryContainer. getGeometry()GeometryLayer. getGeometry()GeometryListGeometryContainer. getGeometry()GeometryResultGeometryContainer. getGeometry()GeometryStaticGeometryContainer. getGeometry()GeometryTestCaseEdit. getGeometry(int i)GeometryTestRunnerTestCaseAdapter. getGeometry(int index)GeometryGeometryEditModel. getResult()GeometryTestCaseEdit. getResult()GeometryGeometryStretcherView. getStretchedGeometry(int index)GeometryUndoBuffer. peek()GeometryUndoBuffer. pop()GeometryTestBuilderModel. readGeometryFromClipboard()GeometryTestRunnerTestCaseAdapter. toGeometry(Test test)Methods in org.locationtech.jtstest.testbuilder.model with parameters of type Geometry Modifier and Type Method Description voidListGeometryContainer. add(Geometry geom)voidTestBuilderModel. addCase(Geometry[] geoms)voidTestBuilderModel. addCase(Geometry[] geoms, String name)voidTestBuilderModel. addIndicator(Geometry geom)Geometry[]LayerList. getComponents(Geometry aoi, boolean isSegments)StringTestBuilderModel. getResultDisplayString(Geometry g)static StringGeometryEditModel. getText(Geometry geom, int textType)voidUndoBuffer. pop(Geometry geometry)Pops the buffer if the top geometry is teh same as the given geometry.voidUndoBuffer. save(Geometry g)voidTestRunnerTestCaseAdapter. setExpectedBoundary(Geometry expectedBoundary)voidTestRunnerTestCaseAdapter. setExpectedCentroid(Geometry expected)voidTestRunnerTestCaseAdapter. setExpectedConvexHull(Geometry expectedConvexHull)voidTestRunnerTestCaseAdapter. setExpectedDifference(Geometry expectedDifference)voidTestRunnerTestCaseAdapter. setExpectedIntersection(Geometry expectedIntersection)voidTestRunnerTestCaseAdapter. setExpectedSymDifference(Geometry expectedSymDifference)voidTestRunnerTestCaseAdapter. setExpectedUnion(Geometry expectedUnion)voidGeometryEditModel. setGeometry(int i, Geometry g)voidGeometryEditModel. setGeometry(Geometry g)voidLayer. setGeometry(Geometry geom)voidStaticGeometryContainer. setGeometry(Geometry geom)voidTestCaseEdit. setGeometry(int i, Geometry geom)voidTestRunnerTestCaseAdapter. setGeometry(int index, Geometry g)voidTestCaseEdit. setResult(Geometry geom)static StringGeometryEditModel. toStringVeryLarge(Geometry g)Constructors in org.locationtech.jtstest.testbuilder.model with parameters of type Geometry Constructor Description StaticGeometryContainer(Geometry geometry)TestCaseEdit(Geometry[] geom)TestCaseEdit(Geometry[] geom, String name) -
Uses of Geometry in org.locationtech.jtstest.testbuilder.topostretch
Methods in org.locationtech.jtstest.testbuilder.topostretch that return Geometry Modifier and Type Method Description GeometryGeometryVerticesMover. move()static GeometryGeometryVerticesMover. move(Geometry geom, Map moves)Geometry[]TopologyStretcher. stretch(double nearnessTol, double stretchDistance)Geometry[]TopologyStretcher. stretch(double nearnessTol, double stretchDistance, Envelope mask)Methods in org.locationtech.jtstest.testbuilder.topostretch with parameters of type Geometry Modifier and Type Method Description static GeometryGeometryVerticesMover. move(Geometry geom, Map moves)Constructors in org.locationtech.jtstest.testbuilder.topostretch with parameters of type Geometry Constructor Description GeometryVerticesMover(Geometry geom, Map moves)TopologyStretcher(Geometry g)TopologyStretcher(Geometry g1, Geometry g2) -
Uses of Geometry in org.locationtech.jtstest.testbuilder.ui
Methods in org.locationtech.jtstest.testbuilder.ui with parameters of type Geometry Modifier and Type Method Description StringGeometryLocationsWriter. OLDwriteLocation(Geometry geom, Coordinate p, double tolerance)StringGeometryLocationsWriter. writeComponentLocation(Geometry geom, Coordinate p, double tolerance)StringGeometryLocationsWriter. writeFacetLocation(Geometry geom, Coordinate p, double tolerance)Constructors in org.locationtech.jtstest.testbuilder.ui with parameters of type Geometry Constructor Description GeometryTransferable(Geometry geom)GeometryTransferable(Geometry geom, boolean isFormatted) -
Uses of Geometry in org.locationtech.jtstest.testbuilder.ui.render
Fields in org.locationtech.jtstest.testbuilder.ui.render declared as Geometry Modifier and Type Field Description static GeometryOperationMonitorManager. indicatorMethods in org.locationtech.jtstest.testbuilder.ui.render with parameters of type Geometry Modifier and Type Method Description static voidGeometryPainter. paint(Graphics2D g, Viewport viewport, Geometry geometry, Style style)static voidGeometryPainter. paint(Geometry geometry, Viewport viewport, Graphics2D g, Color lineColor, Color fillColor)Paints a geometry onto a graphics context, using a given Viewport.static voidGeometryPainter. paint(Geometry geometry, Viewport viewport, Graphics2D g, Color lineColor, Color fillColor, Stroke stroke) -
Uses of Geometry in org.locationtech.jtstest.testbuilder.ui.style
Methods in org.locationtech.jtstest.testbuilder.ui.style with parameters of type Geometry Modifier and Type Method Description voidBasicStyle. paint(Geometry geom, Viewport viewport, Graphics2D g)voidComponentStyle. paint(Geometry geom, Viewport viewport, Graphics2D g)voidDataLabelStyle. paint(Geometry geom, Viewport viewport, Graphics2D g2d)voidLayerStyle. paint(Geometry geom, Viewport viewport, Graphics2D g)voidLineStringStyle. paint(Geometry geom, Viewport viewport, Graphics2D g)voidStyle. paint(Geometry geom, Viewport viewport, Graphics2D g)voidStyleGroup. paint(Geometry geom, Viewport viewport, Graphics2D g)voidStyleList. paint(Geometry geom, Viewport viewport, Graphics2D g)voidTintBandStyle. paint(Geometry geom, Viewport viewport, Graphics2D g2d)voidVertexLabelStyle. paint(Geometry geom, Viewport viewport, Graphics2D g)voidVertexStyle. paint(Geometry geom, Viewport viewport, Graphics2D g)protected abstract voidComponentStyle. paintComponent(Geometry geom, Viewport viewport, Graphics2D graphics) -
Uses of Geometry in org.locationtech.jtstest.testbuilder.ui.tools
Methods in org.locationtech.jtstest.testbuilder.ui.tools that return Geometry Modifier and Type Method Description protected GeometryBoxBandTool. getBox() -
Uses of Geometry in org.locationtech.jtstest.testrunner
Methods in org.locationtech.jtstest.testrunner that return Geometry Modifier and Type Method Description GeometryGeometryResult. getGeometry()GeometryTestCase. getGeometryA()GeometryTestCase. getGeometryB()Methods in org.locationtech.jtstest.testrunner with parameters of type Geometry Modifier and Type Method Description booleanBufferResultMatcher. isBoundaryHausdorffDistanceInTolerance(Geometry actualBuffer, Geometry expectedBuffer, double distance)booleanBufferResultMatcher. isBufferResultMatch(Geometry actualBuffer, Geometry expectedBuffer, double distance)booleanBufferResultMatcher. isMatch(Geometry geom, String opName, Object[] args, Result actualResult, Result expectedResult, double tolerance)Tests whether the two results are equal within the given tolerance.booleanEqualityResultMatcher. isMatch(Geometry geom, String opName, Object[] args, Result actualResult, Result expectedResult, double tolerance)Tests whether the two results are equal within the given tolerance.booleanNullResultMatcher. isMatch(Geometry geom, String opName, Object[] args, Result actualResult, Result expectedResult, double tolerance)Always reports a match.booleanResultMatcher. isMatch(Geometry geom, String opName, Object[] args, Result actualResult, Result expectedResult, double tolerance)Tests whether the actual and expected results match well enough for the test to be considered as passed.booleanBufferResultMatcher. isSymDiffAreaInTolerance(Geometry actualBuffer, Geometry expectedBuffer)voidTestCase. setGeometryA(Geometry a)voidTestCase. setGeometryB(Geometry b)Constructors in org.locationtech.jtstest.testrunner with parameters of type Geometry Constructor Description GeometryResult(Geometry geometry)TestCase(String description, Geometry a, Geometry b, File aWktFile, File bWktFile, TestRun testRun, int caseIndex, int lineNumber)Creates a TestCase with the given description. -
Uses of Geometry in org.locationtech.jtstest.util
Methods in org.locationtech.jtstest.util with parameters of type Geometry Modifier and Type Method Description static voidGeometryDataUtil. setComponentDataToIndex(Geometry geom) -
Uses of Geometry in org.locationtech.jtstest.util.io
Methods in org.locationtech.jtstest.util.io that return Geometry Modifier and Type Method Description GeometryGeoJsonMultiReader. read(String s)GeometryMultiFormatFileReader. read(String filename)GeometryMultiFormatReader. read(String geomStr)GeometryWKTOrWKBReader. read(String geomStr)static GeometryIOUtil. readFile(String filename, GeometryFactory geomFact)static GeometryIOUtil. readGeoJSONString(String s, GeometryFactory geomFact)static GeometryMultiFormatFileReader. readGeometry(String filename, int limit, int offset, GeometryFactory geomFactory)static GeometryIOUtil. readGMLString(String gml, GeometryFactory geomFact)static GeometryIOUtil. readWKBHexString(String wkb, GeometryFactory geomFact)static GeometryIOUtil. readWKTString(String wkt, GeometryFactory geomFact)Reads one or more WKT geometries from a string.static GeometryIOUtil. readWKTString(String wkt, GeometryFactory geomFact, boolean isStrict)Methods in org.locationtech.jtstest.util.io that return types with arguments of type Geometry Modifier and Type Method Description List<Geometry>MultiFormatBufferedReader. read(Reader reader)static List<Geometry>MultiFormatBufferedReader. read(Reader reader, int limit, int offset, GeometryFactory geomFactory)static List<Geometry>MultiFormatFileReader. read(String filename, int limit, int offset, GeometryFactory geomFactory)List<Geometry>GeoJsonMultiReader. readList(String s)List<Geometry>MultiFormatFileReader. readList(String filename)List<Geometry>MultiFormatBufferedReader. readWKT(Reader rdr, GeometryFactory geomFact)Methods in org.locationtech.jtstest.util.io with parameters of type Geometry Modifier and Type Method Description StringSVGWriter. write(Geometry geometry)Converts aGeometryto its Well-known Text representation.voidSVGWriter. write(Geometry geometry, Writer writer)Converts aGeometryto its Well-known Text representation.StringSVGWriter. writeFormatted(Geometry geometry)Same aswrite, but with newlines and spaces to make the well-known text more readable.voidSVGWriter. writeFormatted(Geometry geometry, Writer writer)Same aswrite, but with newlines and spaces to make the well-known text more readable.
-