Uses of Class
org.locationtech.jts.geom.PrecisionModel
Packages that use PrecisionModel
Package
Description
Contains classes and interfaces implementing fundamental computational geometry algorithms.
Contains the
Geometry
interface hierarchy and supporting classes.Contains the interfaces for converting JTS objects to and from other formats.
Classes to compute nodings for arrangements of line segments and line segment sequences.
Contains classes to implement the Snap Rounding algorithm for noding linestrings.
Provides classes for computing buffers of geometries
Contains classes that perform vector overlay
to compute boolean set-theoretic spatial functions.
Provides classes for analyzing and
manipulating the precision of Geometries.
-
Uses of PrecisionModel in org.locationtech.jts.algorithm
Methods in org.locationtech.jts.algorithm with parameters of type PrecisionModelModifier and TypeMethodDescriptionvoid
LineIntersector.setMakePrecise
(PrecisionModel precisionModel) Deprecated.void
LineIntersector.setPrecisionModel
(PrecisionModel precisionModel) Force computed intersection to be rounded to a given precision model. -
Uses of PrecisionModel in org.locationtech.jts.geom
Methods in org.locationtech.jts.geom that return PrecisionModelModifier and TypeMethodDescriptionGeometry.getPrecisionModel()
Returns thePrecisionModel
used by theGeometry
.GeometryFactory.getPrecisionModel()
Returns the PrecisionModel that Geometries created by this factory will be associated with.static PrecisionModel
PrecisionModel.mostPrecise
(PrecisionModel pm1, PrecisionModel pm2) Determines which of twoPrecisionModel
s is the most precise (allows the greatest number of significant digits).Methods in org.locationtech.jts.geom with parameters of type PrecisionModelModifier and TypeMethodDescriptionstatic PrecisionModel
PrecisionModel.mostPrecise
(PrecisionModel pm1, PrecisionModel pm2) Determines which of twoPrecisionModel
s is the most precise (allows the greatest number of significant digits).Constructors in org.locationtech.jts.geom with parameters of type PrecisionModelModifierConstructorDescriptionGeometryCollection
(Geometry[] geometries, PrecisionModel precisionModel, int SRID) Deprecated.Use GeometryFactory insteadGeometryFactory
(PrecisionModel precisionModel) Constructs a GeometryFactory that generates Geometries having the givenPrecisionModel
and the default CoordinateSequence implementation.GeometryFactory
(PrecisionModel precisionModel, int SRID) Constructs a GeometryFactory that generates Geometries having the givenPrecisionModel
and spatial-reference ID, and the default CoordinateSequence implementation.GeometryFactory
(PrecisionModel precisionModel, int SRID, CoordinateSequenceFactory coordinateSequenceFactory) Constructs a GeometryFactory that generates Geometries having the given PrecisionModel, spatial-reference ID, and CoordinateSequence implementation.LinearRing
(Coordinate[] points, PrecisionModel precisionModel, int SRID) Deprecated.Use GeometryFactory insteadLineString
(Coordinate[] points, PrecisionModel precisionModel, int SRID) Deprecated.Use GeometryFactory insteadMultiLineString
(LineString[] lineStrings, PrecisionModel precisionModel, int SRID) Deprecated.Use GeometryFactory insteadMultiPoint
(Point[] points, PrecisionModel precisionModel, int SRID) Deprecated.Use GeometryFactory insteadMultiPolygon
(Polygon[] polygons, PrecisionModel precisionModel, int SRID) Deprecated.Use GeometryFactory insteadPoint
(Coordinate coordinate, PrecisionModel precisionModel, int SRID) Deprecated.Use GeometryFactory insteadPolygon
(LinearRing shell, LinearRing[] holes, PrecisionModel precisionModel, int SRID) Deprecated.Use GeometryFactory insteadPolygon
(LinearRing shell, PrecisionModel precisionModel, int SRID) Deprecated.Use GeometryFactory insteadCopy constructor to create a newPrecisionModel
from an existing one. -
Uses of PrecisionModel in org.locationtech.jts.io
Methods in org.locationtech.jts.io with parameters of type PrecisionModelModifier and TypeMethodDescriptionvoid
WKTWriter.setPrecisionModel
(PrecisionModel precisionModel) Sets aPrecisionModel
that should be used on the ordinates written. -
Uses of PrecisionModel in org.locationtech.jts.noding
Constructors in org.locationtech.jts.noding with parameters of type PrecisionModel -
Uses of PrecisionModel in org.locationtech.jts.noding.snapround
Constructors in org.locationtech.jts.noding.snapround with parameters of type PrecisionModelModifierConstructorDescriptionCreates a new noder which snap-rounds to a grid specified by the givenPrecisionModel
.Deprecated. -
Uses of PrecisionModel in org.locationtech.jts.operation.buffer
Constructors in org.locationtech.jts.operation.buffer with parameters of type PrecisionModelModifierConstructorDescriptionBufferCurveSetBuilder
(Geometry inputGeom, double distance, PrecisionModel precisionModel, BufferParameters bufParams) OffsetCurveBuilder
(PrecisionModel precisionModel, BufferParameters bufParams) -
Uses of PrecisionModel in org.locationtech.jts.operation.overlayng
Methods in org.locationtech.jts.operation.overlayng that return PrecisionModelModifier and TypeMethodDescriptionstatic PrecisionModel
Determines a precision model to use for robust overlay operations for one geometry.static PrecisionModel
Determines a precision model to use for robust overlay operations.Methods in org.locationtech.jts.operation.overlayng with parameters of type PrecisionModelModifier and TypeMethodDescriptionstatic Geometry
OverlayNG.overlay
(Geometry geom0, Geometry geom1, int opCode, PrecisionModel pm) Computes an overlay operation for the given geometry operands, with the noding strategy determined by the precision model.static Geometry
OverlayNG.overlay
(Geometry geom0, Geometry geom1, int opCode, PrecisionModel pm, Noder noder) Computes an overlay operation on the given geometry operands, using a suppliedNoder
.static Geometry
PrecisionReducer.reducePrecision
(Geometry geom, PrecisionModel pm) Reduces the precision of a geometry by rounding and snapping it to the suppliedPrecisionModel
.static Geometry
UnaryUnionNG.union
(Collection<Geometry> geoms, GeometryFactory geomFact, PrecisionModel pm) Unions a collection of geometries using a given precision model.static Geometry
UnaryUnionNG.union
(Collection<Geometry> geoms, PrecisionModel pm) Unions a collection of geometries using a given precision model.static Geometry
UnaryUnionNG.union
(Geometry geom, PrecisionModel pm) Unions a geometry (which is often a collection) using a given precision model.Constructors in org.locationtech.jts.operation.overlayng with parameters of type PrecisionModelModifierConstructorDescriptionOverlayNG
(Geometry geom0, Geometry geom1, PrecisionModel pm, int opCode) Creates an overlay operation on the given geometries, with a defined precision model. -
Uses of PrecisionModel in org.locationtech.jts.precision
Methods in org.locationtech.jts.precision with parameters of type PrecisionModelModifier and TypeMethodDescriptionstatic Geometry
GeometryPrecisionReducer.reduce
(Geometry g, PrecisionModel precModel) Reduces precision of a geometry, ensuring output geometry is valid.static Geometry
SimpleGeometryPrecisionReducer.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 Geometry
GeometryPrecisionReducer.reduceKeepCollapsed
(Geometry geom, PrecisionModel pm) Reduces precision of a geometry, ensuring output polygonal geometry is valid, and preserving collapsed linear elements.static Geometry
GeometryPrecisionReducer.reducePointwise
(Geometry g, PrecisionModel precModel) Reduce precision of a geometry in a pointwise way.Constructors in org.locationtech.jts.precision with parameters of type PrecisionModelModifierConstructorDescriptionCoordinatePrecisionReducerFilter
(PrecisionModel precModel) Creates a new precision reducer filter.PrecisionReducerCoordinateOperation
(PrecisionModel targetPM, boolean removeCollapsed) Deprecated. -
Uses of PrecisionModel in org.locationtech.jtslab.clip
Methods in org.locationtech.jtslab.clip with parameters of type PrecisionModelModifier and TypeMethodDescriptionstatic Geometry
RectangleClipPolygon.clip
(Geometry geom, Geometry rectangle, PrecisionModel pm) Constructors in org.locationtech.jtslab.clip with parameters of type PrecisionModelModifierConstructorDescriptionRectangleClipPolygon
(Envelope clipEnv, PrecisionModel pm) RectangleClipPolygon
(Geometry clipRectangle, PrecisionModel pm)
setPrecisionModel
instead