Uses of Class
org.locationtech.jts.geom.LinearRing
Packages that use LinearRing
Package
Description
Contains classes and interfaces implementing fundamental computational geometry algorithms.
Classes to determine the topological location of points in geometries.
Contains the
Geometry
interface hierarchy and supporting classes.Provides classes that parse and modify Geometry objects.
Contains classes that implement topology graphs.
Contains the interfaces for converting JTS objects to and from other formats.
Classes to read and write the GML2 geometry format.
Provides classes for computing buffers of geometries
An API for polygonizing sets of lines.
Provides classes for testing the validity of geometries.
Classes which implement algorithms for simplifying or generalizing geometries.
-
Uses of LinearRing in org.locationtech.jts.algorithm
Methods in org.locationtech.jts.algorithm with parameters of type LinearRingModifier and TypeMethodDescriptionprivate int
PointLocator.locateInPolygonRing
(Coordinate p, LinearRing ring) -
Uses of LinearRing in org.locationtech.jts.algorithm.locate
Methods in org.locationtech.jts.algorithm.locate with parameters of type LinearRingModifier and TypeMethodDescriptionprivate static int
SimplePointInAreaLocator.locatePointInRing
(Coordinate p, LinearRing ring) Determines whether a point lies in a LinearRing, using the ring envelope to short-circuit if possible. -
Uses of LinearRing in org.locationtech.jts.geom
Fields in org.locationtech.jts.geom declared as LinearRingModifier and TypeFieldDescriptionprotected LinearRing[]
Polygon.holes
The interior boundaries, if any.protected LinearRing
Polygon.shell
The exterior boundary, ornull
if thisPolygon
is empty.Methods in org.locationtech.jts.geom that return LinearRingModifier and TypeMethodDescriptionLinearRing.copy()
GeometryFactory.createLinearRing()
GeometryFactory.createLinearRing
(Coordinate[] coordinates) Creates aLinearRing
using the givenCoordinate
s.GeometryFactory.createLinearRing
(CoordinateSequence coordinates) Creates aLinearRing
using the givenCoordinateSequence
.static LinearRing[]
GeometryFactory.toLinearRingArray
(Collection linearRings) Converts theList
to an array.Methods in org.locationtech.jts.geom with parameters of type LinearRingModifier and TypeMethodDescriptionGeometryFactory.createPolygon
(LinearRing shell) Constructs aPolygon
with the given exterior boundary.GeometryFactory.createPolygon
(LinearRing shell, LinearRing[] holes) Constructs aPolygon
with the given exterior boundary and interior boundaries.private void
Polygon.normalize
(LinearRing ring, boolean clockwise) Constructors in org.locationtech.jts.geom with parameters of type LinearRingModifierConstructorDescriptionPolygon
(LinearRing shell, LinearRing[] holes, GeometryFactory factory) Constructs aPolygon
with the given exterior boundary and interior boundaries.Polygon
(LinearRing shell, LinearRing[] holes, PrecisionModel precisionModel, int SRID) Deprecated.Use GeometryFactory insteadPolygon
(LinearRing shell, PrecisionModel precisionModel, int SRID) Deprecated.Use GeometryFactory instead -
Uses of LinearRing in org.locationtech.jts.geom.util
Methods in org.locationtech.jts.geom.util with parameters of type LinearRingModifier and TypeMethodDescriptionprotected Geometry
GeometryTransformer.transformLinearRing
(LinearRing geom, Geometry parent) Transforms a LinearRing. -
Uses of LinearRing in org.locationtech.jts.geomgraph
Fields in org.locationtech.jts.geomgraph declared as LinearRingMethods in org.locationtech.jts.geomgraph that return LinearRingMethods in org.locationtech.jts.geomgraph with parameters of type LinearRingModifier and TypeMethodDescriptionprivate void
GeometryGraph.addPolygonRing
(LinearRing lr, int cwLeft, int cwRight) Adds a polygon ring to the graph. -
Uses of LinearRing in org.locationtech.jts.io
Methods in org.locationtech.jts.io that return LinearRingModifier and TypeMethodDescriptionprivate LinearRing
WKBReader.readLinearRing()
private LinearRing
WKTReader.readLinearRingText()
Creates aLinearRing
using the next token in the stream.Methods in org.locationtech.jts.io with parameters of type LinearRingModifier and TypeMethodDescriptionprivate void
WKTWriter.appendLinearRingTaggedText
(LinearRing linearRing, int level, Writer writer) Converts aLinearRing
to <LinearRing Tagged Text> format, then appends it to the writer. -
Uses of LinearRing in org.locationtech.jts.io.gml2
Methods in org.locationtech.jts.io.gml2 with parameters of type LinearRingModifier and TypeMethodDescriptionprivate void
GMLWriter.writeLinearRing
(LinearRing lr, Writer writer, int level) -
Uses of LinearRing in org.locationtech.jts.io.kml
Methods in org.locationtech.jts.io.kml with parameters of type LinearRingModifier and TypeMethodDescriptionprivate void
KMLWriter.writeLinearRing
(LinearRing lr, String attributes, boolean writeModifiers, int level, StringBuffer buf) -
Uses of LinearRing in org.locationtech.jts.operation.buffer
Methods in org.locationtech.jts.operation.buffer with parameters of type LinearRingModifier and TypeMethodDescriptionprivate boolean
OffsetCurveSetBuilder.isErodedCompletely
(LinearRing ring, double bufferDistance) The ringCoord is assumed to contain no repeated points. -
Uses of LinearRing in org.locationtech.jts.operation.polygonize
Fields in org.locationtech.jts.operation.polygonize declared as LinearRingMethods in org.locationtech.jts.operation.polygonize that return LinearRingModifier and TypeMethodDescriptionEdgeRing.getRing()
Returns this ring as aLinearRing
, or null if an Exception occurs while creating it (such as a topology problem).Methods in org.locationtech.jts.operation.polygonize with parameters of type LinearRingModifier and TypeMethodDescriptionvoid
EdgeRing.addHole
(LinearRing hole) Adds a hole to the polygon formed by this ring. -
Uses of LinearRing in org.locationtech.jts.operation.valid
Methods in org.locationtech.jts.operation.valid with parameters of type LinearRingModifier and TypeMethodDescriptionvoid
IndexedNestedRingTester.add
(LinearRing ring) private void
IsValidOp.checkClosedRing
(LinearRing ring) private Coordinate
IsValidOp.checkShellInsideHole
(LinearRing shell, LinearRing hole, GeometryGraph graph) This routine checks to see if a shell is properly contained in a hole.private void
IsValidOp.checkShellNotNested
(LinearRing shell, Polygon p, GeometryGraph graph) Check if a shell is incorrectly nested within a polygon.private void
IsValidOp.checkValid
(LinearRing g) Checks validity of a LinearRing.static Coordinate
IsValidOp.findPtNotNode
(Coordinate[] testCoords, LinearRing searchRing, GeometryGraph graph) Find a point from the list of testCoords that is NOT a node in the edge for the list of searchCoords -
Uses of LinearRing in org.locationtech.jts.shape.fractal
Methods in org.locationtech.jts.shape.fractal that return LinearRingModifier and TypeMethodDescriptionprivate LinearRing
SierpinskiCarpetBuilder.createSquareHole
(double x, double y, double width) private LinearRing[]
SierpinskiCarpetBuilder.getHoles
(int n, double originX, double originY, double width) -
Uses of LinearRing in org.locationtech.jts.simplify
Methods in org.locationtech.jts.simplify that return LinearRingMethods in org.locationtech.jts.simplify with parameters of type LinearRingModifier and TypeMethodDescriptionprotected Geometry
DouglasPeuckerSimplifier.DPTransformer.transformLinearRing
(LinearRing geom, Geometry parent) Simplifies a LinearRing.protected Geometry
VWSimplifier.VWTransformer.transformLinearRing
(LinearRing geom, Geometry parent) Simplifies a LinearRing. -
Uses of LinearRing in org.locationtech.jtsexample.io.gml2
Methods in org.locationtech.jtsexample.io.gml2 that return LinearRing -
Uses of LinearRing in org.locationtech.jtstest.clean
Methods in org.locationtech.jtstest.clean that return LinearRingMethods in org.locationtech.jtstest.clean with parameters of type LinearRing -
Uses of LinearRing in org.locationtech.jtstest.testbuilder
Constructors in org.locationtech.jtstest.testbuilder with parameters of type LinearRingModifierConstructorDescriptionLinearRingNode
(LinearRing ring, String tag, GeometryContext context) LinearRingNode
(LinearRing ring, GeometryContext context) -
Uses of LinearRing in org.locationtech.jtstest.testbuilder.geom
Methods in org.locationtech.jtstest.testbuilder.geom with parameters of type LinearRing -
Uses of LinearRing in org.locationtech.jtstest.util.io
Methods in org.locationtech.jtstest.util.io with parameters of type LinearRingModifier and TypeMethodDescriptionprivate void
SVGWriter.appendLinearRingTaggedText
(LinearRing linearRing, int level, Writer writer) Converts aLinearRing
to <LinearRing Tagged Text> format, then appends it to the writer.