Uses of Class
org.locationtech.jts.geom.PrecisionModel
-
Packages that use PrecisionModel Package Description org.locationtech.jts.algorithm Contains classes and interfaces implementing fundamental computational geometry algorithms.org.locationtech.jts.densify Classes to perform densification on geometries.org.locationtech.jts.geom Contains theGeometryinterface hierarchy and supporting classes.org.locationtech.jts.io Contains the interfaces for converting JTS objects to and from other formats.org.locationtech.jts.noding Classes to compute nodings for arrangements of line segments and line segment sequences.org.locationtech.jts.noding.snapround Contains classes to implement the Snap Rounding algorithm for noding linestrings.org.locationtech.jts.operation Provides classes for implementing operations on geometriesorg.locationtech.jts.operation.buffer Provides classes for computing buffers of geometriesorg.locationtech.jts.precision Provides classes for analyzing and manipulating the precision of Geometries.org.locationtech.jts.util Contains support classes for the Java Topology Suite.org.locationtech.jtsexample.geom org.locationtech.jtstest.test org.locationtech.jtstest.testbuilder org.locationtech.jtstest.testbuilder.model org.locationtech.jtstest.testbuilder.ui org.locationtech.jtstest.testbuilder.ui.tools org.locationtech.jtstest.testrunner org.locationtech.jtstest.util.io -
-
Uses of PrecisionModel in org.locationtech.jts.algorithm
Fields in org.locationtech.jts.algorithm declared as PrecisionModel Modifier and Type Field Description protected PrecisionModelLineIntersector. precisionModelIf makePrecise is true, computed intersection coordinates will be made precise using Coordinate#makePreciseMethods in org.locationtech.jts.algorithm with parameters of type PrecisionModel Modifier and Type Method Description voidLineIntersector. setMakePrecise(PrecisionModel precisionModel)Deprecated.usesetPrecisionModelinsteadvoidLineIntersector. 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 PrecisionModel Modifier and Type Method Description private 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 PrecisionModel Modifier and Type Field Description private PrecisionModelGeometryFactory. precisionModelMethods in org.locationtech.jts.geom that return PrecisionModel Modifier and Type Method Description PrecisionModelGeometry. getPrecisionModel()Returns thePrecisionModelused by theGeometry.PrecisionModelGeometryFactory. 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 PrecisionModel Modifier and Type Method Description static 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 PrecisionModel Constructor Description GeometryCollection(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 insteadPrecisionModel(PrecisionModel pm)Copy constructor to create a newPrecisionModelfrom an existing one. -
Uses of PrecisionModel in org.locationtech.jts.io
Fields in org.locationtech.jts.io declared as PrecisionModel Modifier and Type Field Description private PrecisionModelWKBReader. precisionModelprivate PrecisionModelWKTReader. precisionModelMethods in org.locationtech.jts.io with parameters of type PrecisionModel Modifier and Type Method Description private voidWKTWriter. appendPointTaggedText(Coordinate coordinate, int level, java.io.Writer writer, PrecisionModel precisionModel)Converts aCoordinateto <Point Tagged Text> format, then appends it to the writer.private voidWKTWriter. appendPointText(Coordinate coordinate, int level, java.io.Writer writer, PrecisionModel precisionModel)Converts aCoordinateto <Point Text> format, then appends it to the writer.private static java.text.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 PrecisionModel Modifier and Type Field Description private PrecisionModelIteratedNoder. pmConstructors in org.locationtech.jts.noding with parameters of type PrecisionModel Constructor Description IteratedNoder(PrecisionModel pm) -
Uses of PrecisionModel in org.locationtech.jts.noding.snapround
Fields in org.locationtech.jts.noding.snapround declared as PrecisionModel Modifier and Type Field Description private PrecisionModelGeometryNoder. pmprivate PrecisionModelMCIndexSnapRounder. pmprivate PrecisionModelSimpleSnapRounder. pmConstructors in org.locationtech.jts.noding.snapround with parameters of type PrecisionModel Constructor Description GeometryNoder(PrecisionModel pm)Creates a new noder which snap-rounds to a grid specified by the givenPrecisionModel.MCIndexSnapRounder(PrecisionModel pm)SimpleSnapRounder(PrecisionModel pm) -
Uses of PrecisionModel in org.locationtech.jts.operation
Fields in org.locationtech.jts.operation declared as PrecisionModel Modifier and Type Field Description protected PrecisionModelGeometryGraphOperation. resultPrecisionModelMethods in org.locationtech.jts.operation with parameters of type PrecisionModel Modifier and Type Method Description protected voidGeometryGraphOperation. setComputationPrecision(PrecisionModel pm) -
Uses of PrecisionModel in org.locationtech.jts.operation.buffer
Fields in org.locationtech.jts.operation.buffer declared as PrecisionModel Modifier and Type Field Description private PrecisionModelOffsetCurveBuilder. precisionModelprivate PrecisionModelOffsetSegmentGenerator. precisionModelprivate PrecisionModelOffsetSegmentString. precisionModelprivate PrecisionModelBufferBuilder. workingPrecisionModelMethods in org.locationtech.jts.operation.buffer with parameters of type PrecisionModel Modifier and Type Method Description private voidBufferOp. bufferFixedPrecision(PrecisionModel fixedPM)private voidBufferBuilder. computeNodedEdges(java.util.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 PrecisionModel Constructor Description OffsetCurveBuilder(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 PrecisionModel Modifier and Type Field Description private PrecisionModelSimpleGeometryPrecisionReducer. newPrecisionModelDeprecated.private PrecisionModelCoordinatePrecisionReducerFilter. precModelprivate PrecisionModelGeometryPrecisionReducer. targetPMprivate PrecisionModelPrecisionReducerCoordinateOperation. targetPMMethods in org.locationtech.jts.precision with parameters of type PrecisionModel Modifier and Type Method Description private 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 PrecisionModel Constructor Description CoordinatePrecisionReducerFilter(PrecisionModel precModel)Creates a new precision reducer filter.GeometryPrecisionReducer(PrecisionModel pm)PrecisionReducerCoordinateOperation(PrecisionModel targetPM, boolean removeCollapsed)SimpleGeometryPrecisionReducer(PrecisionModel pm)Deprecated. -
Uses of PrecisionModel in org.locationtech.jts.util
Fields in org.locationtech.jts.util declared as PrecisionModel Modifier and Type Field Description protected PrecisionModelGeometricShapeFactory. precModel -
Uses of PrecisionModel in org.locationtech.jtsexample.geom
Methods in org.locationtech.jtsexample.geom with parameters of type PrecisionModel Modifier and Type Method Description voidPrecisionModelExample. difference(java.lang.String wktA, java.lang.String wktB, PrecisionModel pm)voidPrecisionModelExample. intersection(java.lang.String wktA, java.lang.String wktB, PrecisionModel pm) -
Uses of PrecisionModel in org.locationtech.jtstest.test
Fields in org.locationtech.jtstest.test declared as PrecisionModel Modifier and Type Field Description private PrecisionModelTestCase. pmMethods in org.locationtech.jtstest.test with parameters of type PrecisionModel Modifier and Type Method Description TestCaseTestCase. setPrecisionModel(PrecisionModel pm) -
Uses of PrecisionModel in org.locationtech.jtstest.testbuilder
Fields in org.locationtech.jtstest.testbuilder declared as PrecisionModel Modifier and Type Field Description private PrecisionModelPrecisionModelPanel. precisionModelMethods in org.locationtech.jtstest.testbuilder that return PrecisionModel Modifier and Type Method Description static PrecisionModelJTSTestBuilder. getPrecisionModel()PrecisionModelPrecisionModelDialog. getPrecisionModel()PrecisionModelPrecisionModelPanel. getPrecisionModel()Methods in org.locationtech.jtstest.testbuilder with parameters of type PrecisionModel Modifier and Type Method Description voidPrecisionModelDialog. 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 PrecisionModel Modifier and Type Field Description private PrecisionModelTestBuilderModel. precisionModelMethods in org.locationtech.jtstest.testbuilder.model that return PrecisionModel Modifier and Type Method Description PrecisionModelTestBuilderModel. getPrecisionModel()Methods in org.locationtech.jtstest.testbuilder.model with parameters of type PrecisionModel Modifier and Type Method Description voidTestBuilderModel. changePrecisionModel(PrecisionModel precisionModel)static java.lang.StringXMLTestWriter. getRunXml(TestCaseList tcList, PrecisionModel precModel)private java.lang.StringHtmlWriter. htmlTitle(PrecisionModel precisionModel)private java.lang.StringHtmlWriter. indexHtml(java.util.List runs, java.util.Map runMap, PrecisionModel precisionModel)(package private) voidTestBuilderModel. loadTestCaseList(TestCaseList tcl, PrecisionModel precisionModel)voidTestBuilderModel. setPrecisionModel(PrecisionModel precisionModel)static java.lang.StringXMLTestWriter. toXML(PrecisionModel precisionModel)voidHtmlWriter. write(java.io.File outputDirectory, TestCaseList testCaseList, PrecisionModel precisionModel)voidPNGWriter. write(java.io.File outputDirectory, TestCaseEdit testCase, PrecisionModel precisionModel)Constructors in org.locationtech.jtstest.testbuilder.model with parameters of type PrecisionModel Constructor Description TestCaseEdit(PrecisionModel pm) -
Uses of PrecisionModel in org.locationtech.jtstest.testbuilder.ui
Fields in org.locationtech.jtstest.testbuilder.ui declared as PrecisionModel Modifier and Type Field Description private PrecisionModelViewport. scalePMMethods in org.locationtech.jtstest.testbuilder.ui that return PrecisionModel Modifier and Type Method Description PrecisionModelViewport. 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 Modifier and Type Field Description private PrecisionModelBasicTool. gridPM -
Uses of PrecisionModel in org.locationtech.jtstest.testrunner
Fields in org.locationtech.jtstest.testrunner declared as PrecisionModel Modifier and Type Field Description private PrecisionModelTestRun. precisionModelMethods in org.locationtech.jtstest.testrunner that return PrecisionModel Modifier and Type Method Description private PrecisionModelTestReader. createPrecisionModel(org.jdom2.Element precisionModelElement)PrecisionModelTestRun. getPrecisionModel()private PrecisionModelTestReader. parsePrecisionModel(org.jdom2.Element runElement)Parses an optional precisionModel element.Constructors in org.locationtech.jtstest.testrunner with parameters of type PrecisionModel Constructor Description TestRun(java.lang.String description, int runIndex, PrecisionModel precisionModel, GeometryOperation geomOp, ResultMatcher resultMatcher, java.io.File testFile) -
Uses of PrecisionModel in org.locationtech.jtstest.util.io
Methods in org.locationtech.jtstest.util.io with parameters of type PrecisionModel Modifier and Type Method Description private voidSVGWriter. appendPoint(Coordinate coordinate, int level, java.io.Writer writer, PrecisionModel precisionModel)Converts aCoordinateto <Point Text> format, then appends it to the writer.private voidSVGWriter. appendPointTaggedText(Coordinate coordinate, int level, java.io.Writer writer, PrecisionModel precisionModel)Converts aCoordinateto <Point Tagged Text> format, then appends it to the writer.private static java.text.DecimalFormatSVGWriter. createFormatter(PrecisionModel precisionModel)Creates theDecimalFormatused to writedoubles with a sufficient number of decimal places.
-