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 PrecisionModelLineIntersector.precisionModelIf makePrecise is true, computed intersection coordinates will be made precise using Coordinate#makePreciseMethods in org.locationtech.jts.algorithm with parameters of type PrecisionModelModifier and TypeMethodDescriptionvoidLineIntersector.setMakePrecise(PrecisionModel precisionModel) Deprecated.voidLineIntersector.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 thePrecisionModelused by theGeometry.GeometryFactory.getPrecisionModel()Returns the PrecisionModel that Geometries created by this factory will be associated with.static PrecisionModelPrecisionModel.mostPrecise(PrecisionModel pm1, PrecisionModel pm2) Determines which of twoPrecisionModels is the most precise (allows the greatest number of significant digits).Methods in org.locationtech.jts.geom with parameters of type PrecisionModelModifier and TypeMethodDescriptionstatic PrecisionModelPrecisionModel.mostPrecise(PrecisionModel pm1, PrecisionModel pm2) Determines which of twoPrecisionModels 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 givenPrecisionModeland the default CoordinateSequence implementation.GeometryFactory(PrecisionModel precisionModel, int SRID) Constructs a GeometryFactory that generates Geometries having the givenPrecisionModeland 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 newPrecisionModelfrom an existing one. -
Uses of PrecisionModel in org.locationtech.jts.io
Fields in org.locationtech.jts.io declared as PrecisionModelModifier and TypeFieldDescriptionprivate PrecisionModelWKBReader.precisionModelprivate PrecisionModelWKTReader.precisionModelMethods in org.locationtech.jts.io with parameters of type PrecisionModelModifier and TypeMethodDescriptionprivate voidWKTWriter.appendPointTaggedText(Coordinate coordinate, int level, Writer writer, PrecisionModel precisionModel) Converts aCoordinateto <Point Tagged Text> format, then appends it to the writer.private voidWKTWriter.appendPointText(Coordinate coordinate, int level, Writer writer, PrecisionModel precisionModel) Converts aCoordinateto <Point Text> format, then appends it to the writer.private static DecimalFormatWKTWriter.createFormatter(PrecisionModel precisionModel) Creates theDecimalFormatused to writedoubles 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 PrecisionModelGeometryNoder.pmprivate final PrecisionModelMCIndexSnapRounder.pmprivate final PrecisionModelSimpleSnapRounder.pmConstructors 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 PrecisionModelGeometryGraphOperation.resultPrecisionModelMethods in org.locationtech.jts.operation with parameters of type PrecisionModelModifier and TypeMethodDescriptionprotected voidGeometryGraphOperation.setComputationPrecision(PrecisionModel pm) -
Uses of PrecisionModel in org.locationtech.jts.operation.buffer
Fields in org.locationtech.jts.operation.buffer declared as PrecisionModelModifier and TypeFieldDescriptionprivate PrecisionModelOffsetCurveBuilder.precisionModelprivate PrecisionModelOffsetSegmentGenerator.precisionModelprivate PrecisionModelOffsetSegmentString.precisionModelprivate PrecisionModelBufferBuilder.workingPrecisionModelMethods in org.locationtech.jts.operation.buffer with parameters of type PrecisionModelModifier and TypeMethodDescriptionprivate voidBufferOp.bufferFixedPrecision(PrecisionModel fixedPM) private voidBufferBuilder.computeNodedEdges(List bufferSegStrList, PrecisionModel precisionModel) private NoderBufferBuilder.getNoder(PrecisionModel precisionModel) voidOffsetSegmentString.setPrecisionModel(PrecisionModel precisionModel) voidBufferBuilder.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 PrecisionModelSimpleGeometryPrecisionReducer.newPrecisionModelDeprecated.private PrecisionModelCoordinatePrecisionReducerFilter.precModelprivate PrecisionModelGeometryPrecisionReducer.targetPMprivate PrecisionModelPrecisionReducerCoordinateOperation.targetPMMethods in org.locationtech.jts.precision with parameters of type PrecisionModelModifier and TypeMethodDescriptionprivate GeometryGeometryPrecisionReducer.changePM(Geometry geom, PrecisionModel newPM) Duplicates a geometry to one that uses a different PrecisionModel, without changing any coordinate values.private GeometryEditorGeometryPrecisionReducer.createEditor(GeometryFactory geomFactory, PrecisionModel newPM) private GeometryFactoryGeometryPrecisionReducer.createFactory(GeometryFactory inputFactory, PrecisionModel pm) 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.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.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 TypeMethodDescriptionvoidPrecisionModelExample.difference(String wktA, String wktB, PrecisionModel pm) voidPrecisionModelExample.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 PrecisionModelJTSTestBuilder.getPrecisionModel()PrecisionModelDialog.getPrecisionModel()PrecisionModelPanel.getPrecisionModel()Methods in org.locationtech.jtstest.testbuilder with parameters of type PrecisionModelModifier and TypeMethodDescriptionvoidPrecisionModelDialog.setPrecisionModel(PrecisionModel precisionModel) voidPrecisionModelPanel.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 TypeMethodDescriptionvoidTestBuilderModel.changePrecisionModel(PrecisionModel precisionModel) static StringXMLTestWriter.getRunXml(TestCaseList tcList, PrecisionModel precModel) private StringHtmlWriter.htmlTitle(PrecisionModel precisionModel) private StringHtmlWriter.indexHtml(List runs, Map runMap, PrecisionModel precisionModel) (package private) voidTestBuilderModel.loadTestCaseList(TestCaseList tcl, PrecisionModel precisionModel) voidTestBuilderModel.setPrecisionModel(PrecisionModel precisionModel) static StringXMLTestWriter.toXML(PrecisionModel precisionModel) voidHtmlWriter.write(File outputDirectory, TestCaseList testCaseList, PrecisionModel precisionModel) voidPNGWriter.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 PrecisionModelTestReader.createPrecisionModel(org.jdom2.Element precisionModelElement) TestRun.getPrecisionModel()private PrecisionModelTestReader.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 voidSVGWriter.appendPoint(Coordinate coordinate, int level, Writer writer, PrecisionModel precisionModel) Converts aCoordinateto <Point Text> format, then appends it to the writer.private voidSVGWriter.appendPointTaggedText(Coordinate coordinate, int level, Writer writer, PrecisionModel precisionModel) Converts aCoordinateto <Point Tagged Text> format, then appends it to the writer.private static DecimalFormatSVGWriter.createFormatter(PrecisionModel precisionModel) Creates theDecimalFormatused to writedoubles with a sufficient number of decimal places.
setPrecisionModelinstead