Uses of Class
org.meteoinfo.jts.geom.Geometry
-
-
Uses of Geometry in org.meteoinfo.chart
Methods in org.meteoinfo.chart that return Geometry Modifier and Type Method Description GeometryChartText. toGeometry(GeometryFactory factory)To geometry method -
Uses of Geometry in org.meteoinfo.jts.algorithm
Methods in org.meteoinfo.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.Methods in org.meteoinfo.jts.algorithm with parameters of type Geometry Modifier and Type Method Description voidCentroidArea. add(Geometry geom)Deprecated.Adds the area defined by a Geometry to the centroid total.voidCentroidLine. add(Geometry geom)Deprecated.Adds the linear components of by a Geometry to the centroid total.voidCentroidPoint. add(Geometry geom)Deprecated.Adds the point(s) defined by a Geometry to the centroid total.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.Constructors in org.meteoinfo.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.meteoinfo.jts.algorithm.distance
Methods in org.meteoinfo.jts.algorithm.distance with parameters of type Geometry Modifier and Type Method Description static voidDistanceToPoint. computeDistance(Geometry geom, Coordinate pt, PointPairDistance ptDist)static doubleDiscreteHausdorffDistance. distance(Geometry g0, Geometry g1)static doubleDiscreteHausdorffDistance. distance(Geometry g0, Geometry g1, double densifyFrac)Constructors in org.meteoinfo.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.meteoinfo.jts.algorithm.locate
Methods in org.meteoinfo.jts.algorithm.locate with parameters of type Geometry Modifier and Type Method Description static intSimplePointInAreaLocator. locate(Coordinate p, Geometry geom)Constructors in org.meteoinfo.jts.algorithm.locate with parameters of type Geometry Constructor Description IndexedPointInAreaLocator(Geometry g)Creates a new locator for a givenGeometrySimplePointInAreaLocator(Geometry geom) -
Uses of Geometry in org.meteoinfo.jts.algorithm.match
Methods in org.meteoinfo.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.meteoinfo.jts.awt
Methods in org.meteoinfo.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.meteoinfo.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.meteoinfo.jts.densify
Methods in org.meteoinfo.jts.densify that return Geometry Modifier and Type Method Description static GeometryDensifier. densify(Geometry geom, double distanceTolerance)Densifies a geometry using a given distance tolerance, and respecting the input geometry'sPrecisionModel.GeometryDensifier. getResultGeometry()Gets the densified geometry.Methods in org.meteoinfo.jts.densify with parameters of type Geometry Modifier and Type Method Description static GeometryDensifier. densify(Geometry geom, double distanceTolerance)Densifies a geometry using a given distance tolerance, and respecting the input geometry'sPrecisionModel.Constructors in org.meteoinfo.jts.densify with parameters of type Geometry Constructor Description Densifier(Geometry inputGeom)Creates a new densifier instance. -
Uses of Geometry in org.meteoinfo.jts.dissolve
Methods in org.meteoinfo.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.meteoinfo.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.meteoinfo.jts.edgegraph
Methods in org.meteoinfo.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.meteoinfo.jts.geom
Subclasses of Geometry in org.meteoinfo.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 of (@link LineString}s.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.meteoinfo.jts.geom declared as Geometry Modifier and Type Field Description protected Geometry[]GeometryCollection. geometriesInternal representation of thisGeometryCollection.Methods in org.meteoinfo.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()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 aGeometry representing the closure of the point-set which is the union of the points in this Geometrywhich 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.meteoinfo.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.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.protected static booleanGeometry. hasNonEmptyElements(Geometry[] geometries)Returns true if the array contains any non-emptyGeometrys.GeometryGeometry. intersection(Geometry other)Computes aGeometryrepresenting the point-set which is common to both thisGeometryand theotherGeometry.booleanGeometry. intersects(Geometry g)Tests whether this geometry intersects the argument geometry.protected booleanGeometry. isEquivalentClass(Geometry other)Returns whether the twoGeometrys are equal, from the point of view of theequalsExactmethod.protected booleanLineString. isEquivalentClass(Geometry other)booleanGeometry. isWithinDistance(Geometry geom, double distance)Tests whether the distance from thisGeometryto another is less than or equal to a specified value.static GeometryOctagonalEnvelope. octagonalEnvelope(Geometry geom)Gets the octagonal envelope of a geometrybooleanGeometry. overlaps(Geometry g)Tests whether this geometry overlaps the specified geometry.IntersectionMatrixGeometry. relate(Geometry g)Returns the DE-9IMIntersectionMatrixfor the twoGeometrys.booleanGeometry. relate(Geometry g, java.lang.String intersectionPattern)Tests whether the elements in the DE-9IMIntersectionMatrixfor the twoGeometrys match the elements inintersectionPattern.GeometryGeometry. symDifference(Geometry other)Computes aGeometry representing the closure of the point-set which is the union of the points in this Geometrywhich 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.meteoinfo.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.meteoinfo.jts.geom.prep
Methods in org.meteoinfo.jts.geom.prep that return Geometry Modifier and Type Method Description GeometryPreparedGeometry. getGeometry()Gets the originalGeometrywhich has been prepared.Methods in org.meteoinfo.jts.geom.prep with parameters of type Geometry Modifier and Type Method Description booleanPreparedGeometry. contains(Geometry geom)Tests whether the baseGeometrycontains a given geometry.booleanPreparedPolygon. contains(Geometry g)booleanPreparedGeometry. containsProperly(Geometry geom)Tests whether the baseGeometryproperly contains a given geometry.booleanPreparedPolygon. containsProperly(Geometry g)booleanPreparedGeometry. coveredBy(Geometry geom)Tests whether the baseGeometryis covered by a given geometry.booleanPreparedGeometry. covers(Geometry geom)Tests whether the baseGeometrycovers a given geometry.booleanPreparedPolygon. covers(Geometry g)PreparedGeometryPreparedGeometryFactory. create(Geometry geom)Creates a newPreparedGeometryappropriate for the argumentGeometry.booleanPreparedGeometry. crosses(Geometry geom)Tests whether the baseGeometrycrosses a given geometry.booleanPreparedGeometry. disjoint(Geometry geom)Tests whether the baseGeometryis disjoint from a given geometry.booleanPreparedGeometry. intersects(Geometry geom)Tests whether the baseGeometryintersects a given geometry.booleanPreparedLineString. intersects(Geometry g)booleanPreparedPoint. intersects(Geometry g)Tests whether this point intersects aGeometry.booleanPreparedPolygon. intersects(Geometry g)booleanPreparedGeometry. overlaps(Geometry geom)Tests whether the baseGeometryoverlaps a given geometry.static PreparedGeometryPreparedGeometryFactory. prepare(Geometry geom)Creates a newPreparedGeometryappropriate for the argumentGeometry.booleanPreparedGeometry. touches(Geometry geom)Tests whether the baseGeometrytouches a given geometry.booleanPreparedGeometry. within(Geometry geom)Tests whether the baseGeometryis within a given geometry. -
Uses of Geometry in org.meteoinfo.jts.geom.util
Methods in org.meteoinfo.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)static GeometryLinearComponentExtracter. getGeometry(Geometry geom)Extracts the linear components from a singleGeometryand returns them as either a {@link LineString) or {@link MultiLineString}.static GeometryLinearComponentExtracter. getGeometry(Geometry geom, boolean forceToLineString)Extracts the linear components from a singleGeometryand returns them as either a {@link LineString) or {@link MultiLineString}.static GeometryLineStringExtracter. getGeometry(Geometry geom)Extracts theLineStringelements from a singleGeometryand returns them as either a {@link LineString) or {@link MultiLineString}.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)Cretaes a new @link Geometry which 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.meteoinfo.jts.geom.util with parameters of type Geometry Modifier and Type Method Description voidShortCircuitedGeometryVisitor. applyTo(Geometry geom)static GeometryGeometryCombiner. combine(Geometry g0, Geometry g1)Combines two geometries.static GeometryGeometryCombiner. combine(Geometry g0, Geometry g1, Geometry g2)Combines three geometries.abstract Coordinate[]GeometryEditor.CoordinateOperation. edit(Coordinate[] coordinates, Geometry geometry)Edits the array ofCoordinates from aGeometry.GeometryGeometryEditor.CoordinateOperation. edit(Geometry geometry, GeometryFactory factory)abstract CoordinateSequenceGeometryEditor.CoordinateSequenceOperation. edit(CoordinateSequence coordSeq, Geometry geometry)Edits aCoordinateSequencefrom aGeometry.GeometryGeometryEditor.CoordinateSequenceOperation. edit(Geometry geometry, GeometryFactory factory)GeometryGeometryEditor. edit(Geometry geometry, GeometryEditor.GeometryEditorOperation operation)Edit the inputGeometrywith the given edit operation.GeometryGeometryEditor.GeometryEditorOperation. edit(Geometry geometry, GeometryFactory factory)Edits a Geometry by returning a new Geometry with a modification.GeometryGeometryEditor.NoOpGeometryOperation. edit(Geometry geometry, GeometryFactory factory)static 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.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 a {@link LineString) or {@link MultiLineString}.static GeometryLinearComponentExtracter. getGeometry(Geometry geom, boolean forceToLineString)Extracts the linear components from a singleGeometryand returns them as either a {@link LineString) or {@link MultiLineString}.static GeometryLineStringExtracter. getGeometry(Geometry geom)Extracts theLineStringelements from a singleGeometryand returns them as either a {@link LineString) or {@link MultiLineString}.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)Cretaes a new @link Geometry which 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.meteoinfo.jts.geomgraph
Methods in org.meteoinfo.jts.geomgraph that return Geometry Modifier and Type Method Description GeometryGeometryGraph. getGeometry()Constructors in org.meteoinfo.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.meteoinfo.jts.io
Methods in org.meteoinfo.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.Methods in org.meteoinfo.jts.io with parameters of type Geometry Modifier and Type Method Description byte[]WKBWriter. write(Geometry geom)Writes aGeometryinto a byte array.voidWKBWriter. write(Geometry geom, OutStream os)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.voidWKTWriter. writeFormatted(Geometry geometry, java.io.Writer writer)Same aswrite, but with newlines and spaces to make the well-known text more readable. -
Uses of Geometry in org.meteoinfo.jts.io.gml2
Methods in org.meteoinfo.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.meteoinfo.jts.io.gml2 with parameters of type Geometry Modifier and Type Method Description 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. -
Uses of Geometry in org.meteoinfo.jts.io.kml
Methods in org.meteoinfo.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. -
Uses of Geometry in org.meteoinfo.jts.linearref
Methods in org.meteoinfo.jts.linearref that return Geometry Modifier and Type Method Description GeometryLengthIndexedLine. extractLine(double startIndex, double endIndex)Computes theLineStringfor the interval on the line between the given indices.GeometryLocationIndexedLine. extractLine(LinearLocation startIndex, LinearLocation endIndex)Computes theLineStringfor the interval on the line between the given indices.GeometryLinearGeometryBuilder. getGeometry()Methods in org.meteoinfo.jts.linearref with parameters of type Geometry Modifier and Type Method Description voidLinearLocation. clamp(Geometry linear)Ensures the indexes are valid for a given linearGeometry.CoordinateLinearLocation. getCoordinate(Geometry linearGeom)Gets theCoordinatealong the given linearGeometrywhich is referenced by this location.static LinearLocationLinearLocation. getEndLocation(Geometry linear)Gets a location which refers to the end of a linearGeometry.static doubleLengthLocationMap. getLength(Geometry linearGeom, LinearLocation loc)Computes the length for a givenLinearLocationon a linearGeometry.static LinearLocationLengthLocationMap. getLocation(Geometry linearGeom, double length)Computes theLinearLocationfor a given length along a linearGeometry.static LinearLocationLengthLocationMap. getLocation(Geometry linearGeom, double length, boolean resolveLower)Computes theLinearLocationfor a given length along a linearGeometry, with control over how the location is resolved at component endpoints.LineSegmentLinearLocation. getSegment(Geometry linearGeom)Gets aLineSegmentrepresenting the segment of the given linearGeometrywhich contains this location.doubleLinearLocation. getSegmentLength(Geometry linearGeom)Gets the length of the segment in the given Geometry containing this location.double[]LengthIndexedLine. indicesOf(Geometry subLine)Computes the indices for a subline of the line.LinearLocation[]LocationIndexedLine. indicesOf(Geometry subLine)Computes the indices for a subline of the line.booleanLinearLocation. isEndpoint(Geometry linearGeom)Tests whether this location is an endpoint of the linear component it refers to.booleanLinearLocation. isValid(Geometry linearGeom)Tests whether this location refers to a valid location on the given linearGeometry.voidLinearLocation. setToEnd(Geometry linear)Sets the value of this location to refer to the end of a linear geometry.voidLinearLocation. snapToVertex(Geometry linearGeom, double minDistance)Snaps the value of this location to the nearest vertex on the given linearGeometry, if the vertex is closer than minDistance.LinearLocationLinearLocation. toLowest(Geometry linearGeom)Converts a linear location to the lowest equivalent location index.Constructors in org.meteoinfo.jts.linearref with parameters of type Geometry Constructor Description LengthIndexedLine(Geometry linearGeom)Constructs an object which allows a linearGeometryto be linearly referenced using length as an index.LengthLocationMap(Geometry linearGeom)LinearIterator(Geometry linear)Creates an iterator initialized to the start of a linearGeometryLinearIterator(Geometry linearGeom, int componentIndex, int vertexIndex)Creates an iterator starting at a specified component and vertex in a linearGeometryLinearIterator(Geometry linear, LinearLocation start)Creates an iterator starting at aLinearLocationon a linearGeometryLocationIndexedLine(Geometry linearGeom)Constructs an object which allows linear referencing along a given linearGeometry. -
Uses of Geometry in org.meteoinfo.jts.noding
Methods in org.meteoinfo.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.meteoinfo.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.meteoinfo.jts.operation
Methods in org.meteoinfo.jts.operation that return Geometry Modifier and Type Method Description GeometryGeometryGraphOperation. getArgGeometry(int i)GeometryBoundaryOp. getBoundary()static GeometryBoundaryOp. getBoundary(Geometry g)static GeometryBoundaryOp. getBoundary(Geometry g, BoundaryNodeRule bnRule)Methods in org.meteoinfo.jts.operation with parameters of type Geometry Modifier and Type Method Description static GeometryBoundaryOp. getBoundary(Geometry g)static GeometryBoundaryOp. getBoundary(Geometry g, BoundaryNodeRule bnRule)Constructors in org.meteoinfo.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.meteoinfo.jts.operation.buffer
Methods in org.meteoinfo.jts.operation.buffer that return Geometry Modifier and Type Method Description 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)Comutes 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)Comutes the buffer for a geometry for a given buffer distance and accuracy of approximation.static GeometryBufferOp. bufferOp(Geometry g, double distance, BufferParameters params)Comutes the buffer for a geometry for a given buffer distance and accuracy of approximation.GeometryBufferOp. getResultGeometry(double distance)Returns the buffer computed for a geometry for a given buffer distance.Methods in org.meteoinfo.jts.operation.buffer with parameters of type Geometry Modifier and Type Method Description 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)Comutes 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)Comutes the buffer for a geometry for a given buffer distance and accuracy of approximation.static GeometryBufferOp. bufferOp(Geometry g, double distance, BufferParameters params)Comutes the buffer for a geometry for a given buffer distance and accuracy of approximation.Constructors in org.meteoinfo.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.meteoinfo.jts.operation.buffer.validate
Methods in org.meteoinfo.jts.operation.buffer.validate that return Geometry Modifier and Type Method Description GeometryBufferDistanceValidator. getErrorIndicator()Gets a geometry which indicates the location and nature of a validation failure.GeometryBufferResultValidator. getErrorIndicator()Gets a geometry which indicates the location and nature of a validation failure.Methods in org.meteoinfo.jts.operation.buffer.validate with parameters of type Geometry Modifier and Type Method Description static voidDistanceToPointFinder. computeDistance(Geometry geom, Coordinate pt, PointPairDistance ptDist)doubleBufferCurveMaximumDistanceFinder. findDistance(Geometry bufferCurve)static booleanBufferResultValidator. isValid(Geometry g, double distance, Geometry result)static 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.meteoinfo.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.meteoinfo.jts.operation.distance
Methods in org.meteoinfo.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.meteoinfo.jts.operation.distance with parameters of type Geometry Modifier and Type Method Description static STRtreeFacetSequenceTreeBuilder. build(Geometry g)static Coordinate[]DistanceOp. closestPoints(Geometry g0, Geometry g1)Deprecated.renamed to nearestPointsstatic doubleDistanceOp. distance(Geometry g0, Geometry g1)Compute the distance between the nearest points of two geometries.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.meteoinfo.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.meteoinfo.jts.operation.distance3d
Methods in org.meteoinfo.jts.operation.distance3d with parameters of type Geometry Modifier and Type Method Description static doubleDistance3DOp. distance(Geometry g0, Geometry g1)Compute the distance between the nearest points of two geometries.static booleanDistance3DOp. isWithinDistance(Geometry g0, Geometry g1, double distance)Test whether two geometries lie within a given distance of each other.static Coordinate[]Distance3DOp. nearestPoints(Geometry g0, Geometry g1)Compute the the nearest points of two geometries.Constructors in org.meteoinfo.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.meteoinfo.jts.operation.linemerge
Methods in org.meteoinfo.jts.operation.linemerge that return Geometry Modifier and Type Method Description GeometryLineSequencer. getSequencedLineStrings()Returns theLineStringorMultiLineStringbuilt by the sequencing process, if one exists.static GeometryLineSequencer. sequence(Geometry geom)Methods in org.meteoinfo.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.meteoinfo.jts.operation.overlay
Methods in org.meteoinfo.jts.operation.overlay that return Geometry Modifier and Type Method Description static GeometryOverlayOp. createEmptyResult(int overlayOpCode, Geometry a, Geometry b, GeometryFactory geomFact)Creates an empty result geometry of the appropriate dimension, based on the given overlay operation and the dimensions of the inputs.GeometryOverlayOp. getResultGeometry(int overlayOpCode)Gets the result of the overlay for a given overlay operation.static GeometryOverlayOp. overlayOp(Geometry geom0, Geometry geom1, int opCode)Computes an overlay operation for the given geometry arguments.Methods in org.meteoinfo.jts.operation.overlay with parameters of type Geometry Modifier and Type Method Description static GeometryOverlayOp. createEmptyResult(int overlayOpCode, Geometry a, Geometry b, GeometryFactory geomFact)Creates an empty result geometry of the appropriate dimension, based on the given overlay operation and the dimensions of the inputs.static GeometryOverlayOp. overlayOp(Geometry geom0, Geometry geom1, int opCode)Computes an overlay operation for the given geometry arguments.Constructors in org.meteoinfo.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.meteoinfo.jts.operation.overlay.snap
Methods in org.meteoinfo.jts.operation.overlay.snap that return Geometry Modifier and Type Method Description static GeometrySnapIfNeededOverlayOp. difference(Geometry g0, Geometry g1)static GeometrySnapOverlayOp. difference(Geometry g0, Geometry g1)GeometrySnapIfNeededOverlayOp. getResultGeometry(int opCode)GeometrySnapOverlayOp. getResultGeometry(int opCode)static GeometrySnapIfNeededOverlayOp. intersection(Geometry g0, Geometry g1)static GeometrySnapOverlayOp. intersection(Geometry g0, Geometry g1)static GeometrySnapIfNeededOverlayOp. overlayOp(Geometry g0, Geometry g1, int opCode)static GeometrySnapOverlayOp. overlayOp(Geometry g0, Geometry g1, int opCode)static Geometry[]GeometrySnapper. snap(Geometry g0, Geometry g1, double snapTolerance)Snaps two geometries together with a given tolerance.GeometryGeometrySnapper. snapTo(Geometry snapGeom, double snapTolerance)Snaps the vertices in the componentLineStrings of the source geometry to the vertices of the given snap geometry.GeometryGeometrySnapper. snapToSelf(double snapTolerance, boolean cleanResult)Snaps the vertices in the componentLineStrings of the source geometry to the vertices of the same geometry.static GeometryGeometrySnapper. snapToSelf(Geometry geom, double snapTolerance, boolean cleanResult)Snaps a geometry to itself.static GeometrySnapIfNeededOverlayOp. symDifference(Geometry g0, Geometry g1)static GeometrySnapOverlayOp. symDifference(Geometry g0, Geometry g1)static GeometrySnapIfNeededOverlayOp. union(Geometry g0, Geometry g1)static GeometrySnapOverlayOp. union(Geometry g0, Geometry g1)Methods in org.meteoinfo.jts.operation.overlay.snap with parameters of type Geometry Modifier and Type Method Description static doubleGeometrySnapper. computeOverlaySnapTolerance(Geometry g)Estimates the snap tolerance for a Geometry, taking into account its precision model.static doubleGeometrySnapper. computeOverlaySnapTolerance(Geometry g0, Geometry g1)static doubleGeometrySnapper. computeSizeBasedSnapTolerance(Geometry g)static GeometrySnapIfNeededOverlayOp. difference(Geometry g0, Geometry g1)static GeometrySnapOverlayOp. difference(Geometry g0, Geometry g1)static GeometrySnapIfNeededOverlayOp. intersection(Geometry g0, Geometry g1)static GeometrySnapOverlayOp. intersection(Geometry g0, Geometry g1)static GeometrySnapIfNeededOverlayOp. overlayOp(Geometry g0, Geometry g1, int opCode)static GeometrySnapOverlayOp. overlayOp(Geometry g0, Geometry g1, int opCode)static Geometry[]GeometrySnapper. snap(Geometry g0, Geometry g1, double snapTolerance)Snaps two geometries together with a given tolerance.GeometryGeometrySnapper. snapTo(Geometry snapGeom, double snapTolerance)Snaps the vertices in the componentLineStrings of the source geometry to the vertices of the given snap geometry.static GeometryGeometrySnapper. snapToSelf(Geometry geom, double snapTolerance, boolean cleanResult)Snaps a geometry to itself.static GeometrySnapIfNeededOverlayOp. symDifference(Geometry g0, Geometry g1)static GeometrySnapOverlayOp. symDifference(Geometry g0, Geometry g1)static GeometrySnapIfNeededOverlayOp. union(Geometry g0, Geometry g1)static GeometrySnapOverlayOp. union(Geometry g0, Geometry g1)Constructors in org.meteoinfo.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.meteoinfo.jts.operation.overlay.validate
Methods in org.meteoinfo.jts.operation.overlay.validate with parameters of type Geometry Modifier and Type Method Description static booleanOverlayResultValidator. isValid(Geometry a, Geometry b, int overlayOp, Geometry result)Constructors in org.meteoinfo.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.meteoinfo.jts.operation.polygonize
Methods in org.meteoinfo.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.meteoinfo.jts.operation.polygonize with parameters of type Geometry Modifier and Type Method Description voidPolygonizer. add(Geometry g)Add aGeometryto the edges to be polygonized. -
Uses of Geometry in org.meteoinfo.jts.operation.predicate
Methods in org.meteoinfo.jts.operation.predicate with parameters of type Geometry Modifier and Type Method Description booleanRectangleContains. contains(Geometry geom)static booleanRectangleContains. contains(Polygon rectangle, Geometry b)Tests whether a rectangle contains a given geometry.booleanRectangleIntersects. intersects(Geometry geom)Tests whether the given Geometry intersects the query rectangle.static booleanRectangleIntersects. intersects(Polygon rectangle, Geometry b)Tests whether a rectangle intersects a given geometry. -
Uses of Geometry in org.meteoinfo.jts.operation.relate
Methods in org.meteoinfo.jts.operation.relate with parameters of type Geometry Modifier and Type Method Description static IntersectionMatrixRelateOp. relate(Geometry a, Geometry b)Computes theIntersectionMatrixfor the spatial relationship between twoGeometrys, using the default (OGC SFS) Boundary Node Rulestatic IntersectionMatrixRelateOp. relate(Geometry a, Geometry b, BoundaryNodeRule boundaryNodeRule)Computes theIntersectionMatrixfor the spatial relationship between twoGeometrys using a specified Boundary Node Rule.Constructors in org.meteoinfo.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.meteoinfo.jts.operation.union
Methods in org.meteoinfo.jts.operation.union that return Geometry Modifier and Type Method Description 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)Methods in org.meteoinfo.jts.operation.union with parameters of type Geometry Modifier and Type Method Description 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)Constructors in org.meteoinfo.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.meteoinfo.jts.operation.valid
Methods in org.meteoinfo.jts.operation.valid with parameters of type Geometry Modifier and Type Method Description booleanRepeatedPointTester. hasRepeatedPoint(Geometry g)static booleanIsValidOp. isValid(Geometry geom)Tests whether aGeometryis valid.Constructors in org.meteoinfo.jts.operation.valid with parameters of type Geometry Constructor Description IsValidOp(Geometry parentGeometry) -
Uses of Geometry in org.meteoinfo.jts.precision
Methods in org.meteoinfo.jts.precision that return Geometry Modifier and Type Method Description GeometryCommonBitsOp. buffer(Geometry geom0, double distance)Computes the buffer a geometry, using enhanced precision.static GeometryEnhancedPrecisionOp. buffer(Geometry geom, double distance)Computes the buffer of aGeometry, using enhanced precision.GeometryCommonBitsOp. difference(Geometry geom0, Geometry geom1)Computes the set-theoretic difference of twoGeometrys, using enhanced precision.static GeometryEnhancedPrecisionOp. difference(Geometry geom0, Geometry geom1)Computes the set-theoretic difference of twoGeometrys, using enhanced precision.static GeometryMinimumClearance. getLine(Geometry g)Gets a LineString containing two points which are at the Minimum Clearance distance for the given Geometry.static GeometrySimpleMinimumClearance. getLine(Geometry g)GeometryCommonBitsOp. intersection(Geometry geom0, Geometry geom1)Computes the set-theoretic intersection of twoGeometrys, using enhanced precision.static GeometryEnhancedPrecisionOp. intersection(Geometry geom0, Geometry geom1)Computes the set-theoretic intersection of twoGeometrys, using enhanced precision.GeometryGeometryPrecisionReducer. reduce(Geometry geom)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.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.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.meteoinfo.jts.precision with parameters of type Geometry Modifier and Type Method Description voidCommonBitsRemover. add(Geometry geom)Add a geometry to the set of geometries whose common bits are being computed.voidCommonBitsRemover. addCommonBits(Geometry geom)Adds the common coordinate bits back into a Geometry.GeometryCommonBitsOp. buffer(Geometry geom0, double distance)Computes the buffer a geometry, using enhanced precision.static GeometryEnhancedPrecisionOp. buffer(Geometry geom, double distance)Computes the buffer of aGeometry, using enhanced precision.GeometryCommonBitsOp. difference(Geometry geom0, Geometry geom1)Computes the set-theoretic difference of twoGeometrys, using enhanced precision.static GeometryEnhancedPrecisionOp. difference(Geometry geom0, Geometry geom1)Computes the set-theoretic difference of twoGeometrys, using enhanced precision.Coordinate[]PrecisionReducerCoordinateOperation. edit(Coordinate[] coordinates, Geometry geom)static doubleMinimumClearance. getDistance(Geometry g)Computes the Minimum Clearance distance for the given Geometry.static doubleSimpleMinimumClearance. getDistance(Geometry g)static GeometryMinimumClearance. getLine(Geometry g)Gets a LineString containing two points which are at the Minimum Clearance distance for the given Geometry.static GeometrySimpleMinimumClearance. getLine(Geometry g)GeometryCommonBitsOp. intersection(Geometry geom0, Geometry geom1)Computes the set-theoretic intersection of twoGeometrys, using enhanced precision.static GeometryEnhancedPrecisionOp. intersection(Geometry geom0, Geometry geom1)Computes the set-theoretic intersection of twoGeometrys, using enhanced precision.GeometryGeometryPrecisionReducer. reduce(Geometry geom)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.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.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.meteoinfo.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.meteoinfo.jts.shape
Methods in org.meteoinfo.jts.shape that return Geometry Modifier and Type Method Description abstract GeometryGeometricShapeBuilder. getGeometry() -
Uses of Geometry in org.meteoinfo.jts.shape.fractal
Methods in org.meteoinfo.jts.shape.fractal that return Geometry Modifier and Type Method Description GeometryKochSnowflakeBuilder. getGeometry()GeometrySierpinskiCarpetBuilder. getGeometry() -
Uses of Geometry in org.meteoinfo.jts.shape.random
Fields in org.meteoinfo.jts.shape.random declared as Geometry Modifier and Type Field Description protected GeometryRandomPointsBuilder. maskPolyMethods in org.meteoinfo.jts.shape.random that return Geometry Modifier and Type Method Description GeometryRandomPointsBuilder. getGeometry()GeometryRandomPointsInGridBuilder. getGeometry()Gets theMultiPointcontaining the generated pointMethods in org.meteoinfo.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.meteoinfo.jts.simplify
Methods in org.meteoinfo.jts.simplify that return Geometry Modifier and Type Method Description 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.Methods in org.meteoinfo.jts.simplify with parameters of type Geometry Modifier and Type Method Description static GeometryDouglasPeuckerSimplifier. simplify(Geometry geom, double distanceTolerance)Simplifies a geometry using a given tolerance.static GeometryTopologyPreservingSimplifier. simplify(Geometry geom, double distanceTolerance)static GeometryVWSimplifier. simplify(Geometry geom, double distanceTolerance)Simplifies a geometry using a given tolerance.Constructors in org.meteoinfo.jts.simplify with parameters of type Geometry Constructor Description DouglasPeuckerSimplifier(Geometry inputGeom)Creates a simplifier for a given geometry.TopologyPreservingSimplifier(Geometry inputGeom)VWSimplifier(Geometry inputGeom)Creates a simplifier for a given geometry. -
Uses of Geometry in org.meteoinfo.jts.triangulate
Methods in org.meteoinfo.jts.triangulate that return Geometry Modifier and Type Method Description GeometryConformingDelaunayTriangulator. getConvexHull()Gets the convex hull of all the sites in the triangulation, including constraint vertices.GeometryVoronoiDiagramBuilder. getDiagram(GeometryFactory geomFact)Gets the faces of the computed diagram as aGeometryCollectionofPolygons, clipped as specified.GeometryConformingDelaunayTriangulationBuilder. getEdges(GeometryFactory geomFact)Gets the edges of the computed triangulation as aMultiLineString.GeometryDelaunayTriangulationBuilder. getEdges(GeometryFactory geomFact)Gets the edges of the computed triangulation as aMultiLineString.GeometryConformingDelaunayTriangulationBuilder. getTriangles(GeometryFactory geomFact)Gets the faces of the computed triangulation as aGeometryCollectionofPolygon.GeometryDelaunayTriangulationBuilder. getTriangles(GeometryFactory geomFact)Gets the faces of the computed triangulation as aGeometryCollectionofPolygon.Methods in org.meteoinfo.jts.triangulate with parameters of type Geometry Modifier and Type Method Description static CoordinateListDelaunayTriangulationBuilder. extractUniqueCoordinates(Geometry geom)Extracts the uniqueCoordinates from the givenGeometry.voidVertexTaggedGeometryDataMapper. loadSourceGeometries(Geometry geomColl)voidConformingDelaunayTriangulationBuilder. setConstraints(Geometry constraintLines)Sets the linear constraints to be conformed to.voidConformingDelaunayTriangulationBuilder. setSites(Geometry geom)Sets the sites (point or vertices) which will be triangulated.voidDelaunayTriangulationBuilder. setSites(Geometry geom)Sets the sites (vertices) which will be triangulated.voidVoronoiDiagramBuilder. setSites(Geometry geom)Sets the sites (point or vertices) which will be diagrammed.voidVertexTaggedGeometryDataMapper. transferData(Geometry targetGeom)Input is assumed to be a multiGeometry in which every component has its userData set to be a Coordinate which is the key to the output data. -
Uses of Geometry in org.meteoinfo.jts.triangulate.quadedge
Methods in org.meteoinfo.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.meteoinfo.jts.util
Methods in org.meteoinfo.jts.util that return Geometry Modifier and Type Method Description protected GeometryGeometricShapeFactory. rotate(Geometry geom)Methods in org.meteoinfo.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.meteoinfo.shape
Methods in org.meteoinfo.shape that return Geometry Modifier and Type Method Description GeometryPointShape. toGeometry(GeometryFactory factory)To geometry methodGeometryPolygon. toGeometry(GeometryFactory factory)To geometryGeometryPolygonShape. toGeometry(GeometryFactory factory)To geometry methodGeometryPolylineShape. toGeometry(GeometryFactory factory)To geometry methodGeometryShape. toGeometry()To geometry methodabstract GeometryShape. toGeometry(GeometryFactory factory)To geometry methodMethods in org.meteoinfo.shape with parameters of type Geometry Modifier and Type Method Description static ShapeShapeFactory. createShape(Geometry a)Create shape from geometrystatic ShapeShape. geometry2Shape(Geometry geo)Constructors in org.meteoinfo.shape with parameters of type Geometry Constructor Description PointShape(Geometry geometry)ConstructorPointZShape(Geometry geometry)ConstructorPolygonMShape(Geometry geometry)ConstructorPolygonShape(Geometry geometry)ConstructorPolylineShape(Geometry geometry)ConstructorPolylineZShape(Geometry geometry)ConstructorShape(Geometry geometry)Constructor
-