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.distance Classes to compute distance metrics between geometries.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.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.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.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.union Classes to perform efficent unioning of collections of geometries.org.locationtech.jts.operation.valid Provides classes for testing the validity of geometries.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.quadedge Classes to implement a topological subdivision of quadeges, to support creating triangulations and Voronoi diagrams.org.locationtech.jts.util Contains support classes for the Java Topology Suite.org.locationtech.jtsexample.geom.prep org.locationtech.jtsexample.operation.linemerge org.locationtech.jtsexample.technique org.locationtech.jtstest.clean 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.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
Fields in org.locationtech.jts.algorithm declared as Geometry Modifier and Type Field Description private GeometryMinimumBoundingCircle. inputprivate GeometryMinimumDiameter. inputGeomMethods 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()Gets a geometry representing a line between the two farthest points in the input.static GeometryMinimumDiameter. getMinimumDiameter(Geometry geom)Gets the length of the minimum diameter enclosing a geometryGeometryMinimumDiameter. getMinimumRectangle()Gets the minimum rectangularPolygonwhich encloses the input geometry.static GeometryMinimumDiameter. getMinimumRectangle(Geometry geom)Gets the minimum rectangle enclosing a geometry.private GeometryConvexHull. lineOrPolygon(Coordinate[] coordinates)private GeometryInteriorPointArea. widestGeometry(Geometry geometry)private GeometryInteriorPointArea. widestGeometry(GeometryCollection gc)Methods in org.locationtech.jts.algorithm with parameters of type Geometry Modifier and Type Method Description private voidCentroid. add(Geometry geom)Adds a Geometry to the centroid total.private voidInteriorPointArea. add(Geometry geom)Tests the interior vertices (if any) defined by an areal Geometry for the best inside point.private voidInteriorPointPoint. add(Geometry geom)Tests the point(s) defined by a Geometry for the best inside point.private voidInteriorPointLine. addEndpoints(Geometry geom)Tests the endpoint vertices defined by a linear Geometry for the best inside point.private voidInteriorPointLine. addInterior(Geometry geom)Tests the interior vertices (if any) defined by a linear Geometry for the best inside point.private voidInteriorPointArea. addPolygon(Geometry geometry)Finds an interior point of a Polygon.private voidPointLocator. computeLocation(Coordinate p, Geometry geom)private voidMinimumDiameter. computeWidthConvex(Geometry convexGeom)private static Coordinate[]ConvexHull. extractCoordinates(Geometry geom)static CoordinateCentroid. getCentroid(Geometry geom)Computes the centroid point of a geometry.static GeometryMinimumDiameter. getMinimumDiameter(Geometry geom)Gets the length of the minimum diameter enclosing a geometrystatic GeometryMinimumDiameter. getMinimumRectangle(Geometry geom)Gets the minimum rectangle enclosing a geometry.protected LineStringInteriorPointArea. horizontalBisector(Geometry geometry)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.private GeometryInteriorPointArea. widestGeometry(Geometry 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)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. -
Uses of Geometry in org.locationtech.jts.algorithm.distance
Fields in org.locationtech.jts.algorithm.distance declared as Geometry Modifier and Type Field Description private GeometryDiscreteHausdorffDistance. g0private GeometryDiscreteHausdorffDistance. g1private GeometryDiscreteHausdorffDistance.MaxDensifiedByFractionDistanceFilter. geomprivate GeometryDiscreteHausdorffDistance.MaxPointDistanceFilter. geomMethods in org.locationtech.jts.algorithm.distance with parameters of type Geometry Modifier and Type Method Description private voidDiscreteHausdorffDistance. compute(Geometry g0, Geometry g1)static voidDistanceToPoint. computeDistance(Geometry geom, Coordinate pt, PointPairDistance ptDist)private voidDiscreteHausdorffDistance. computeOrientedDistance(Geometry discreteGeom, Geometry geom, PointPairDistance ptDist)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 DiscreteHausdorffDistance(Geometry g0, Geometry g1)MaxDensifiedByFractionDistanceFilter(Geometry geom, double fraction)MaxPointDistanceFilter(Geometry geom) -
Uses of Geometry in org.locationtech.jts.algorithm.locate
Fields in org.locationtech.jts.algorithm.locate declared as Geometry Modifier and Type Field Description private GeometrySimplePointInAreaLocator. geomMethods in org.locationtech.jts.algorithm.locate with parameters of type Geometry Modifier and Type Method Description private voidIndexedPointInAreaLocator.IntervalIndexedGeometry. init(Geometry geom)static intSimplePointInAreaLocator. locate(Coordinate p, Geometry geom)private static intSimplePointInAreaLocator. locateInGeometry(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.IntervalIndexedGeometry(Geometry geom)SimplePointInAreaLocator(Geometry geom) -
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)doubleHausdorffSimilarityMeasure. measure(Geometry g1, Geometry g2)doubleSimilarityMeasure. measure(Geometry g1, Geometry g2) -
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(java.lang.String text, java.awt.Font font, double flatness, GeometryFactory geomFact)Converts text rendered in the givenFontto aGeometrystatic GeometryFontGlyphReader. read(java.lang.String text, java.awt.Font font, GeometryFactory geomFact)Converts text rendered in the givenFontto aGeometryusing a standard flatness factor.static GeometryFontGlyphReader. read(java.lang.String text, java.lang.String fontName, int pointSize, GeometryFactory geomFact)Converts text rendered in the given font and pointsize to aGeometryusing a standard flatness factor.GeometryShapeReader. read(java.awt.geom.PathIterator pathIt)Converts a flat path to aGeometry.static GeometryShapeReader. read(java.awt.geom.PathIterator pathIt, GeometryFactory geomFact)Converts a flat path to aGeometry.static GeometryShapeReader. read(java.awt.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 java.awt.ShapeShapeWriter. toShape(Geometry geometry)Creates aShaperepresenting aGeometry, according to the specified PointTransformation and PointShapeFactory (if relevant). -
Uses of Geometry in org.locationtech.jts.densify
Fields in org.locationtech.jts.densify declared as Geometry Modifier and Type Field Description private GeometryDensifier. inputGeomMethods in org.locationtech.jts.densify that return Geometry Modifier and Type Method Description private GeometryDensifier.DensifyTransformer. createValidArea(Geometry roughAreaGeom)Creates a valid area geometry from one that possibly has bad topology (i.e.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.protected GeometryDensifier.DensifyTransformer. transformMultiPolygon(MultiPolygon geom, Geometry parent)protected GeometryDensifier.DensifyTransformer. transformPolygon(Polygon geom, Geometry parent)Methods in org.locationtech.jts.densify with parameters of type Geometry Modifier and Type Method Description private GeometryDensifier.DensifyTransformer. createValidArea(Geometry roughAreaGeom)Creates a valid area geometry from one that possibly has bad topology (i.e.static GeometryDensifier. densify(Geometry geom, double distanceTolerance)Densifies a geometry using a given distance tolerance, and respecting the input geometry'sPrecisionModel.protected CoordinateSequenceDensifier.DensifyTransformer. transformCoordinates(CoordinateSequence coords, Geometry parent)protected GeometryDensifier.DensifyTransformer. transformMultiPolygon(MultiPolygon geom, Geometry parent)protected GeometryDensifier.DensifyTransformer. transformPolygon(Polygon geom, Geometry parent)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
Fields in org.locationtech.jts.dissolve declared as Geometry Modifier and Type Field Description private GeometryLineDissolver. resultMethods 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.private GeometryGeometryCollectionIterator. parentTheGeometrybeing iterated over.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(java.util.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()abstract GeometryGeometry. copy()Creates and returns a full copy of thisGeometryobject (including all coordinates contained by it).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 geometryabstract GeometryGeometry. reverse()Computes a new geometry which has all component coordinate sequences in reverse order (opposite orientation) to this one.GeometryGeometryCollection. reverse()Creates aGeometryCollectionwith every component reversed.GeometryLinearRing. reverse()GeometryLineString. reverse()Creates aLineStringwhose coordinates are in the reverse order of this objectsGeometryMultiLineString. reverse()Creates aMultiLineStringin the reverse order to this object.GeometryMultiPolygon. reverse()Creates aMultiPolygonwith every component reversed.GeometryPoint. reverse()GeometryPolygon. reverse()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(java.util.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 protected voidGeometry. checkNotGeometryCollection(Geometry g)Throws an exception ifg's class isGeometryCollection.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.private PointGeometry. createPointFromInternalCoord(Coordinate coord, Geometry exemplar)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 ongeom.voidGeometryFilter. filter(Geometry geom)Performs an operation with or ongeom.voidOctagonalEnvelope.BoundingOctagonComponentFilter. filter(Geometry geom)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.private static booleanGeometryCollectionIterator. isAtomic(Geometry geom)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, java.lang.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
Fields in org.locationtech.jts.geom.prep declared as Geometry Modifier and Type Field Description private GeometryBasicPreparedGeometry. baseGeomMethods in org.locationtech.jts.geom.prep that return Geometry Modifier and Type Method Description GeometryBasicPreparedGeometry. getGeometry()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 booleanBasicPreparedGeometry. contains(Geometry g)Default implementation.booleanPreparedGeometry. contains(Geometry geom)Tests whether the baseGeometrycontains a given geometry.booleanPreparedPolygon. contains(Geometry g)booleanPreparedPolygonContains. contains(Geometry geom)Tests whether this PreparedPolygon contains a given geometry.static booleanPreparedPolygonContains. contains(PreparedPolygon prep, Geometry geom)Computes the contains predicate between aPreparedPolygonand aGeometry.booleanBasicPreparedGeometry. containsProperly(Geometry g)Default implementation.booleanPreparedGeometry. containsProperly(Geometry geom)Tests whether the baseGeometryproperly contains a given geometry.booleanPreparedPolygon. containsProperly(Geometry g)booleanPreparedPolygonContainsProperly. containsProperly(Geometry geom)Tests whether this PreparedPolygon containsProperly a given geometry.static booleanPreparedPolygonContainsProperly. containsProperly(PreparedPolygon prep, Geometry geom)Computes the containsProperly predicate between aPreparedPolygonand aGeometry.booleanBasicPreparedGeometry. coveredBy(Geometry g)Default implementation.booleanPreparedGeometry. coveredBy(Geometry geom)Tests whether the baseGeometryis covered by a given geometry.booleanBasicPreparedGeometry. covers(Geometry g)Default implementation.booleanPreparedGeometry. covers(Geometry geom)Tests whether the baseGeometrycovers a given geometry.booleanPreparedPolygon. covers(Geometry g)booleanPreparedPolygonCovers. covers(Geometry geom)Tests whether this PreparedPolygon covers a given geometry.static booleanPreparedPolygonCovers. covers(PreparedPolygon prep, Geometry geom)Computes the covers predicate between aPreparedPolygonand aGeometry.PreparedGeometryPreparedGeometryFactory. create(Geometry geom)Creates a newPreparedGeometryappropriate for the argumentGeometry.booleanBasicPreparedGeometry. crosses(Geometry g)Default implementation.booleanPreparedGeometry. crosses(Geometry geom)Tests whether the baseGeometrycrosses a given geometry.booleanBasicPreparedGeometry. disjoint(Geometry g)Standard implementation for all geometries.booleanPreparedGeometry. disjoint(Geometry geom)Tests whether the baseGeometryis disjoint from a given geometry.protected booleanBasicPreparedGeometry. envelopeCovers(Geometry g)Determines whether the envelope of this geometry covers the Geometry g.protected booleanBasicPreparedGeometry. envelopesIntersect(Geometry g)Determines whether a Geometry g interacts with this geometry by testing the geometry envelopes.protected booleanAbstractPreparedPolygonContains. eval(Geometry geom)Evaluate the contains or covers relationship for the given geometry.private voidAbstractPreparedPolygonContains. findAndClassifyIntersections(Geometry geom)protected abstract booleanAbstractPreparedPolygonContains. fullTopologicalPredicate(Geometry geom)Computes the full topological predicate.protected booleanPreparedPolygonContains. fullTopologicalPredicate(Geometry geom)Computes the full topological contains predicate.protected booleanPreparedPolygonCovers. fullTopologicalPredicate(Geometry geom)Computes the full topological covers predicate.booleanBasicPreparedGeometry. intersects(Geometry g)Default implementation.booleanPreparedGeometry. intersects(Geometry geom)Tests whether the baseGeometryintersects a given geometry.booleanPreparedLineString. intersects(Geometry g)booleanPreparedLineStringIntersects. intersects(Geometry geom)Tests whether this geometry intersects a given geometry.static booleanPreparedLineStringIntersects. intersects(PreparedLineString prep, Geometry geom)Computes the intersects predicate between aPreparedLineStringand aGeometry.booleanPreparedPoint. intersects(Geometry g)Tests whether this point intersects aGeometry.booleanPreparedPolygon. intersects(Geometry g)booleanPreparedPolygonIntersects. intersects(Geometry geom)Tests whether this PreparedPolygon intersects a given geometry.static booleanPreparedPolygonIntersects. intersects(PreparedPolygon prep, Geometry geom)Computes the intersects predicate between aPreparedPolygonand aGeometry.protected booleanPreparedPolygonPredicate. isAllTestComponentsInTarget(Geometry testGeom)Tests whether all components of the test Geometry are contained in the target geometry.protected booleanPreparedPolygonPredicate. isAllTestComponentsInTargetInterior(Geometry testGeom)Tests whether all components of the test Geometry are contained in the interior of the target geometry.protected booleanPreparedPolygonPredicate. isAnyTargetComponentInAreaTest(Geometry testGeom, java.util.List targetRepPts)Tests whether any component of the target geometry intersects the test geometry (which must be an areal geometry)booleanBasicPreparedGeometry. isAnyTargetComponentInTest(Geometry testGeom)Tests whether any representative of the target geometry intersects the test geometry.protected booleanPreparedPolygonPredicate. isAnyTestComponentInTarget(Geometry testGeom)Tests whether any component of the test Geometry intersects the area of the target geometry.protected booleanPreparedPolygonPredicate. isAnyTestComponentInTargetInterior(Geometry testGeom)Tests whether any component of the test Geometry intersects the interior of the target geometry.protected booleanPreparedLineStringIntersects. isAnyTestPointInTarget(Geometry testGeom)Tests whether any representative point of the test Geometry intersects the target geometry.private booleanAbstractPreparedPolygonContains. isProperIntersectionImpliesNotContainedSituation(Geometry testGeom)private booleanAbstractPreparedPolygonContains. isSingleShell(Geometry geom)Tests whether a geometry consists of a single polygon with no holes.booleanBasicPreparedGeometry. overlaps(Geometry g)Default implementation.booleanPreparedGeometry. overlaps(Geometry geom)Tests whether the baseGeometryoverlaps a given geometry.static PreparedGeometryPreparedGeometryFactory. prepare(Geometry geom)Creates a newPreparedGeometryappropriate for the argumentGeometry.booleanBasicPreparedGeometry. touches(Geometry g)Default implementation.booleanPreparedGeometry. touches(Geometry geom)Tests whether the baseGeometrytouches a given geometry.booleanBasicPreparedGeometry. within(Geometry g)Default implementation.booleanPreparedGeometry. within(Geometry geom)Tests whether the baseGeometryis within a given geometry.Constructors in org.locationtech.jts.geom.prep with parameters of type Geometry Constructor Description BasicPreparedGeometry(Geometry geom) -
Uses of Geometry in org.locationtech.jts.geom.util
Fields in org.locationtech.jts.geom.util declared as Geometry Modifier and Type Field Description private GeometryGeometryTransformer. inputGeomPossible extensions: getParent() method to return immediate parent e.g.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(java.util.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.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)private GeometryGeometryEditor. editInternal(Geometry geometry, GeometryEditor.GeometryEditorOperation operation)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 availablestatic 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 g)Computes a new geometry 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 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)private GeometryGeometryEditor. editInternal(Geometry geometry, GeometryEditor.GeometryEditorOperation operation)static java.util.ListGeometryExtracter. extract(Geometry geom, java.lang.Class clz)Extracts the components of type clz from aGeometryand returns them in aList.static java.util.ListGeometryExtracter. extract(Geometry geom, java.lang.Class clz, java.util.List list)Extracts the components of type clz from aGeometryand adds them to the providedList.private voidGeometryCombiner. extractElements(Geometry geom, java.util.List elems)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 java.util.ListComponentCoordinateExtracter. getCoordinates(Geometry geom)Extracts the linear components from a single 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 java.util.ListLinearComponentExtracter. getLines(Geometry geom)Extracts the linear components from a single geometry.static java.util.ListLinearComponentExtracter. getLines(Geometry geom, boolean forceToLineString)Extracts the linear components from a single geometry.static java.util.CollectionLinearComponentExtracter. getLines(Geometry geom, java.util.Collection lines)Extracts the linear components from a singleGeometryand adds them to the providedCollection.static java.util.CollectionLinearComponentExtracter. getLines(Geometry geom, java.util.Collection lines, boolean forceToLineString)Extracts the linear components from a singleGeometryand adds them to the providedCollection.static java.util.ListLineStringExtracter. getLines(Geometry geom)static java.util.ListLineStringExtracter. getLines(Geometry geom, java.util.List lines)static java.util.ListPointExtracter. getPoints(Geometry geom)static java.util.ListPointExtracter. getPoints(Geometry geom, java.util.List list)static java.util.ListPolygonExtracter. getPolygons(Geometry geom)static java.util.ListPolygonExtracter. getPolygons(Geometry geom, java.util.List list)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 g)Computes a new geometry 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) -
Uses of Geometry in org.locationtech.jts.geomgraph
Fields in org.locationtech.jts.geomgraph declared as Geometry Modifier and Type Field Description private GeometryGeometryGraph. parentGeomMethods in org.locationtech.jts.geomgraph that return Geometry Modifier and Type Method Description GeometryGeometryGraph. getGeometry()Methods in org.locationtech.jts.geomgraph with parameters of type Geometry Modifier and Type Method Description private voidGeometryGraph. add(Geometry g)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(java.io.Reader reader)Reads a Well-Known Text representation of aGeometryfrom aReader.GeometryWKTReader. read(java.lang.String wellKnownText)Reads a Well-Known Text representation of aGeometryfrom aString.private GeometryWKBReader. readGeometry()private GeometryWKTReader. readGeometryTaggedText()Creates aGeometryusing the next token in the stream.private GeometryWKBReader. setSRID(Geometry g, int SRID)Sets the SRID, if it was specified in the WKBMethods in org.locationtech.jts.io with parameters of type Geometry Modifier and Type Method Description private voidWKTWriter. appendGeometryTaggedText(Geometry geometry, int level, java.io.Writer writer)Converts aGeometryto <Geometry Tagged Text> format, then appends it to the writer.private GeometryWKBReader. setSRID(Geometry g, int SRID)Sets the SRID, if it was specified in the WKBbyte[]WKBWriter. write(Geometry geom)Writes aGeometryinto a byte array.voidWKBWriter. write(Geometry geom, OutStream os)java.lang.StringWKTWriter. write(Geometry geometry)Converts aGeometryto its Well-known Text representation.voidWKTWriter. write(Geometry geometry, java.io.Writer writer)Converts aGeometryto its Well-known Text representation.java.lang.StringWKTWriter. writeFormatted(Geometry geometry)Same aswrite, but with newlines and spaces to make the well-known text more readable.private voidWKTWriter. writeFormatted(Geometry geometry, boolean useFormatting, java.io.Writer writer)Converts aGeometryto its Well-known Text representation.voidWKTWriter. writeFormatted(Geometry geometry, java.io.Writer writer)Same aswrite, but with newlines and spaces to make the well-known text more readable.private voidWKBWriter. writeGeometryType(int geometryType, Geometry g, OutStream os) -
Uses of Geometry in org.locationtech.jts.io.geojson
Methods in org.locationtech.jts.io.geojson that return Geometry Modifier and Type Method Description private GeometryGeoJsonReader. create(java.util.Map<java.lang.String,java.lang.Object> geometryMap, GeometryFactory geometryFactory)private GeometryGeoJsonReader. createGeometryCollection(java.util.Map<java.lang.String,java.lang.Object> geometryMap, GeometryFactory geometryFactory)private GeometryGeoJsonReader. createLineString(java.util.Map<java.lang.String,java.lang.Object> geometryMap, GeometryFactory geometryFactory)private GeometryGeoJsonReader. createMultiLineString(java.util.Map<java.lang.String,java.lang.Object> geometryMap, GeometryFactory geometryFactory)private GeometryGeoJsonReader. createMultiPoint(java.util.Map<java.lang.String,java.lang.Object> geometryMap, GeometryFactory geometryFactory)private GeometryGeoJsonReader. createMultiPolygon(java.util.Map<java.lang.String,java.lang.Object> geometryMap, GeometryFactory geometryFactory)private GeometryGeoJsonReader. createPoint(java.util.Map<java.lang.String,java.lang.Object> geometryMap, GeometryFactory geometryFactory)private GeometryGeoJsonReader. createPolygon(java.util.Map<java.lang.String,java.lang.Object> geometryMap, GeometryFactory geometryFactory)GeometryGeoJsonReader. read(java.io.Reader reader)Reads a GeoJson Geometry from aReaderinto a singleGeometry.GeometryGeoJsonReader. read(java.lang.String json)Reads a GeoJson Geometry from a String into a singleGeometry.Methods in org.locationtech.jts.io.geojson with parameters of type Geometry Modifier and Type Method Description private java.util.Map<java.lang.String,java.lang.Object>GeoJsonWriter. create(Geometry geometry, boolean encodeCRS)java.lang.StringGeoJsonWriter. write(Geometry geometry)Writes aGeometryin GeoJson format to a String.voidGeoJsonWriter. write(Geometry geometry, java.io.Writer writer)Writes aGeometryin GeoJson format into aWriter. -
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(java.io.Reader reader, GeometryFactory geometryFactory)Reads a GML2 Geometry from aReaderinto a singleGeometryIf a collection of Geometries is found, aGeometryCollectionis returned.GeometryGMLReader. read(java.lang.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 private voidGMLWriter. startGeomTag(java.lang.String geometryName, Geometry g, java.io.Writer writer)java.lang.StringGMLWriter. write(Geometry geom)Writes aGeometryin GML2 format to a String.voidGMLWriter. write(Geometry geom, java.io.Writer writer)Writes aGeometryin GML2 format into aWriter.private voidGMLWriter. write(Geometry geom, java.io.Writer writer, int level)private voidGMLWriter. writeAttributes(Geometry geom, java.io.Writer writer)private voidGMLWriter. writeCustomElements(Geometry geom, java.io.Writer writer) -
Uses of Geometry in org.locationtech.jts.io.kml
Methods in org.locationtech.jts.io.kml with parameters of type Geometry Modifier and Type Method Description java.lang.StringKMLWriter. write(Geometry geom)Writes aGeometryin KML format as a string.voidKMLWriter. write(Geometry geometry, java.io.Writer writer)Writes the KML representation of aGeometryto aWriter.voidKMLWriter. write(Geometry geometry, java.lang.StringBuffer buf)Appends the KML representation of aGeometryto aStringBuffer.static java.lang.StringKMLWriter. writeGeometry(Geometry geometry, double z)Writes a Geometry as KML to a string, using a specified Z value.static java.lang.StringKMLWriter. writeGeometry(Geometry geometry, double z, int precision, boolean extrude, java.lang.String altitudeMode)Writes a Geometry as KML to a string, using a specified Z value, precision, extrude flag, and altitude mode code.private voidKMLWriter. writeGeometry(Geometry g, int level, java.lang.StringBuffer buf) -
Uses of Geometry in org.locationtech.jts.linearref
Fields in org.locationtech.jts.linearref declared as Geometry Modifier and Type Field Description private GeometryExtractLineByLocation. lineprivate GeometryLengthIndexedLine. linearGeomprivate GeometryLengthIndexOfPoint. linearGeomprivate GeometryLengthLocationMap. linearGeomprivate GeometryLinearIterator. linearGeomprivate GeometryLocationIndexedLine. linearGeomprivate GeometryLocationIndexOfLine. linearGeomprivate GeometryLocationIndexOfPoint. linearGeomMethods in org.locationtech.jts.linearref that return Geometry Modifier and Type Method Description private GeometryExtractLineByLocation. computeLinear(LinearLocation start, LinearLocation end)Assumes input is valid (e.g.static GeometryExtractLineByLocation. extract(Geometry line, LinearLocation start, LinearLocation end)Computes the subline of aLineStringbetween twoLinearLocations on the line.GeometryExtractLineByLocation. extract(LinearLocation start, LinearLocation end)Extracts a subline of the input.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()private GeometryExtractLineByLocation. reverse(Geometry linear)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.static GeometryExtractLineByLocation. extract(Geometry line, LinearLocation start, LinearLocation end)Computes the subline of aLineStringbetween twoLinearLocations on the line.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.static doubleLengthIndexOfPoint. indexOf(Geometry linearGeom, Coordinate inputPt)static LinearLocationLocationIndexOfPoint. indexOf(Geometry linearGeom, Coordinate inputPt)static doubleLengthIndexOfPoint. indexOfAfter(Geometry linearGeom, Coordinate inputPt, double minIndex)static LinearLocationLocationIndexOfPoint. indexOfAfter(Geometry linearGeom, Coordinate inputPt, LinearLocation minIndex)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.LinearLocation[]LocationIndexOfLine. indicesOf(Geometry subLine)static LinearLocation[]LocationIndexOfLine. indicesOf(Geometry linearGeom, Geometry subLine)MD - this algorithm has been extracted into a class because it is intended to validate that the subline truly is a subline, and also to use the internal vertex information to unambiguously locate the subline.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.private GeometryExtractLineByLocation. reverse(Geometry linear)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 ExtractLineByLocation(Geometry line)LengthIndexedLine(Geometry linearGeom)Constructs an object which allows a linearGeometryto be linearly referenced using length as an index.LengthIndexOfPoint(Geometry linearGeom)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.LocationIndexOfLine(Geometry linearGeom)LocationIndexOfPoint(Geometry linearGeom) -
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(java.util.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 java.util.ListSegmentStringUtil. extractNodedSegmentStrings(Geometry geom)Extracts all linear components from a givenGeometrytoSegmentStrings.static java.util.ListSegmentStringUtil. extractSegmentStrings(Geometry geom)Extracts all linear components from a givenGeometrytoSegmentStrings. -
Uses of Geometry in org.locationtech.jts.operation
Fields in org.locationtech.jts.operation declared as Geometry Modifier and Type Field Description private GeometryBoundaryOp. geomprivate GeometryIsSimpleOp. inputGeomMethods in org.locationtech.jts.operation that return Geometry Modifier and Type Method Description private GeometryBoundaryOp. boundaryLineString(LineString line)private GeometryBoundaryOp. boundaryMultiLineString(MultiLineString mLine)GeometryGeometryGraphOperation. getArgGeometry(int i)GeometryBoundaryOp. getBoundary()static GeometryBoundaryOp. getBoundary(Geometry g)static GeometryBoundaryOp. getBoundary(Geometry g, BoundaryNodeRule bnRule)Methods in org.locationtech.jts.operation with parameters of type Geometry Modifier and Type Method Description private booleanIsSimpleOp. computeSimple(Geometry geom)static GeometryBoundaryOp. getBoundary(Geometry g)static GeometryBoundaryOp. getBoundary(Geometry g, BoundaryNodeRule bnRule)private booleanIsSimpleOp. isSimpleGeometryCollection(Geometry geom)Semantics for GeometryCollection is simple iff all components are simple.private booleanIsSimpleOp. isSimpleLinearGeometry(Geometry geom)private booleanIsSimpleOp. isSimplePolygonal(Geometry geom)Computes simplicity for polygonal geometries.Constructors in org.locationtech.jts.operation with parameters of type Geometry Constructor Description BoundaryOp(Geometry geom)BoundaryOp(Geometry geom, BoundaryNodeRule bnRule)GeometryGraphOperation(Geometry g0)GeometryGraphOperation(Geometry g0, Geometry g1)GeometryGraphOperation(Geometry g0, Geometry g1, BoundaryNodeRule boundaryNodeRule)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 givenBoundaryNodeRule -
Uses of Geometry in org.locationtech.jts.operation.buffer
Fields in org.locationtech.jts.operation.buffer declared as Geometry Modifier and Type Field Description private GeometryBufferOp. argGeomprivate GeometryOffsetCurveSetBuilder. inputGeomprivate GeometryBufferOp. resultGeometryMethods in org.locationtech.jts.operation.buffer that return Geometry Modifier and Type Method Description GeometryBufferBuilder. buffer(Geometry g, double distance)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.private static GeometryBufferBuilder. convertSegStrings(java.util.Iterator it)private GeometryBufferBuilder. createEmptyResultGeometry()Gets the standard result for an empty buffer.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 private voidOffsetCurveSetBuilder. add(Geometry g)GeometryBufferBuilder. buffer(Geometry g, double distance)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.private static doubleBufferOp. precisionScaleFactor(Geometry g, double distance, int maxPrecisionDigits)Compute a scale factor to limit the precision of a given combination of Geometry and buffer distance.Constructors in org.locationtech.jts.operation.buffer with parameters of type Geometry Constructor Description 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 parametersOffsetCurveSetBuilder(Geometry inputGeom, double distance, OffsetCurveBuilder curveBuilder) -
Uses of Geometry in org.locationtech.jts.operation.buffer.validate
Fields in org.locationtech.jts.operation.buffer.validate declared as Geometry Modifier and Type Field Description private GeometryBufferDistanceValidator. errorIndicatorprivate GeometryBufferResultValidator. errorIndicatorprivate GeometryBufferCurveMaximumDistanceFinder.MaxMidpointDistanceFilter. geomprivate GeometryBufferCurveMaximumDistanceFinder.MaxPointDistanceFilter. geomprivate GeometryBufferDistanceValidator. inputprivate GeometryBufferResultValidator. inputprivate GeometryBufferCurveMaximumDistanceFinder. inputGeomprivate GeometryBufferDistanceValidator. resultprivate GeometryBufferResultValidator. resultMethods 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.private GeometryBufferDistanceValidator. getPolygonLines(Geometry g)Methods in org.locationtech.jts.operation.buffer.validate with parameters of type Geometry Modifier and Type Method Description private voidBufferDistanceValidator. checkMaximumDistance(Geometry input, Geometry bufCurve, double maxDist)Checks that the furthest distance from the buffer curve to the input is less than the given maximum distance.private voidBufferDistanceValidator. checkMinimumDistance(Geometry g1, Geometry g2, double minDist)Checks that two geometries are at least a minimum distance apart.static voidDistanceToPointFinder. computeDistance(Geometry geom, Coordinate pt, PointPairDistance ptDist)private voidBufferCurveMaximumDistanceFinder. computeMaxMidpointDistance(Geometry curve)private voidBufferCurveMaximumDistanceFinder. computeMaxVertexDistance(Geometry curve)doubleBufferCurveMaximumDistanceFinder. findDistance(Geometry bufferCurve)private GeometryBufferDistanceValidator. getPolygonLines(Geometry g)static booleanBufferResultValidator. isValid(Geometry g, double distance, Geometry result)static java.lang.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
Fields in org.locationtech.jts.operation.distance declared as Geometry Modifier and Type Field Description private GeometryGeometryLocation. componentprivate Geometry[]DistanceOp. geomMethods 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 nearestPointsprivate static java.util.ListFacetSequenceTreeBuilder. computeFacetSequences(Geometry g)Creates facet sequencesstatic doubleDistanceOp. distance(Geometry g0, Geometry g1)Compute the distance between the nearest points of two geometries.static doubleIndexedFacetDistance. distance(Geometry g1, Geometry g2)Computes the distance between two geometries using the indexed approach.voidConnectedElementLocationFilter. filter(Geometry geom)voidConnectedElementPointFilter. filter(Geometry geom)static java.util.ListConnectedElementPointFilter. getCoordinates(Geometry geom)Returns a list containing a Coordinate from each Polygon, LineString, and Point found inside the specified geometry.doubleIndexedFacetDistance. getDistance(Geometry g)Computes the distance from the base geometry to the given geometry.static java.util.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.static Coordinate[]DistanceOp. nearestPoints(Geometry g0, Geometry g1)Compute the the nearest points 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.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 g1)Creates a new distance-finding instance for a given targetGeometry. -
Uses of Geometry in org.locationtech.jts.operation.distance3d
Fields in org.locationtech.jts.operation.distance3d declared as Geometry Modifier and Type Field Description private Geometry[]Distance3DOp. geomMethods in org.locationtech.jts.operation.distance3d with parameters of type Geometry Modifier and Type Method Description private voidDistance3DOp. computeMinDistance(Geometry g0, Geometry g1, boolean flip)private voidDistance3DOp. computeMinDistanceMultiMulti(Geometry g0, Geometry g1, boolean flip)private voidDistance3DOp. computeMinDistanceOneMulti(Geometry g0, Geometry g1, boolean flip)private voidDistance3DOp. computeMinDistanceOneMulti(PlanarPolygon3D poly, Geometry geom, boolean flip)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.private static PlanarPolygon3DDistance3DOp. polyPlane(Geometry poly)Convenience method to create a Plane3DPolygonConstructors 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
Fields in org.locationtech.jts.operation.linemerge declared as Geometry Modifier and Type Field Description private GeometryLineSequencer. sequencedGeometryMethods in org.locationtech.jts.operation.linemerge that return Geometry Modifier and Type Method Description private GeometryLineSequencer. buildSequencedGeometry(java.util.List sequences)Builds a geometry (LineStringorMultiLineString) representing the sequence.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
Fields in org.locationtech.jts.operation.overlay declared as Geometry Modifier and Type Field Description private GeometryOverlayOp. resultGeomMethods in org.locationtech.jts.operation.overlay that return Geometry Modifier and Type Method Description private GeometryOverlayOp. computeGeometry(java.util.List resultPointList, java.util.List resultLineList, java.util.List resultPolyList, int opcode)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.private static intOverlayOp. resultDimension(int opCode, Geometry g0, Geometry g1)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
Fields in org.locationtech.jts.operation.overlay.snap declared as Geometry Modifier and Type Field Description private Geometry[]SnapIfNeededOverlayOp. geomprivate Geometry[]SnapOverlayOp. geomprivate GeometryGeometrySnapper. srcGeomMethods 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)private GeometrySnapOverlayOp. prepareResult(Geometry geom)private Geometry[]SnapOverlayOp. removeCommonBits(Geometry[] geom)private GeometrySnapOverlayOp. selfSnap(Geometry geom)static Geometry[]GeometrySnapper. snap(Geometry g0, Geometry g1, double snapTolerance)Snaps two geometries together with a given tolerance.private Geometry[]SnapOverlayOp. snap(Geometry[] geom)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 private voidSnapOverlayOp. checkValid(Geometry g)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)private Coordinate[]GeometrySnapper. extractTargetCoordinates(Geometry g)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)private GeometrySnapOverlayOp. prepareResult(Geometry geom)private Geometry[]SnapOverlayOp. removeCommonBits(Geometry[] geom)private GeometrySnapOverlayOp. selfSnap(Geometry geom)static Geometry[]GeometrySnapper. snap(Geometry g0, Geometry g1, double snapTolerance)Snaps two geometries together with a given tolerance.private Geometry[]SnapOverlayOp. snap(Geometry[] geom)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)protected CoordinateSequenceSnapTransformer. transformCoordinates(CoordinateSequence coords, Geometry parent)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
Fields in org.locationtech.jts.operation.overlay.validate declared as Geometry Modifier and Type Field Description private GeometryFuzzyPointLocator. gprivate GeometryOffsetPointGenerator. gprivate Geometry[]OverlayResultValidator. geomMethods in org.locationtech.jts.operation.overlay.validate with parameters of type Geometry Modifier and Type Method Description private voidOverlayResultValidator. addTestPts(Geometry g)private static doubleOverlayResultValidator. computeBoundaryDistanceTolerance(Geometry g0, Geometry g1)private MultiLineStringFuzzyPointLocator. extractLinework(Geometry g)Extracts linework for polygonal components.voidPolygonalLineworkExtracter. filter(Geometry g)Filters out all linework for polygonal elementsstatic 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.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.voidPolygonizer.LineStringAdder. filter(Geometry g) -
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.private booleanRectangleContains. isContainedInBoundary(Geometry geom)protected voidEnvelopeIntersectsVisitor. visit(Geometry element)protected voidGeometryContainsPointVisitor. visit(Geometry geom)protected voidRectangleIntersectsSegmentVisitor. visit(Geometry geom) -
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 private voidRelateComputer. labelIsolatedEdge(Edge e, int targetIndex, Geometry target)Label an isolated edge of a graph with its relationship to the target geometry.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.union
Fields in org.locationtech.jts.operation.union declared as Geometry Modifier and Type Field Description private GeometryUnionInteracting. g0private GeometryUnionInteracting. g1private GeometryPointGeometryUnion. otherGeomprivate GeometryPointGeometryUnion. pointGeomMethods in org.locationtech.jts.operation.union that return Geometry Modifier and Type Method Description private GeometryCascadedPolygonUnion. binaryUnion(java.util.List geoms)Unions a list of geometries by treating the list as a flattened binary tree, and performing a cascaded union on the tree.private GeometryCascadedPolygonUnion. binaryUnion(java.util.List geoms, int start, int end)Unions a section of a list using a recursive binary union on each half of the section.private GeometryCascadedPolygonUnion. bufferUnion(java.util.List geoms)private GeometryCascadedPolygonUnion. bufferUnion(Geometry g0, Geometry g1)private GeometryUnionInteracting. bufferUnion(Geometry g0, Geometry g1)private GeometryCascadedPolygonUnion. extractByEnvelope(Envelope env, Geometry geom, java.util.List disjointGeoms)private GeometryUnionInteracting. extractElements(Geometry geom, boolean[] interacts, boolean isInteracting)private static GeometryCascadedPolygonUnion. getGeometry(java.util.List list, int index)Gets the element at a given list index, or null if the index is out of range.private GeometryCascadedPolygonUnion. repeatedUnion(java.util.List geoms)private static GeometryCascadedPolygonUnion. restrictToPolygons(Geometry g)GeometryCascadedPolygonUnion. union()Computes the union of the input geometries.static GeometryCascadedPolygonUnion. union(java.util.Collection polys)GeometryPointGeometryUnion. union()static GeometryPointGeometryUnion. union(Puntal pointGeom, Geometry otherGeom)GeometryUnaryUnionOp. union()Gets the union of the input geometries.static GeometryUnaryUnionOp. union(java.util.Collection geoms)Computes the geometric union of aCollectionofGeometrys.static GeometryUnaryUnionOp. union(java.util.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)private GeometryCascadedPolygonUnion. unionActual(Geometry g0, Geometry g1)Encapsulates the actual unioning of two polygonal geometries.private GeometryUnaryUnionOp. unionNoOpt(Geometry g0)Computes a unary union with no extra optimization, and no short-circuiting.private GeometryCascadedPolygonUnion. unionOptimized(Geometry g0, Geometry g1)private GeometryCascadedPolygonUnion. unionSafe(Geometry g0, Geometry g1)Computes the union of two geometries, either or both of which may be null.private GeometryCascadedPolygonUnion. unionTree(java.util.List geomTree)private GeometryCascadedPolygonUnion. unionUsingEnvelopeIntersection(Geometry g0, Geometry g1, Envelope common)Unions two polygonal geometries, restricting computation to the envelope intersection where possible.private GeometryUnaryUnionOp. unionWithNull(Geometry g0, Geometry g1)Computes the union of two geometries, either of both of which may be null.Methods in org.locationtech.jts.operation.union with parameters of type Geometry Modifier and Type Method Description private GeometryCascadedPolygonUnion. bufferUnion(Geometry g0, Geometry g1)private GeometryUnionInteracting. bufferUnion(Geometry g0, Geometry g1)private booleanUnionInteracting. computeInteracting(Geometry elem0)private voidUnaryUnionOp. extract(Geometry geom)private GeometryCascadedPolygonUnion. extractByEnvelope(Envelope env, Geometry geom, java.util.List disjointGeoms)private GeometryUnionInteracting. extractElements(Geometry geom, boolean[] interacts, boolean isInteracting)private static GeometryCascadedPolygonUnion. restrictToPolygons(Geometry g)static GeometryPointGeometryUnion. union(Puntal pointGeom, Geometry otherGeom)static GeometryUnaryUnionOp. union(Geometry geom)Constructs a unary union operation for aGeometry(which may be aGeometryCollection).static GeometryUnionInteracting. union(Geometry g0, Geometry g1)private GeometryCascadedPolygonUnion. unionActual(Geometry g0, Geometry g1)Encapsulates the actual unioning of two polygonal geometries.private GeometryUnaryUnionOp. unionNoOpt(Geometry g0)Computes a unary union with no extra optimization, and no short-circuiting.private GeometryCascadedPolygonUnion. unionOptimized(Geometry g0, Geometry g1)private GeometryCascadedPolygonUnion. unionSafe(Geometry g0, Geometry g1)Computes the union of two geometries, either or both of which may be null.private GeometryCascadedPolygonUnion. unionUsingEnvelopeIntersection(Geometry g0, Geometry g1, Envelope common)Unions two polygonal geometries, restricting computation to the envelope intersection where possible.private GeometryUnaryUnionOp. unionWithNull(Geometry g0, Geometry g1)Computes the union of two geometries, either of both of which may be null.Constructors in org.locationtech.jts.operation.union with parameters of type Geometry Constructor Description PointGeometryUnion(Puntal pointGeom, Geometry otherGeom)UnaryUnionOp(Geometry geom)Constructs a unary union operation for aGeometry(which may be aGeometryCollection).UnionInteracting(Geometry g0, Geometry g1) -
Uses of Geometry in org.locationtech.jts.operation.valid
Fields in org.locationtech.jts.operation.valid declared as Geometry Modifier and Type Field Description private GeometryIsValidOp. parentGeometryMethods in org.locationtech.jts.operation.valid with parameters of type Geometry Modifier and Type Method Description private voidIsValidOp. checkValid(Geometry g)booleanRepeatedPointTester. hasRepeatedPoint(Geometry g)static booleanIsValidOp. isValid(Geometry geom)Tests whether aGeometryis valid.private voidConnectedInteriorTester. visitShellInteriors(Geometry g, PlanarGraph graph)Mark all the edges for the edgeRings corresponding to the shells of the input polygons.Constructors in org.locationtech.jts.operation.valid with parameters of type Geometry Constructor Description IsValidOp(Geometry parentGeometry) -
Uses of Geometry in org.locationtech.jts.precision
Fields in org.locationtech.jts.precision declared as Geometry Modifier and Type Field Description private GeometryMinimumClearance. inputGeomprivate GeometrySimpleMinimumClearance. inputGeomMethods 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.private GeometryGeometryPrecisionReducer. changePM(Geometry geom, PrecisionModel newPM)Duplicates a geometry to one that uses a different PrecisionModel, without changing any coordinate values.private GeometryCommonBitsOp. computeResultPrecision(Geometry result)If required, returning the result to the original precision if required.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.private GeometryGeometryPrecisionReducer. fixPolygonalTopology(Geometry geom)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)static GeometryGeometryPrecisionReducer. reduce(Geometry g, PrecisionModel precModel)Convenience method for doing precision reduction on a single geometry, with collapses removed and keeping the geometry precision model the same, and preserving polygonal topology.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.private GeometryGeometryPrecisionReducer. reducePointwise(Geometry geom)static GeometryGeometryPrecisionReducer. reducePointwise(Geometry g, PrecisionModel precModel)Convenience method for doing pointwise precision reduction on a single geometry, with collapses removed and keeping the geometry precision model the same, but NOT preserving valid polygonal topology.private GeometryCommonBitsOp. removeCommonBits(Geometry geom0)Computes a copy of the inputGeometrywith the calculated common bits removed from each coordinate.private Geometry[]CommonBitsOp. removeCommonBits(Geometry geom0, Geometry geom1)Computes a copy of each inputGeometrys with the calculated common bits removed from each coordinate.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.private GeometryGeometryPrecisionReducer. changePM(Geometry geom, PrecisionModel newPM)Duplicates a geometry to one that uses a different PrecisionModel, without changing any coordinate values.private GeometryCommonBitsOp. computeResultPrecision(Geometry result)If required, returning the result to the original precision if required.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)Coordinate[]SimpleGeometryPrecisionReducer.PrecisionReducerCoordinateOperation. edit(Coordinate[] coordinates, Geometry geom)private GeometryGeometryPrecisionReducer. fixPolygonalTopology(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)static GeometryGeometryPrecisionReducer. reduce(Geometry g, PrecisionModel precModel)Convenience method for doing precision reduction on a single geometry, with collapses removed and keeping the geometry precision model the same, and preserving polygonal topology.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.private GeometryGeometryPrecisionReducer. reducePointwise(Geometry geom)static GeometryGeometryPrecisionReducer. reducePointwise(Geometry g, PrecisionModel precModel)Convenience method for doing pointwise precision reduction on a single geometry, with collapses removed and keeping the geometry precision model the same, but NOT preserving valid polygonal topology.private GeometryCommonBitsOp. removeCommonBits(Geometry geom0)Computes a copy of the inputGeometrywith the calculated common bits removed from each coordinate.private Geometry[]CommonBitsOp. removeCommonBits(Geometry geom0, Geometry geom1)Computes a copy of each inputGeometrys with the calculated common bits removed from each coordinate.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 abstract GeometryGeometricShapeBuilder. getGeometry() -
Uses of Geometry in org.locationtech.jts.shape.fractal
Methods in org.locationtech.jts.shape.fractal that return Geometry Modifier and Type Method Description GeometryKochSnowflakeBuilder. 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
Fields in org.locationtech.jts.simplify declared as Geometry Modifier and Type Field Description private GeometryDouglasPeuckerSimplifier. inputGeomprivate GeometryTopologyPreservingSimplifier. inputGeomprivate GeometryVWSimplifier. inputGeomprivate GeometryTaggedLineSegment. parentMethods in org.locationtech.jts.simplify that return Geometry Modifier and Type Method Description private GeometryDouglasPeuckerSimplifier.DPTransformer. createValidArea(Geometry rawAreaGeom)Creates a valid area geometry from one that possibly has bad topology (i.e.private GeometryVWSimplifier.VWTransformer. createValidArea(Geometry rawAreaGeom)Creates a valid area geometry from one that possibly has bad topology (i.e.GeometryTaggedLineSegment. getParent()GeometryDouglasPeuckerSimplifier. getResultGeometry()Gets the simplified geometry.GeometryTopologyPreservingSimplifier. getResultGeometry()GeometryVWSimplifier. getResultGeometry()Gets the simplified geometry.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.protected GeometryDouglasPeuckerSimplifier.DPTransformer. transformLinearRing(LinearRing geom, Geometry parent)Simplifies a LinearRing.protected GeometryVWSimplifier.VWTransformer. transformLinearRing(LinearRing geom, Geometry parent)Simplifies a LinearRing.protected GeometryDouglasPeuckerSimplifier.DPTransformer. transformMultiPolygon(MultiPolygon geom, Geometry parent)Simplifies a MultiPolygon, fixing it if required.protected GeometryVWSimplifier.VWTransformer. transformMultiPolygon(MultiPolygon geom, Geometry parent)Simplifies a MultiPolygon, fixing it if required.protected GeometryDouglasPeuckerSimplifier.DPTransformer. transformPolygon(Polygon geom, Geometry parent)Simplifies a polygon, fixing it if required.protected GeometryVWSimplifier.VWTransformer. transformPolygon(Polygon geom, Geometry parent)Simplifies a polygon, fixing it if required.Methods in org.locationtech.jts.simplify with parameters of type Geometry Modifier and Type Method Description private GeometryDouglasPeuckerSimplifier.DPTransformer. createValidArea(Geometry rawAreaGeom)Creates a valid area geometry from one that possibly has bad topology (i.e.private GeometryVWSimplifier.VWTransformer. createValidArea(Geometry rawAreaGeom)Creates a valid area geometry from one that possibly has bad topology (i.e.voidTopologyPreservingSimplifier.LineStringMapBuilderFilter. filter(Geometry geom)Filters linear geometries.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.protected CoordinateSequenceDouglasPeuckerSimplifier.DPTransformer. transformCoordinates(CoordinateSequence coords, Geometry parent)protected CoordinateSequenceTopologyPreservingSimplifier.LineStringTransformer. transformCoordinates(CoordinateSequence coords, Geometry parent)protected CoordinateSequenceVWSimplifier.VWTransformer. transformCoordinates(CoordinateSequence coords, Geometry parent)protected GeometryDouglasPeuckerSimplifier.DPTransformer. transformLinearRing(LinearRing geom, Geometry parent)Simplifies a LinearRing.protected GeometryVWSimplifier.VWTransformer. transformLinearRing(LinearRing geom, Geometry parent)Simplifies a LinearRing.protected GeometryDouglasPeuckerSimplifier.DPTransformer. transformMultiPolygon(MultiPolygon geom, Geometry parent)Simplifies a MultiPolygon, fixing it if required.protected GeometryVWSimplifier.VWTransformer. transformMultiPolygon(MultiPolygon geom, Geometry parent)Simplifies a MultiPolygon, fixing it if required.protected GeometryDouglasPeuckerSimplifier.DPTransformer. transformPolygon(Polygon geom, Geometry parent)Simplifies a polygon, fixing it if required.protected GeometryVWSimplifier.VWTransformer. transformPolygon(Polygon geom, Geometry parent)Simplifies a polygon, fixing it if required.Constructors in org.locationtech.jts.simplify with parameters of type Geometry Constructor Description DouglasPeuckerSimplifier(Geometry inputGeom)Creates a simplifier for a given geometry.TaggedLineSegment(Coordinate p0, Coordinate p1, Geometry parent, int index)TopologyPreservingSimplifier(Geometry inputGeom)VWSimplifier(Geometry inputGeom)Creates a simplifier for a given geometry. -
Uses of Geometry in org.locationtech.jts.triangulate
Fields in org.locationtech.jts.triangulate declared as Geometry Modifier and Type Field Description private GeometryConformingDelaunayTriangulationBuilder. constraintLinesprivate GeometryConformingDelaunayTriangulator. convexHullMethods in org.locationtech.jts.triangulate that return Geometry Modifier and Type Method Description private static GeometryVoronoiDiagramBuilder. clipGeometryCollection(Geometry geom, Envelope clipEnv)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 private static GeometryVoronoiDiagramBuilder. clipGeometryCollection(Geometry geom, Envelope clipEnv)private static java.util.ListConformingDelaunayTriangulationBuilder. createConstraintSegments(Geometry geom)private voidConformingDelaunayTriangulationBuilder. createVertices(Geometry geom)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.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(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.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) -
Uses of Geometry in org.locationtech.jtsexample.geom.prep
Methods in org.locationtech.jtsexample.geom.prep that return Geometry Modifier and Type Method Description (package private) static GeometryPreparedGeometryExample. createCircle() -
Uses of Geometry in org.locationtech.jtsexample.operation.linemerge
Methods in org.locationtech.jtsexample.operation.linemerge that return Geometry Modifier and Type Method Description (package private) GeometryLineMergeExample. read(java.lang.String lineWKT) -
Uses of Geometry in org.locationtech.jtsexample.technique
Methods in org.locationtech.jtsexample.technique that return Geometry Modifier and Type Method Description (package private) static GeometrySearchUsingPreparedGeometryIndex. createCircle(Coordinate centre, double radius)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 (package private) static java.util.ListSearchUsingPreparedGeometryIndex. findIntersecting(java.util.Collection targetGeoms, Geometry queryGeom)static GeometryLineStringSelfIntersections. getEndPoints(Geometry g)java.util.ListPreparedGeometryIndex. intersects(Geometry g)Finds allPreparedGeometrys which intersect a givenGeometryjava.util.ListPreparedGeometryIndex. query(Geometry g)Finds allPreparedGeometrys which might interact with a queryGeometry.static voidPolygonUnionUsingBuffer. unionUsingBuffer(Geometry[] geom)Deprecated. -
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.function
Methods in org.locationtech.jtstest.function that return Geometry Modifier and Type Method Description static GeometryTriangleFunctions. angleBisectors(Geometry g)static GeometrySelectionFunctions. areaGreaterThan(Geometry a, double minArea)static GeometrySelectionFunctions. areaLessThan(Geometry a, double maxArea)static GeometrySelectionFunctions. areaZero(Geometry a)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. bufferByChains(Geometry g, double distance, int maxChainSize)static GeometryBufferByUnionFunctions. bufferByComponents(Geometry g, double distance)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, java.lang.Double distance, java.lang.Integer quadrantSegments, java.lang.Integer capStyle, java.lang.Integer joinStyle, java.lang.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. bufferValidated(Geometry g, double distance)static GeometryBufferFunctions. bufferValidatedGeom(Geometry g, double distance)static GeometryBufferFunctions. bufferWithParams(Geometry g, java.lang.Double distance, java.lang.Integer quadrantSegments, java.lang.Integer capStyle, java.lang.Integer joinStyle, java.lang.Double mitreLimit)static GeometryBufferFunctions. bufferWithSimplify(Geometry g, java.lang.Double distance, java.lang.Double simplifyFactor)private static GeometryBufferFunctions. buildBufferLineSimplifiedSet(Geometry g, double distance)private static GeometryBufferFunctions. buildCurveSet(Geometry g, double dist, BufferParameters bufParams)static GeometryFunctionsUtil. buildGeometry(java.util.List geoms, Geometry parentGeom)static GeometryFunctionsUtil. buildGeometry(Geometry[] geoms)static GeometryFunctionsUtil. buildGeometry(Geometry a, Geometry b)static GeometryConstructionFunctions. centroid(Geometry g)static GeometryTriangleFunctions. centroid(Geometry g)static GeometryTriangleFunctions. circumcentre(Geometry g)static GeometryOverlayFunctions. clip(Geometry a, Geometry mask)static GeometryCreateShapeFunctions. comb(Geometry g, int nArms)static GeometryBufferByUnionFunctions. componentBuffers(Geometry g, double distance)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 GeometryGeometryFunctions. convertToPolygon(Geometry g)static GeometryConstructionFunctions. convexHull(Geometry g)static GeometrySelectionFunctions. coveredBy(Geometry a, Geometry mask)static GeometrySelectionFunctions. covers(Geometry a, Geometry mask)private static GeometryJTSFunctions. create_J(Geometry g)private static GeometryJTSFunctions. create_S(Geometry g)private static GeometryJTSFunctions. create_T(Geometry g)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 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 GeometryOverlayNoSnapFunctions. differenceBA(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 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 GeometryConstructionFunctions. farthestPoints(Geometry g)static GeometryNodingFunctions. findNodePoints(Geometry geom)static GeometryNodingFunctions. findSingleNodePoint(Geometry geom)static GeometrySelectionFunctions. firstNComponents(Geometry g, int n)private static GeometryCreateShapeFunctions. fontGlyph(Geometry g, java.lang.String text, java.awt.Font font)static GeometryCreateShapeFunctions. fontGlyph(Geometry g, java.lang.String text, java.lang.String fontName)static GeometryCreateShapeFunctions. fontGlyphMonospaced(Geometry g, java.lang.String text)static GeometryCreateShapeFunctions. fontGlyphSansSerif(Geometry g, java.lang.String text)static GeometryCreateShapeFunctions. fontGlyphSerif(Geometry g, java.lang.String text)static GeometryCreateShapeFunctions. fontGlyphSerifPointSize(Geometry g, java.lang.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 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 GeometryTriangleFunctions. incentre(Geometry g)static GeometryConstructionFunctions. interiorPoint(Geometry g)static GeometryOverlayCommonBitsRemovedFunctions. intersection(Geometry a, Geometry b)static GeometryOverlayEnhancedPrecisionFunctions. intersection(Geometry a, Geometry b)static GeometryOverlayFunctions. intersection(Geometry a, Geometry b)static GeometryOverlayNoSnapFunctions. intersection(Geometry a, Geometry b)static GeometrySelectionFunctions. intersects(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 GeometrySpatialIndexFunctions. kdTreeQuery(Geometry pts, Geometry queryEnv, double tolerance)static GeometrySpatialIndexFunctions. kdTreeQueryRepeated(Geometry pts, Geometry queryEnv, double tolerance)static GeometryCreateFractalShapeFunctions. kochSnowflake(Geometry g, int n)static GeometrySelectionFunctions. lengthGreaterThan(Geometry a, double minLen)static GeometrySelectionFunctions. lengthLessThan(Geometry a, double maxLen)static GeometrySelectionFunctions. lengthZero(Geometry a)static GeometryJTSFunctions. logoBuffer(Geometry g, double distance)static GeometryJTSFunctions. logoLines(Geometry g)static GeometryConstructionFunctions. maximumDiameter(Geometry g)static GeometryNodingFunctions. MCIndexNoding(Geometry geom)static GeometryNodingFunctions. MCIndexNodingWithPrecision(Geometry geom, double scaleFactor)static GeometryLineHandlingFunctions. mergeLines(Geometry g)static GeometryPrecisionFunctions. minClearanceLine(Geometry g)static GeometryTestCaseGeometryFunctions. minClearanceLine(Geometry g)static GeometryPrecisionFunctions. minClearanceSimpleLine(Geometry g)static GeometryConstructionFunctions. minimumBoundingCircle(Geometry g)static GeometryConstructionFunctions. minimumDiameter(Geometry g)static GeometryConstructionFunctions. minimumRectangle(Geometry g)static GeometryDistanceFunctions. nearestPoints(Geometry a, Geometry b)static GeometryGeometryFunctions. normalize(Geometry g)static GeometryConstructionFunctions. octagonalEnvelope(Geometry g)static GeometryOffsetCurveFunctions. offsetCurve(Geometry geom, double distance)static GeometryPolygonOverlayFunctions. overlaySnapRounded(Geometry g1, Geometry g2, double precisionTol)static GeometryTriangleFunctions. perpendicularBisectors(Geometry g)static GeometryPolygonizeFunctions. polygonize(Geometry g)private static GeometryPolygonizeFunctions. polygonize(Geometry g, boolean extractOnlyPolygonal)static GeometryPolygonizeFunctions. polygonizeAllErrors(Geometry g)static GeometryPolygonizeFunctions. polygonizeCutEdges(Geometry g)static GeometryPolygonizeFunctions. polygonizeDangles(Geometry g)static GeometryPolygonizeFunctions. polygonizeInvalidRingLines(Geometry g)static GeometryPolygonizeFunctions. polygonizePolygonal(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 GeometryPrecisionFunctions. reducePrecision(Geometry geom, double scaleFactor)static GeometryPrecisionFunctions. reducePrecisionPointwise(Geometry geom, double scaleFactor)static GeometryAffineTransformationFunctions. reflectInX(Geometry g)static GeometryAffineTransformationFunctions. reflectInY(Geometry g)static GeometryGeometryFunctions. reverse(Geometry g)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 GeometryNodingFunctions. scaledNoding(Geometry geom, double scaleFactor)Runs a ScaledNoder on input.static GeometryLineSegmentFunctions. segmentIntersection(Geometry g1, Geometry g2)static GeometryLineSegmentFunctions. segmentIntersectionDD(Geometry g1, Geometry g2)private static GeometrySelectionFunctions. select(Geometry geom, GeometryPredicate pred)static GeometryLineHandlingFunctions. sequenceLines(Geometry g)static GeometryCreateFractalShapeFunctions. sierpinskiCarpet(Geometry g, int n)static GeometrySimplificationFunctions. simplifyDP(Geometry g, double distance)static GeometrySimplificationFunctions. simplifyTP(Geometry g, double distance)static GeometrySimplificationFunctions. simplifyVW(Geometry g, double distance)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. snapRoundWithPointwisePrecisionReduction(Geometry geom, double scaleFactor)Reduces precision pointwise, then snap-rounds.static GeometrySnappingFunctions. snapToSelfAndClean(Geometry g, double distance)static GeometrySortingFunctions. sortByArea(Geometry g)static GeometrySortingFunctions. sortByLength(Geometry g)static GeometryCreateShapeFunctions. squircle(Geometry g, int nPts)static GeometrySpatialIndexFunctions. strTreeBounds(Geometry geoms)static GeometrySpatialIndexFunctions. strTreeNN(Geometry geoms, Geometry geom)static GeometrySpatialIndexFunctions. strTreeNNk(Geometry geoms, Geometry geom, int k)static GeometrySpatialIndexFunctions. strTreeQuery(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 GeometryOverlayNoSnapFunctions. symDifference(Geometry a, Geometry b)static Geometry[]FunctionsUtil. toGeometryArray(Geometry a, Geometry b)static GeometryConversionFunctions. toGeometryCollection(Geometry g, Geometry g2)static GeometryConversionFunctions. toLines(Geometry g1, Geometry g2)static GeometryConversionFunctions. toMultiPolygon(Geometry g1, Geometry g2)static GeometryConversionFunctions. toPoints(Geometry g1, Geometry g2)static GeometryAffineTransformationFunctions. transformByBaseline(Geometry g, Geometry destBaseline)static GeometryAffineTransformationFunctions. transformByVectors(Geometry g, Geometry control)static GeometryAffineTransformationFunctions. translateCentreToOrigin(Geometry g)static GeometryAffineTransformationFunctions. translateToOrigin(Geometry g)static GeometryOverlayFunctions. unaryUnion(Geometry a)static GeometryOverlayCommonBitsRemovedFunctions. union(Geometry a, Geometry b)static GeometryOverlayEnhancedPrecisionFunctions. union(Geometry a, Geometry b)static GeometryOverlayFunctions. union(Geometry a, Geometry b)static GeometryOverlayNoSnapFunctions. union(Geometry a, Geometry b)static GeometryOverlayFunctions. unionUsingGeometryCollection(Geometry a, Geometry b)static GeometrySelectionFunctions. valid(Geometry a)static GeometryAffineTransformationFunctions. viewport(Geometry g, Geometry gViewport)static GeometryTriangulationFunctions. voronoiDiagram(Geometry sitesGeom, Geometry clipGeom)static GeometryTriangulationFunctions. voronoiDiagramWithData(Geometry sitesGeom, Geometry clipGeom)static GeometrySelectionFunctions. within(Geometry a, Geometry mask)Methods in org.locationtech.jtstest.function with parameters of type Geometry Modifier and Type Method Description private static voidConversionFunctions. addComponents(Geometry g, java.util.List atomicGeoms)static GeometryTriangleFunctions. angleBisectors(Geometry g)static doubleGeometryFunctions. area(Geometry g)static GeometrySelectionFunctions. areaGreaterThan(Geometry a, double minArea)static GeometrySelectionFunctions. areaLessThan(Geometry a, double maxArea)static GeometrySelectionFunctions. areaZero(Geometry a)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. bufferByChains(Geometry g, double distance, int maxChainSize)static GeometryBufferByUnionFunctions. bufferByComponents(Geometry g, double distance)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, java.lang.Double distance, java.lang.Integer quadrantSegments, java.lang.Integer capStyle, java.lang.Integer joinStyle, java.lang.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. bufferValidated(Geometry g, double distance)static GeometryBufferFunctions. bufferValidatedGeom(Geometry g, double distance)static GeometryBufferFunctions. bufferWithParams(Geometry g, java.lang.Double distance, java.lang.Integer quadrantSegments, java.lang.Integer capStyle, java.lang.Integer joinStyle, java.lang.Double mitreLimit)static GeometryBufferFunctions. bufferWithSimplify(Geometry g, java.lang.Double distance, java.lang.Double simplifyFactor)private static GeometryBufferFunctions. buildBufferLineSimplifiedSet(Geometry g, double distance)private static GeometryBufferFunctions. buildCurveSet(Geometry g, double dist, BufferParameters bufParams)static GeometryFunctionsUtil. buildGeometry(java.util.List geoms, Geometry parentGeom)static GeometryFunctionsUtil. buildGeometry(Geometry[] geoms)static GeometryFunctionsUtil. buildGeometry(Geometry a, Geometry b)private static KdTreeSpatialIndexFunctions. buildKdTree(Geometry geom, double tolerance)private static QuadtreeSpatialIndexFunctions. buildQuadtree(Geometry geom)private static STRtreeSpatialIndexFunctions. buildSTRtree(Geometry geom)static GeometryConstructionFunctions. centroid(Geometry g)static GeometryTriangleFunctions. centroid(Geometry g)static GeometryTriangleFunctions. circumcentre(Geometry g)static GeometryOverlayFunctions. clip(Geometry a, Geometry mask)static GeometryCreateShapeFunctions. comb(Geometry g, int nArms)static GeometryBufferByUnionFunctions. componentBuffers(Geometry g, double distance)private static java.util.ListSortingFunctions. components(Geometry g)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 booleanSpatialPredicateFunctions. contains(Geometry a, Geometry b)static GeometryGeometryFunctions. convertToPolygon(Geometry g)static GeometryConstructionFunctions. convexHull(Geometry g)static GeometrySelectionFunctions. coveredBy(Geometry a, Geometry mask)static booleanSpatialPredicateFunctions. coveredBy(Geometry a, Geometry b)static GeometrySelectionFunctions. covers(Geometry a, Geometry mask)static booleanSpatialPredicateFunctions. covers(Geometry a, Geometry b)private static GeometryJTSFunctions. create_J(Geometry g)private static GeometryJTSFunctions. create_S(Geometry g)private static GeometryJTSFunctions. create_T(Geometry g)private static PreparedGeometryPreparedGeometryFunctions. createPG(Geometry g)private static java.util.ListNodingFunctions. createSegmentStrings(Geometry geom)static booleanSpatialPredicateFunctions. 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 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 GeometryOverlayNoSnapFunctions. differenceBA(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 GeometryDissolveFunctions. dissolve(Geometry geom)static GeometryLineHandlingFunctions. dissolve(Geometry geom)static doubleDistanceFunctions. distance(Geometry a, Geometry b)static GeometryCreateShapeFunctions. ellipse(Geometry g, int nPts)static GeometryCreateShapeFunctions. ellipseRotate(Geometry g, int nPts, double ang)static GeometryGeometryFunctions. envelope(Geometry g)private static CoordinateAffineTransformationFunctions. envelopeCentre(Geometry g)private static CoordinateAffineTransformationFunctions. envelopeLowerLeft(Geometry g)static booleanSpatialPredicateFunctions. equals(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 GeometryConstructionFunctions. farthestPoints(Geometry g)static GeometryNodingFunctions. findNodePoints(Geometry geom)static GeometryNodingFunctions. findSingleNodePoint(Geometry geom)static GeometrySelectionFunctions. firstNComponents(Geometry g, int n)private static GeometryCreateShapeFunctions. fontGlyph(Geometry g, java.lang.String text, java.awt.Font font)static GeometryCreateShapeFunctions. fontGlyph(Geometry g, java.lang.String text, java.lang.String fontName)static GeometryCreateShapeFunctions. fontGlyphMonospaced(Geometry g, java.lang.String text)static GeometryCreateShapeFunctions. fontGlyphSansSerif(Geometry g, java.lang.String text)static GeometryCreateShapeFunctions. fontGlyphSerif(Geometry g, java.lang.String text)static GeometryCreateShapeFunctions. fontGlyphSerifPointSize(Geometry g, java.lang.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)(package private) static Coordinate[]OrientationFunctions. getRing(Geometry g)static GeometryCreateShapeFunctions. grid(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 GeometryTriangleFunctions. incentre(Geometry g)static intNodingFunctions. interiorIntersectionCount(Geometry geom)static GeometryConstructionFunctions. interiorPoint(Geometry g)static GeometryOverlayCommonBitsRemovedFunctions. intersection(Geometry a, Geometry b)static GeometryOverlayEnhancedPrecisionFunctions. intersection(Geometry a, Geometry b)static GeometryOverlayFunctions. intersection(Geometry a, Geometry b)static GeometryOverlayNoSnapFunctions. intersection(Geometry a, Geometry b)static GeometrySelectionFunctions. intersects(Geometry a, Geometry mask)static booleanSpatialPredicateFunctions. intersects(Geometry a, Geometry b)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 booleanNodingFunctions. isNodingValid(Geometry geom)static booleanPointLocationFunctions. isPointInRing(Geometry g1, Geometry g2)static booleanGeometryFunctions. isRectangle(Geometry g)static booleanGeometryFunctions. isSimple(Geometry g)booleanGeometryPredicate. isTrue(Geometry geom)static booleanGeometryFunctions. isValid(Geometry g)static booleanValidationFunctions. isValidAllowSelfTouchingRingFormingHole(Geometry g)static booleanDistanceFunctions. isWithinDistance(Geometry a, Geometry b, double dist)static java.lang.StringJTSFunctions. jtsVersion(Geometry g)static GeometrySpatialIndexFunctions. kdTreeQuery(Geometry pts, Geometry queryEnv, double tolerance)static GeometrySpatialIndexFunctions. kdTreeQueryRepeated(Geometry pts, Geometry queryEnv, double tolerance)static GeometryCreateFractalShapeFunctions. kochSnowflake(Geometry g, int n)static doubleGeometryFunctions. length(Geometry g)static GeometrySelectionFunctions. lengthGreaterThan(Geometry a, double minLen)static GeometrySelectionFunctions. lengthLessThan(Geometry a, double maxLen)static GeometrySelectionFunctions. lengthZero(Geometry a)static GeometryJTSFunctions. logoBuffer(Geometry g, double distance)static GeometryJTSFunctions. logoLines(Geometry g)static GeometryConstructionFunctions. maximumDiameter(Geometry g)static doubleConstructionFunctions. maximumDiameterLength(Geometry g)static GeometryNodingFunctions. MCIndexNoding(Geometry geom)static GeometryNodingFunctions. MCIndexNodingWithPrecision(Geometry geom, 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. minimumBoundingCircle(Geometry g)static GeometryConstructionFunctions. minimumDiameter(Geometry g)static doubleConstructionFunctions. minimumDiameterLength(Geometry g)static GeometryConstructionFunctions. minimumRectangle(Geometry g)static GeometryDistanceFunctions. nearestPoints(Geometry a, Geometry b)static GeometryGeometryFunctions. normalize(Geometry g)static GeometryConstructionFunctions. octagonalEnvelope(Geometry g)static GeometryOffsetCurveFunctions. offsetCurve(Geometry geom, double distance)static intOrientationFunctions. orientationIndex(Geometry segment, Geometry ptGeom)static booleanSpatialPredicateFunctions. overlaps(Geometry a, Geometry b)static GeometryPolygonOverlayFunctions. overlaySnapRounded(Geometry g1, Geometry g2, double precisionTol)static GeometryTriangleFunctions. perpendicularBisectors(Geometry g)static GeometryPolygonizeFunctions. polygonize(Geometry g)private static GeometryPolygonizeFunctions. polygonize(Geometry g, boolean extractOnlyPolygonal)static GeometryPolygonizeFunctions. polygonizeAllErrors(Geometry g)static GeometryPolygonizeFunctions. polygonizeCutEdges(Geometry g)static GeometryPolygonizeFunctions. polygonizeDangles(Geometry g)static GeometryPolygonizeFunctions. polygonizeInvalidRingLines(Geometry g)static GeometryPolygonizeFunctions. polygonizePolygonal(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 GeometryPrecisionFunctions. reducePrecision(Geometry geom, double scaleFactor)static GeometryPrecisionFunctions. reducePrecisionPointwise(Geometry geom, double scaleFactor)static GeometryAffineTransformationFunctions. reflectInX(Geometry g)static GeometryAffineTransformationFunctions. reflectInY(Geometry g)static java.lang.StringSpatialPredicateFunctions. relate(Geometry a, Geometry b)static GeometryGeometryFunctions. reverse(Geometry g)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 GeometryNodingFunctions. scaledNoding(Geometry geom, double scaleFactor)Runs a ScaledNoder on input.static GeometryLineSegmentFunctions. segmentIntersection(Geometry g1, Geometry g2)static GeometryLineSegmentFunctions. segmentIntersectionDD(Geometry g1, Geometry g2)static booleanLineSegmentFunctions. segmentIntersects(Geometry g1, Geometry g2)private static GeometrySelectionFunctions. select(Geometry geom, GeometryPredicate pred)static GeometryLineHandlingFunctions. sequenceLines(Geometry g)static voidFunctionsUtil. showIndicator(Geometry geom)static GeometryCreateFractalShapeFunctions. sierpinskiCarpet(Geometry g, int n)static GeometrySimplificationFunctions. simplifyDP(Geometry g, double distance)static GeometrySimplificationFunctions. simplifyTP(Geometry g, double distance)static GeometrySimplificationFunctions. simplifyVW(Geometry g, double distance)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. snapRoundWithPointwisePrecisionReduction(Geometry geom, double scaleFactor)Reduces precision pointwise, then snap-rounds.static GeometrySnappingFunctions. snapToSelfAndClean(Geometry g, double distance)static GeometrySortingFunctions. sortByArea(Geometry g)static GeometrySortingFunctions. sortByLength(Geometry g)static GeometryCreateShapeFunctions. squircle(Geometry g, int nPts)static GeometrySpatialIndexFunctions. strTreeBounds(Geometry geoms)static GeometrySpatialIndexFunctions. strTreeNN(Geometry geoms, Geometry geom)static GeometrySpatialIndexFunctions. strTreeNNk(Geometry geoms, Geometry geom, int k)static GeometrySpatialIndexFunctions. strTreeQuery(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 GeometryOverlayNoSnapFunctions. symDifference(Geometry a, Geometry b)static Geometry[]FunctionsUtil. toGeometryArray(Geometry a, Geometry b)static GeometryConversionFunctions. toGeometryCollection(Geometry g, Geometry g2)static GeometryConversionFunctions. toLines(Geometry g1, Geometry g2)static GeometryConversionFunctions. toMultiPolygon(Geometry g1, Geometry g2)static GeometryConversionFunctions. toPoints(Geometry g1, Geometry g2)static booleanSpatialPredicateFunctions. touches(Geometry a, Geometry b)static GeometryAffineTransformationFunctions. transformByBaseline(Geometry g, Geometry destBaseline)static GeometryAffineTransformationFunctions. transformByVectors(Geometry g, Geometry control)static GeometryAffineTransformationFunctions. translateCentreToOrigin(Geometry g)static GeometryAffineTransformationFunctions. translateToOrigin(Geometry g)private static Coordinate[]TriangleFunctions. trianglePts(Geometry g)static GeometryOverlayFunctions. unaryUnion(Geometry a)static GeometryOverlayCommonBitsRemovedFunctions. union(Geometry a, Geometry b)static GeometryOverlayEnhancedPrecisionFunctions. union(Geometry a, Geometry b)static GeometryOverlayFunctions. union(Geometry a, Geometry b)static GeometryOverlayNoSnapFunctions. union(Geometry a, Geometry b)static GeometryOverlayFunctions. unionUsingGeometryCollection(Geometry a, Geometry b)static GeometrySelectionFunctions. valid(Geometry a)static GeometryAffineTransformationFunctions. viewport(Geometry g, Geometry gViewport)static GeometryTriangulationFunctions. voronoiDiagram(Geometry sitesGeom, Geometry clipGeom)static GeometryTriangulationFunctions. voronoiDiagramWithData(Geometry sitesGeom, Geometry clipGeom)static GeometrySelectionFunctions. within(Geometry a, Geometry mask)static booleanSpatialPredicateFunctions. within(Geometry a, Geometry b)static java.lang.StringWriterFunctions. writeGeoJSON(Geometry g)static java.lang.StringWriterFunctions. writeGeoJSONFixDecimal(Geometry g, int numDecimals)static java.lang.StringWriterFunctions. writeGML(Geometry geom)static java.lang.StringWriterFunctions. writeKML(Geometry geom)static java.lang.StringWriterFunctions. writeOra(Geometry g)static java.lang.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 private static java.lang.Object[]StaticMethodGeometryFunction. createFullArgs(Geometry g, java.lang.Object[] arg)Creates an arg array which includes the target geometry as the first argumentabstract java.lang.ObjectBaseGeometryFunction. invoke(Geometry geom, java.lang.Object[] args)java.lang.ObjectGeometryFunction. invoke(Geometry geom, java.lang.Object[] args)Invokes this function.java.lang.ObjectRepeaterGeometryFunction. invoke(Geometry geom, java.lang.Object[] args)java.lang.ObjectStaticMethodGeometryFunction. invoke(Geometry g, java.lang.Object[] arg)private java.lang.ObjectRepeaterGeometryFunction. invokeRepeated(Geometry geom, java.lang.Object[] args, double argStart) -
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)private GeometryBufferValidatedGeometryOperation. invokeBuffer(Geometry geom)static GeometryOverlayValidatedGeometryOperation. invokeGeometryOverlayMethod(int opCode, Geometry g0, Geometry g1)static GeometryTestCaseGeometryFunctions. minClearanceLine(Geometry g)Methods in org.locationtech.jtstest.geomop with parameters of type Geometry Modifier and Type Method Description static doubleOverlayValidatedGeometryOperation. areaDiff(Geometry g0, Geometry g1)private voidOverlayValidatedGeometryOperation. areaValidate(Geometry g0, Geometry g1)static GeometryTestCaseGeometryFunctions. bufferMitredJoin(Geometry g, double distance)private voidPreparedGeometryTeeOperation. checkAllPrepOps(Geometry g1, Geometry g2)private voidBufferValidatedGeometryOperation. checkContainment(Geometry geom, Geometry buffer)private voidPreparedGeometryTeeOperation. checkContains(PreparedGeometry pg, Geometry g2)private voidPreparedGeometryTeeOperation. checkContainsProperly(PreparedGeometry pg, Geometry g2)private voidPreparedGeometryTeeOperation. checkCovers(PreparedGeometry pg, Geometry g2)private voidBufferValidatedGeometryOperation. checkDistance(Geometry geom, double distance, Geometry buffer)private voidBufferValidatedGeometryOperation. checkEmpty(Geometry geom)private voidPreparedGeometryTeeOperation. checkIntersects(PreparedGeometry pg, Geometry g2)static booleanPreparedGeometryOperation.PreparedGeometryOp. contains(Geometry g1, Geometry g2)static booleanPreparedGeometryTeeOperation.PreparedGeometryOp. contains(Geometry g1, Geometry g2)static booleanPreparedGeometryOperation.PreparedGeometryOp. containsProperly(Geometry g1, Geometry g2)private static booleanPreparedGeometryTeeOperation. containsProperly(Geometry g1, Geometry g2)static booleanPreparedGeometryOperation.PreparedGeometryOp. covers(Geometry g1, Geometry g2)static booleanPreparedGeometryTeeOperation.PreparedGeometryOp. covers(Geometry g1, Geometry g2)private static java.lang.Object[]StaticMethodGeometryFunction. createFullArgs(Geometry g, java.lang.Object[] arg)Creates an arg array which includes the target geometry as the first argumentstatic GeometryTestCaseGeometryFunctions. densify(Geometry g, double distance)static booleanPreparedGeometryOperation.PreparedGeometryOp. intersects(Geometry g1, Geometry g2)static booleanPreparedGeometryTeeOperation.PreparedGeometryOp. intersects(Geometry g1, Geometry g2)abstract java.lang.ObjectBaseGeometryFunction. invoke(Geometry geom, java.lang.Object[] args)ResultBufferValidatedGeometryOperation. invoke(java.lang.String opName, Geometry geometry, java.lang.Object[] args)Invokes the named operationjava.lang.ObjectGeometryFunction. invoke(Geometry geom, java.lang.Object[] args)Invokes this function.ResultGeometryFunctionOperation. invoke(java.lang.String opName, Geometry geometry, java.lang.Object[] args)private ResultGeometryFunctionOperation. invoke(GeometryFunction func, Geometry geometry, java.lang.Object[] args)ResultGeometryMethodOperation. invoke(java.lang.String opName, Geometry geometry, java.lang.Object[] args)ResultGeometryOperation. invoke(java.lang.String opName, Geometry geometry, java.lang.Object[] args)Invokes an operation on aGeometry.ResultLoggingGeometryOperation. invoke(java.lang.String opName, Geometry geometry, java.lang.Object[] args)ResultOverlayValidatedGeometryOperation. invoke(java.lang.String opName, Geometry geometry, java.lang.Object[] args)Invokes the named operationResultPreparedGeometryOperation. invoke(java.lang.String opName, Geometry geometry, java.lang.Object[] args)Invokes the named operationjava.lang.ObjectStaticMethodGeometryFunction. invoke(Geometry g, java.lang.Object[] arg)ResultTeeGeometryOperation. invoke(java.lang.String opName, Geometry geometry, java.lang.Object[] args)Invokes the named operationprivate GeometryBufferValidatedGeometryOperation. invokeBuffer(Geometry geom)private ResultBufferValidatedGeometryOperation. invokeBufferOpValidated(Geometry geometry, java.lang.Object[] args)static GeometryOverlayValidatedGeometryOperation. invokeGeometryOverlayMethod(int opCode, Geometry g0, Geometry g1)private ResultGeometryMethodOperation. invokeMethod(java.lang.reflect.Method method, Geometry geometry, java.lang.Object[] args)private ResultPreparedGeometryOperation. invokePreparedOp(java.lang.String opName, Geometry geometry, java.lang.Object[] args)ResultOverlayValidatedGeometryOperation. invokeValidatedOverlayOp(int opCode, Geometry g0, java.lang.Object[] args)Invokes an overlay op, optionally using snapping, and optionally validating the result.private booleanBufferValidatedGeometryOperation. isEmptyBufferExpected(Geometry geom)booleanGeometryMatcher. match(Geometry a, Geometry b)booleanNormalizedGeometryMatcher. match(Geometry a, Geometry b)static doubleTestCaseGeometryFunctions. minClearance(Geometry g)static GeometryTestCaseGeometryFunctions. minClearanceLine(Geometry g)protected voidPreparedGeometryTeeOperation. runTeeOp(java.lang.String opName, Geometry geometry, java.lang.Object[] args)protected abstract voidTeeGeometryOperation. runTeeOp(java.lang.String opName, Geometry geometry, java.lang.Object[] args)private voidBufferValidatedGeometryOperation. validate(Geometry geom, Geometry buffer)private voidOverlayValidatedGeometryOperation. validate(int opCode, Geometry g0, Geometry g1, Geometry result) -
Uses of Geometry in org.locationtech.jtstest.test
Fields in org.locationtech.jtstest.test declared as Geometry Modifier and Type Field Description private GeometryTestCase. expectedBoundaryprivate GeometryTestCase. expectedCentroidprivate GeometryTestCase. expectedConvexHullprivate GeometryTestCase. expectedDifferenceprivate GeometryTestCase. expectedIntersectionprivate GeometryTestCase. expectedSymDifferenceprivate GeometryTestCase. expectedUnionprivate Geometry[]TestCase. geomMethods 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)private GeometryTestCase. toNullOrGeometry(java.lang.String wellKnownText)Methods in org.locationtech.jtstest.test with parameters of type Geometry Modifier and Type Method Description (package private) voidTestCase. assertEqualsExact(Geometry g1, Geometry g2, java.lang.String msg)(package private) voidTestCase. init(java.lang.String name, java.lang.String description, java.lang.String wkta, java.lang.String wktb, java.lang.String expectedIM, Geometry expectedConvexHull, Geometry expectedIntersection, Geometry expectedUnion, Geometry expectedDifference, Geometry expectedSymDifference, Geometry expectedBoundary)(package private) IntersectionMatrixTestCase. relate(Geometry a, Geometry b)voidTestCase. setExpectedBoundary(Geometry expectedBoundary)voidTestCase. setExpectedCentroid(Geometry expectedCentroid)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
Fields in org.locationtech.jtstest.testbuilder declared as Geometry Modifier and Type Field Description (package private) Geometry[]GeometryInputDialog. geomMethods in org.locationtech.jtstest.testbuilder that return Geometry Modifier and Type Method Description private GeometryGeometryEditPanel. flashPointGeom(Geometry g)GeometryCoordinateNode. getGeometry()abstract GeometryGeometricObjectNode. getGeometry()GeometryGeometryCollectionNode. getGeometry()(package private) GeometryGeometryInputDialog. getGeometry(int index)GeometryLineStringNode. getGeometry()GeometryPointNode. getGeometry()GeometryPolygonNode. getGeometry()private static GeometryGeometryTreePanel. getGeometryFromNode(java.lang.Object value)GeometryGeometryTreePanel. getSelectedGeometry()(package private) GeometryGeometryInputDialog. parseGeometry(javax.swing.text.JTextComponent txt, java.awt.Color clr)Methods in org.locationtech.jtstest.testbuilder with parameters of type Geometry Modifier and Type Method Description private static doubleGeometryNode. area(Geometry geom)private java.lang.StringTestCaseTextDialog. convertToGML(Geometry g)private java.lang.StringTestCaseTextDialog. convertToWKB(Geometry g)private java.lang.StringTestCaseTextDialog. convertToWKT(Geometry g, boolean isFormatted)static GeometryNodeGeometryNode. create(Geometry geom, GeometryContext context)voidGeometryEditPanel. flash(Geometry g)private GeometryGeometryEditPanel. flashPointGeom(Geometry g)private java.lang.StringTestListPanel.TestListCellRenderer. geometrySignature(Geometry geom)private static java.lang.StringGeometryNode. geometryText(Geometry geom, int size, java.lang.String tag)private static booleanGeometryNode. hasArea(Geometry geom)private static booleanGeometryNode. hasLength(Geometry geom)private CoordinateJTSTestBuilderFrame. pickOffset(Geometry a, Geometry b)voidGeometryTreePanel. populate(Geometry geom, int source)voidGeometryInspectorDialog. setGeometry(java.lang.String tag, Geometry geometry)voidInspectorPanel. setGeometry(java.lang.String tag, Geometry a, int source)private voidResultWKTPanel. setGeometry(Geometry g)voidWKTPanel. setText(Geometry g, int geomIndex)private voidStatsPanel. writeGeomStats(java.lang.String label, Geometry g, java.lang.StringBuffer buf)voidGeometryEditPanel. zoom(Geometry geom)Constructors in org.locationtech.jtstest.testbuilder with parameters of type Geometry Constructor Description GeometryNode(Geometry geom, int size, java.lang.String tag, GeometryContext context)GeometryNode(Geometry geom, GeometryContext context)GeometryTreeModel(Geometry geom, int source) -
Uses of Geometry in org.locationtech.jtstest.testbuilder.controller
Methods in org.locationtech.jtstest.testbuilder.controller that return Geometry Modifier and Type Method Description static GeometryJTSTestBuilderController. getGeometryA()static GeometryJTSTestBuilderController. getGeometryB()Methods in org.locationtech.jtstest.testbuilder.controller with parameters of type Geometry Modifier and Type Method Description static voidJTSTestBuilderController. addTestCase(Geometry[] geom, java.lang.String name)static voidJTSTestBuilderController. extractComponentsToTestCase(Geometry aoi) -
Uses of Geometry in org.locationtech.jtstest.testbuilder.geom
Fields in org.locationtech.jtstest.testbuilder.geom declared as Geometry Modifier and Type Field Description private GeometryComponentLocater. aoiprivate GeometryGeometryLocation. componentThe Geometry component containing the locationprivate GeometryGeometryPointLocater.NearestSegmentLocationFilter. componentprivate GeometryAdjacentVertexFinder. geomprivate GeometryGeometryPointLocater. geomprivate GeometryNearestPointFinder. geomprivate GeometryVertexLocater. geomprivate GeometryGeometryLocation. parentThe top-level geometry containing the locationprivate GeometryComponentLocater. parentGeomprivate GeometryFacetLocater. parentGeomMethods 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)private GeometryComponentLocater. createAOI(Coordinate queryPt, double tolerance)static GeometryGeometryBoxDeleter. delete(Geometry geom, Envelope env)GeometryGeometryLocation. delete()static GeometryGeometryVertexDeleter. delete(Geometry geom, LineString line, int vertexIndex)private static GeometryGeometryBoxDeleter. deleteComponents(Geometry geom, Envelope env)private static GeometryGeometryBoxDeleter. deleteVertices(Geometry geom, Envelope env)GeometryGeometryBoxDeleter.BoxDeleteComponentOperation. edit(Geometry geometry, GeometryFactory factory)GeometryGeometryLocation. getComponent()GeometryGeometryPointLocater.NearestSegmentLocationFilter. getComponent()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)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)GeometryGeometryCombiner. combine(Geometry orig, Geometry geom)static GeometryGeometryBoxDeleter. delete(Geometry geom, Envelope env)static GeometryGeometryVertexDeleter. delete(Geometry geom, LineString line, int vertexIndex)private static GeometryGeometryBoxDeleter. deleteComponents(Geometry geom, Envelope env)private static GeometryGeometryBoxDeleter. deleteVertices(Geometry geom, Envelope env)GeometryGeometryBoxDeleter.BoxDeleteComponentOperation. edit(Geometry geometry, GeometryFactory factory)Coordinate[]GeometryBoxDeleter.BoxDeleteVertexOperation. edit(Coordinate[] coords, Geometry geometry)Coordinate[]GeometryVertexDeleter.DeleteVertexOperation. edit(Coordinate[] coords, Geometry geometry)Coordinate[]GeometryVertexInserter.InsertVertexOperation. edit(Coordinate[] coords, Geometry geometry)Coordinate[]GeometryVertexMover.MoveVertexOperation. edit(Coordinate[] coords, Geometry geometry)static java.util.ListGeometryCombiner. extractElements(Geometry geom, boolean skipEmpty)voidGeometryPointLocater.NearestSegmentLocationFilter. filter(Geometry geom)private voidComponentLocater. findComponents(java.util.Stack path, Geometry geom, java.util.List components)private voidFacetLocater. findLocations(java.util.Stack path, Geometry geom, java.util.List locations)private voidFacetLocater. findLocations(java.util.Stack path, Geometry compGeom, CoordinateSequence seq, java.util.List locations)private voidFacetLocater. findLocations(Geometry geom, java.util.List locations)static CoordinateNearestPointFinder. findNearestPoint(Geometry geom, Coordinate pt, double tolerance)private static PolygonGeometryCombiner. findPolygonContaining(Geometry geom, Coordinate pt)private voidFacetLocater. findSegmentLocations(java.util.Stack path, Geometry compGeom, CoordinateSequence seq, java.util.List locations)private voidFacetLocater. findVertexLocations(java.util.Stack path, Geometry compGeom, CoordinateSequence seq, java.util.List locations)static Coordinate[]AdjacentVertexFinder. findVertices(Geometry geom, Coordinate testPt)java.util.ListComponentLocater. getComponents(Geometry aoi)static GeometryGeometryVertexInserter. insert(Geometry geom, LineString line, int segIndex, Coordinate newVertex)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 java.lang.StringGeometryUtil. metricsSummary(Geometry g)static GeometryGeometryVertexMover. move(Geometry geom, Coordinate fromLoc, Coordinate toLoc)static GeometryGeometryCombiner. replace(Geometry parent, Geometry original, Geometry replacement)static java.lang.StringGeometryUtil. structureSummary(Geometry g)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.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)(package private) double[]MultiLineHandler. zMinMax(Geometry g)(package private) double[]MultiPointHandler. zMinMax(Geometry g)(package private) double[]PolygonHandler. zMinMax(Geometry g) -
Uses of Geometry in org.locationtech.jtstest.testbuilder.model
Fields in org.locationtech.jtstest.testbuilder.model declared as Geometry Modifier and Type Field Description private GeometryGeometryTransferable. geomprivate Geometry[]TestCaseEdit. geomprivate GeometryStaticGeometryContainer. geometryprivate GeometryTestCaseEdit. resultGeomprivate Geometry[]GeometryStretcherView. stretchGeomMethods in org.locationtech.jtstest.testbuilder.model that return Geometry Modifier and Type Method Description private static GeometryTestCaseEdit. cloneGeometry(Geometry geom)private GeometryLayerList. extractComponents(Geometry parentGeom, Geometry aoi)GeometryLayerList. getComponent(Coordinate pt, double tolerance)Geometry[]LayerList. getComponents(Geometry aoi)GeometryTestRunnerTestCaseAdapter. getExpectedBoundary()GeometryTestRunnerTestCaseAdapter. getExpectedConvexHull()GeometryTestRunnerTestCaseAdapter. getExpectedDifference()GeometryTestRunnerTestCaseAdapter. getExpectedIntersection()GeometryTestRunnerTestCaseAdapter. getExpectedSymDifference()GeometryTestRunnerTestCaseAdapter. getExpectedUnion()Geometry[]TestCaseEdit. getGeometries()GeometryGeometryContainer. getGeometry()GeometryGeometryEditModel. getGeometry()GeometryGeometryEditModel. getGeometry(int i)GeometryGeometryStretcherView.StretchedGeometryContainer. getGeometry()GeometryIndexedGeometryContainer. getGeometry()GeometryLayer. getGeometry()GeometryResultGeometryContainer. getGeometry()GeometryStaticGeometryContainer. getGeometry()GeometryTestCaseEdit. getGeometry(int i)GeometryTestRunnerTestCaseAdapter. getGeometry(int index)GeometryGeometryEditModel. getResult()GeometryTestCaseEdit. getResult()GeometryGeometryStretcherView. getStretchedGeometry(int index)private GeometryTestBuilderModel. readGeometryText(java.lang.String geomStr)GeometryTestRunnerTestCaseAdapter. toGeometry(Test test)Methods in org.locationtech.jtstest.testbuilder.model with parameters of type Geometry Modifier and Type Method Description voidTestBuilderModel. addCase(Geometry[] geoms)voidTestBuilderModel. addCase(Geometry[] geoms, java.lang.String name)private static GeometryTestCaseEdit. cloneGeometry(Geometry geom)private voidHtmlWriter. createGifFile(java.lang.String filenameNoPath, Geometry a, Geometry b, Geometry spatialFunction, boolean showingAB, int imageWidth, int imageHeight)private voidHtmlWriter. createGifFile(java.lang.String filenameNoPath, Geometry a, Geometry b, Geometry result, boolean showingAB, int imageWidth, int imageHeight, boolean zoomToFullExtent)private voidPNGWriter. createPNGFile(java.lang.String filenameNoPath, Geometry a, Geometry b, Geometry result, int imageWidth, int imageHeight)private GeometryLayerList. extractComponents(Geometry parentGeom, Geometry aoi)Geometry[]LayerList. getComponents(Geometry aoi)private static java.lang.StringXMLTestWriter. getGeometryArgPairCode(Geometry geom0, Geometry geom1)private static java.lang.StringXMLTestWriter. getGeometryCode(Geometry geom)java.lang.StringTestBuilderModel. getResultDisplayString(Geometry g)java.lang.StringXMLTestWriter. getTestXML(Geometry geometry, java.lang.String opName, java.lang.String[] arguments, boolean useWKT)static java.lang.StringGeometryEditModel. getText(Geometry geom, int textType)private java.lang.StringXMLTestWriter. getWKTorWKB(Geometry g, boolean useWKT)voidTestRunnerTestCaseAdapter. setExpectedBoundary(Geometry expectedBoundary)voidTestRunnerTestCaseAdapter. setExpectedCentroid(Geometry expected)voidTestRunnerTestCaseAdapter. setExpectedConvexHull(Geometry expectedConvexHull)voidTestRunnerTestCaseAdapter. setExpectedDifference(Geometry expectedDifference)voidTestRunnerTestCaseAdapter. setExpectedIntersection(Geometry expectedIntersection)private voidTestRunnerTestCaseAdapter. setExpectedSpatialFunction(java.lang.String opName, Geometry expectedGeometry)voidTestRunnerTestCaseAdapter. setExpectedSymDifference(Geometry expectedSymDifference)voidTestRunnerTestCaseAdapter. setExpectedUnion(Geometry expectedUnion)voidGeometryEditModel. setGeometry(int i, Geometry g)voidGeometryEditModel. setGeometry(Geometry g)voidTestCaseEdit. setGeometry(int i, Geometry geom)voidTestRunnerTestCaseAdapter. setGeometry(int index, Geometry g)voidTestCaseEdit. setResult(Geometry geom)static java.lang.StringGeometryEditModel. toStringVeryLarge(Geometry g)private java.lang.StringJavaTestWriter. write(Geometry geometry)private java.lang.StringSVGTestWriter. write(Geometry geometry)private java.lang.StringSVGTestWriter. writeGeometryStyled(Geometry g, java.lang.String fillClr, java.lang.String strokeClr)Constructors in org.locationtech.jtstest.testbuilder.model with parameters of type Geometry Constructor Description GeometryTransferable(Geometry geom)GeometryTransferable(Geometry geom, boolean isFormatted)StaticGeometryContainer(Geometry geometry)TestCaseEdit(Geometry[] geom)TestCaseEdit(Geometry[] geom, java.lang.String name) -
Uses of Geometry in org.locationtech.jtstest.testbuilder.topostretch
Fields in org.locationtech.jtstest.testbuilder.topostretch declared as Geometry Modifier and Type Field Description private GeometryGeometryVerticesMover. geomprivate Geometry[]TopologyStretcher. inputGeomsMethods in org.locationtech.jtstest.testbuilder.topostretch that return Geometry Modifier and Type Method Description GeometryGeometryVerticesMover. move()static GeometryGeometryVerticesMover. move(Geometry geom, java.util.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 Coordinate[]GeometryVerticesMover.MoveVerticesOperation. edit(Coordinate[] coords, Geometry geometry)private java.util.ListTopologyStretcher. extractLineStrings(Geometry[] geom, Envelope mask)static GeometryGeometryVerticesMover. move(Geometry geom, java.util.Map moves)Constructors in org.locationtech.jtstest.testbuilder.topostretch with parameters of type Geometry Constructor Description GeometryVerticesMover(Geometry geom, java.util.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 java.lang.StringGeometryLocationsWriter. OLDwriteLocation(Geometry geom, Coordinate p, double tolerance)java.lang.StringGeometryLocationsWriter. writeComponentLocation(Geometry geom, Coordinate p, double tolerance)java.lang.StringGeometryLocationsWriter. writeFacetLocation(Geometry geom, Coordinate p, double tolerance) -
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 that return Geometry Modifier and Type Method Description private GeometryLayerRenderer. getGeometry()Methods in org.locationtech.jtstest.testbuilder.ui.render with parameters of type Geometry Modifier and Type Method Description static voidGeometryPainter. paint(java.awt.Graphics2D g, Viewport viewport, Geometry geometry, Style style)private static voidGeometryPainter. paint(Geometry geometry, ShapeWriter converter, java.awt.Graphics2D g, java.awt.Color lineColor, java.awt.Color fillColor)private static voidGeometryPainter. paint(Geometry geometry, ShapeWriter converter, java.awt.Graphics2D g, java.awt.Color lineColor, java.awt.Color fillColor, java.awt.Stroke stroke)static voidGeometryPainter. paint(Geometry geometry, Viewport viewport, java.awt.Graphics2D g, java.awt.Color lineColor, java.awt.Color fillColor)Paints a geometry onto a graphics context, using a given Viewport.static voidGeometryPainter. paint(Geometry geometry, Viewport viewport, java.awt.Graphics2D g, java.awt.Color lineColor, java.awt.Color fillColor, java.awt.Stroke stroke)private voidLayerRenderer. render(java.awt.Graphics2D g, Viewport viewport, Geometry geometry, Layer layer)private voidLayerRenderer. renderCustomFill(java.awt.Graphics2D g, Viewport viewport, Geometry gc, Layer layer)private voidLayerRenderer. renderGeom(java.awt.Graphics2D g, Viewport viewport, Geometry geometry, Style style) -
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, java.awt.Graphics2D g)voidComponentStyle. paint(Geometry geom, Viewport viewport, java.awt.Graphics2D g)voidDataLabelStyle. paint(Geometry geom, Viewport viewport, java.awt.Graphics2D g2d)voidLayerStyle. paint(Geometry geom, Viewport viewport, java.awt.Graphics2D g)voidLineStringStyle. paint(Geometry geom, Viewport viewport, java.awt.Graphics2D g)voidStyle. paint(Geometry geom, Viewport viewport, java.awt.Graphics2D g)voidStyleList. paint(Geometry geom, Viewport viewport, java.awt.Graphics2D g)voidVertexStyle. paint(Geometry geom, Viewport viewport, java.awt.Graphics2D g)protected abstract voidComponentStyle. paintComponent(Geometry geom, Viewport viewport, java.awt.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
Fields in org.locationtech.jtstest.testrunner declared as Geometry Modifier and Type Field Description private GeometryTestCase. aprivate GeometryTestCase. bprivate GeometryGeometryResult. geometryprivate GeometryTest. targetGeometryMethods in org.locationtech.jtstest.testrunner that return Geometry Modifier and Type Method Description GeometryGeometryResult. getGeometry()GeometryTestCase. getGeometryA()GeometryTestCase. getGeometryB()private GeometryTestReader. readGeometry(org.jdom2.Element geometryElement, java.io.File wktFile)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, java.lang.String opName, java.lang.Object[] args, Result actualResult, Result expectedResult, double tolerance)Tests whether the two results are equal within the given tolerance.booleanEqualityResultMatcher. isMatch(Geometry geom, java.lang.String opName, java.lang.Object[] args, Result actualResult, Result expectedResult, double tolerance)Tests whether the two results are equal within the given tolerance.booleanNullResultMatcher. isMatch(Geometry geom, java.lang.String opName, java.lang.Object[] args, Result actualResult, Result expectedResult, double tolerance)Always reports a match.booleanResultMatcher. isMatch(Geometry geom, java.lang.String opName, java.lang.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)private java.lang.StringTestCase. xml(java.lang.String id, Geometry g, java.io.File wktFile, WKTWriter writer)Constructors in org.locationtech.jtstest.testrunner with parameters of type Geometry Constructor Description GeometryResult(Geometry geometry)TestCase(java.lang.String description, Geometry a, Geometry b, java.io.File aWktFile, java.io.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(java.lang.String s)GeometryMultiFormatReader. read(java.lang.String geomStr)GeometryWKTOrWKBReader. read(java.lang.String geomStr)private GeometryGeoJsonMultiReader. readFeatureCollection(java.lang.String s)Extracts all Geometry object substrings and reads themstatic GeometryIOUtil. readFile(java.lang.String filename, GeometryFactory geomFact)private GeometryMultiFormatReader. readGeoJSON(java.lang.String str)private static GeometryIOUtil. readGeoJSONFile(java.lang.String filename, GeometryFactory geomFact)static GeometryIOUtil. readGeoJSONString(java.lang.String s, GeometryFactory geomFact)private GeometryGeoJsonMultiReader. readGeometry(java.lang.String s)private GeometryMultiFormatReader. readGML(java.lang.String str)private static GeometryIOUtil. readGMLFile(java.lang.String filename, GeometryFactory geomFact)static GeometryIOUtil. readGMLString(java.lang.String gml, GeometryFactory geomFact)private static GeometryIOUtil. readShapefile(java.lang.String filename, GeometryFactory geomFact)private static GeometryIOUtil. readWKBHexFile(java.lang.String filename, GeometryFactory geomFact)static GeometryIOUtil. readWKBHexString(java.lang.String wkb, GeometryFactory geomFact)private static GeometryIOUtil. readWKTFile(java.lang.String filename, GeometryFactory geomFact)static GeometryIOUtil. readWKTString(java.lang.String wkt, GeometryFactory geomFact)Reads one or more WKT geometries from a string.Methods in org.locationtech.jtstest.util.io with parameters of type Geometry Modifier and Type Method Description private voidSVGWriter. appendGeometryTaggedText(Geometry geometry, int level, java.io.Writer writer)Converts aGeometryto <Geometry Tagged Text> format, then appends it to the writer.java.lang.StringSVGWriter. write(Geometry geometry)Converts aGeometryto its Well-known Text representation.voidSVGWriter. write(Geometry geometry, java.io.Writer writer)Converts aGeometryto its Well-known Text representation.java.lang.StringSVGWriter. writeFormatted(Geometry geometry)Same aswrite, but with newlines and spaces to make the well-known text more readable.private voidSVGWriter. writeFormatted(Geometry geometry, boolean useFormatting, java.io.Writer writer)Converts aGeometryto its Well-known Text representation.voidSVGWriter. writeFormatted(Geometry geometry, java.io.Writer writer)Same aswrite, but with newlines and spaces to make the well-known text more readable.
-