Uses of Class
org.locationtech.jts.geom.PrecisionModel
Packages that use PrecisionModel
Package
Description
Contains classes and interfaces implementing fundamental computational geometry algorithms.
Classes to perform densification on geometries.
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 implementing operations on geometries
Provides classes for computing buffers of geometries
Provides classes for analyzing and
manipulating the precision of Geometries.
Contains support classes for the Java Topology Suite.
-
Uses of PrecisionModel in org.locationtech.jts.algorithm
Fields in org.locationtech.jts.algorithm declared as PrecisionModelModifier and TypeFieldDescriptionprotected PrecisionModel
LineIntersector.precisionModel
If makePrecise is true, computed intersection coordinates will be made precise using Coordinate#makePreciseMethods 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.densify
Methods in org.locationtech.jts.densify with parameters of type PrecisionModelModifier and TypeMethodDescriptionprivate static Coordinate[]
Densifier.densifyPoints
(Coordinate[] pts, double distanceTolerance, PrecisionModel precModel) Densifies a coordinate sequence. -
Uses of PrecisionModel in org.locationtech.jts.geom
Fields in org.locationtech.jts.geom declared as PrecisionModelMethods 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
Fields in org.locationtech.jts.io declared as PrecisionModelModifier and TypeFieldDescriptionprivate PrecisionModel
WKBReader.precisionModel
private PrecisionModel
WKTReader.precisionModel
Methods in org.locationtech.jts.io with parameters of type PrecisionModelModifier and TypeMethodDescriptionprivate void
WKTWriter.appendPointTaggedText
(Coordinate coordinate, int level, Writer writer, PrecisionModel precisionModel) Converts aCoordinate
to <Point Tagged Text> format, then appends it to the writer.private void
WKTWriter.appendPointText
(Coordinate coordinate, int level, Writer writer, PrecisionModel precisionModel) Converts aCoordinate
to <Point Text> format, then appends it to the writer.private static DecimalFormat
WKTWriter.createFormatter
(PrecisionModel precisionModel) Creates theDecimalFormat
used to writedouble
s with a sufficient number of decimal places. -
Uses of PrecisionModel in org.locationtech.jts.noding
Fields in org.locationtech.jts.noding declared as PrecisionModelConstructors in org.locationtech.jts.noding with parameters of type PrecisionModel -
Uses of PrecisionModel in org.locationtech.jts.noding.snapround
Fields in org.locationtech.jts.noding.snapround declared as PrecisionModelModifier and TypeFieldDescriptionprivate PrecisionModel
GeometryNoder.pm
private final PrecisionModel
MCIndexSnapRounder.pm
private final PrecisionModel
SimpleSnapRounder.pm
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
. -
Uses of PrecisionModel in org.locationtech.jts.operation
Fields in org.locationtech.jts.operation declared as PrecisionModelModifier and TypeFieldDescriptionprotected PrecisionModel
GeometryGraphOperation.resultPrecisionModel
Methods in org.locationtech.jts.operation with parameters of type PrecisionModelModifier and TypeMethodDescriptionprotected void
GeometryGraphOperation.setComputationPrecision
(PrecisionModel pm) -
Uses of PrecisionModel in org.locationtech.jts.operation.buffer
Fields in org.locationtech.jts.operation.buffer declared as PrecisionModelModifier and TypeFieldDescriptionprivate PrecisionModel
OffsetCurveBuilder.precisionModel
private PrecisionModel
OffsetSegmentGenerator.precisionModel
private PrecisionModel
OffsetSegmentString.precisionModel
private PrecisionModel
BufferBuilder.workingPrecisionModel
Methods in org.locationtech.jts.operation.buffer with parameters of type PrecisionModelModifier and TypeMethodDescriptionprivate void
BufferOp.bufferFixedPrecision
(PrecisionModel fixedPM) private void
BufferBuilder.computeNodedEdges
(List bufferSegStrList, PrecisionModel precisionModel) private Noder
BufferBuilder.getNoder
(PrecisionModel precisionModel) void
OffsetSegmentString.setPrecisionModel
(PrecisionModel precisionModel) void
BufferBuilder.setWorkingPrecisionModel
(PrecisionModel pm) Sets the precision model to use during the curve computation and noding, if it is different to the precision model of the Geometry.Constructors in org.locationtech.jts.operation.buffer with parameters of type PrecisionModelModifierConstructorDescriptionOffsetCurveBuilder
(PrecisionModel precisionModel, BufferParameters bufParams) OffsetSegmentGenerator
(PrecisionModel precisionModel, BufferParameters bufParams, double distance) -
Uses of PrecisionModel in org.locationtech.jts.precision
Fields in org.locationtech.jts.precision declared as PrecisionModelModifier and TypeFieldDescriptionprivate PrecisionModel
SimpleGeometryPrecisionReducer.newPrecisionModel
Deprecated.private PrecisionModel
CoordinatePrecisionReducerFilter.precModel
private PrecisionModel
GeometryPrecisionReducer.targetPM
private PrecisionModel
PrecisionReducerCoordinateOperation.targetPM
Methods in org.locationtech.jts.precision with parameters of type PrecisionModelModifier and TypeMethodDescriptionprivate Geometry
GeometryPrecisionReducer.changePM
(Geometry geom, PrecisionModel newPM) Duplicates a geometry to one that uses a different PrecisionModel, without changing any coordinate values.private GeometryEditor
GeometryPrecisionReducer.createEditor
(GeometryFactory geomFactory, PrecisionModel newPM) private GeometryFactory
GeometryPrecisionReducer.createFactory
(GeometryFactory inputFactory, PrecisionModel pm) static Geometry
GeometryPrecisionReducer.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.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.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.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.jts.util
Fields in org.locationtech.jts.util declared as PrecisionModel -
Uses of PrecisionModel in org.locationtech.jtsexample.geom
Methods in org.locationtech.jtsexample.geom with parameters of type PrecisionModelModifier and TypeMethodDescriptionvoid
PrecisionModelExample.difference
(String wktA, String wktB, PrecisionModel pm) void
PrecisionModelExample.intersection
(String wktA, String wktB, PrecisionModel pm) -
Uses of PrecisionModel in org.locationtech.jtstest.test
Fields in org.locationtech.jtstest.test declared as PrecisionModelMethods in org.locationtech.jtstest.test with parameters of type PrecisionModel -
Uses of PrecisionModel in org.locationtech.jtstest.testbuilder
Fields in org.locationtech.jtstest.testbuilder declared as PrecisionModelMethods in org.locationtech.jtstest.testbuilder that return PrecisionModelModifier and TypeMethodDescriptionstatic PrecisionModel
JTSTestBuilder.getPrecisionModel()
PrecisionModelDialog.getPrecisionModel()
PrecisionModelPanel.getPrecisionModel()
Methods in org.locationtech.jtstest.testbuilder with parameters of type PrecisionModelModifier and TypeMethodDescriptionvoid
PrecisionModelDialog.setPrecisionModel
(PrecisionModel precisionModel) void
PrecisionModelPanel.setPrecisionModel
(PrecisionModel precisionModel) -
Uses of PrecisionModel in org.locationtech.jtstest.testbuilder.model
Fields in org.locationtech.jtstest.testbuilder.model declared as PrecisionModelMethods in org.locationtech.jtstest.testbuilder.model that return PrecisionModelMethods in org.locationtech.jtstest.testbuilder.model with parameters of type PrecisionModelModifier and TypeMethodDescriptionvoid
TestBuilderModel.changePrecisionModel
(PrecisionModel precisionModel) static String
XMLTestWriter.getRunXml
(TestCaseList tcList, PrecisionModel precModel) private String
HtmlWriter.htmlTitle
(PrecisionModel precisionModel) private String
HtmlWriter.indexHtml
(List runs, Map runMap, PrecisionModel precisionModel) (package private) void
TestBuilderModel.loadTestCaseList
(TestCaseList tcl, PrecisionModel precisionModel) void
TestBuilderModel.setPrecisionModel
(PrecisionModel precisionModel) static String
XMLTestWriter.toXML
(PrecisionModel precisionModel) void
HtmlWriter.write
(File outputDirectory, TestCaseList testCaseList, PrecisionModel precisionModel) void
PNGWriter.write
(File outputDirectory, TestCaseEdit testCase, PrecisionModel precisionModel) Constructors in org.locationtech.jtstest.testbuilder.model with parameters of type PrecisionModel -
Uses of PrecisionModel in org.locationtech.jtstest.testbuilder.ui
Fields in org.locationtech.jtstest.testbuilder.ui declared as PrecisionModelMethods in org.locationtech.jtstest.testbuilder.ui that return PrecisionModelModifier and TypeMethodDescriptionViewport.getGridPrecisionModel()
Gets a PrecisionModel corresponding to the grid size. -
Uses of PrecisionModel in org.locationtech.jtstest.testbuilder.ui.tools
Fields in org.locationtech.jtstest.testbuilder.ui.tools declared as PrecisionModel -
Uses of PrecisionModel in org.locationtech.jtstest.testrunner
Fields in org.locationtech.jtstest.testrunner declared as PrecisionModelMethods in org.locationtech.jtstest.testrunner that return PrecisionModelModifier and TypeMethodDescriptionprivate PrecisionModel
TestReader.createPrecisionModel
(org.jdom2.Element precisionModelElement) TestRun.getPrecisionModel()
private PrecisionModel
TestReader.parsePrecisionModel
(org.jdom2.Element runElement) Parses an optional precisionModel element.Constructors in org.locationtech.jtstest.testrunner with parameters of type PrecisionModelModifierConstructorDescriptionTestRun
(String description, int runIndex, PrecisionModel precisionModel, GeometryOperation geomOp, ResultMatcher resultMatcher, File testFile) -
Uses of PrecisionModel in org.locationtech.jtstest.util.io
Methods in org.locationtech.jtstest.util.io with parameters of type PrecisionModelModifier and TypeMethodDescriptionprivate void
SVGWriter.appendPoint
(Coordinate coordinate, int level, Writer writer, PrecisionModel precisionModel) Converts aCoordinate
to <Point Text> format, then appends it to the writer.private void
SVGWriter.appendPointTaggedText
(Coordinate coordinate, int level, Writer writer, PrecisionModel precisionModel) Converts aCoordinate
to <Point Tagged Text> format, then appends it to the writer.private static DecimalFormat
SVGWriter.createFormatter
(PrecisionModel precisionModel) Creates theDecimalFormat
used to writedouble
s with a sufficient number of decimal places.
setPrecisionModel
instead