class MaximalEdgeRing extends EdgeRing
A ring of {link DirectedEdge}s which may contain nodes of degree > 2. A MaximalEdgeRing may represent two different spatial entities:
- a single polygon possibly containing inversions (if the ring is oriented CW)
- a single hole possibly containing exversions (if the ring is oriented CCW)
If the MaximalEdgeRing represents a polygon, the interior of the polygon is strongly connected.
These are the form of rings used to define polygons under some spatial data models. However, under the OGC SFS model, {link MinimalEdgeRing}s are required. A MaximalEdgeRing can be converted to a list of MinimalEdgeRings using the {link #buildMinimalRings() } method.
- Version
1.7
- See also
org.locationtech.jts.operation.overlay.MinimalEdgeRing
- Alphabetic
- By Inheritance
- MaximalEdgeRing
- EdgeRing
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new MaximalEdgeRing(start: DirectedEdge, geometryFactoryArg: GeometryFactory)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addHole(ring: EdgeRing): Boolean
- Definition Classes
- EdgeRing
- def addPoints(edge: Edge, isForward: Boolean, isFirstEdge: Boolean): Unit
- Attributes
- protected
- Definition Classes
- EdgeRing
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def buildMinimalRings: ArrayList[MinimalEdgeRing]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def computePoints(start: DirectedEdge): Unit
Collect all the points from the DirectedEdges of this ring into a contiguous list
Collect all the points from the DirectedEdges of this ring into a contiguous list
- Attributes
- protected
- Definition Classes
- EdgeRing
- def computeRing(): Unit
Compute a LinearRing from the point list previously collected.
Compute a LinearRing from the point list previously collected. Test if the ring is a hole (i.e. if it is CCW) and set the hole flag accordingly.
- Definition Classes
- EdgeRing
- def containsPoint(p: Coordinate): Boolean
This method will cause the ring to be computed.
This method will cause the ring to be computed. It will also check any holes, if they have been assigned.
- Definition Classes
- EdgeRing
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- var geometryFactory: GeometryFactory
- Definition Classes
- EdgeRing
- val geometryFactoryArg: GeometryFactory
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getCoordinate(i: Int): Coordinate
- Definition Classes
- EdgeRing
- def getEdges: ArrayList[_]
Returns the list of DirectedEdges that make up this EdgeRing
Returns the list of DirectedEdges that make up this EdgeRing
- Definition Classes
- EdgeRing
- def getLabel: Label
- Definition Classes
- EdgeRing
- def getLinearRing: LinearRing
- Definition Classes
- EdgeRing
- def getMaxNodeDegree: Int
- Definition Classes
- EdgeRing
- def getNext(de: DirectedEdge): DirectedEdge
- Definition Classes
- MaximalEdgeRing → EdgeRing
- def getShell: EdgeRing
- Definition Classes
- EdgeRing
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def isHole: Boolean
- Definition Classes
- EdgeRing
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isIsolated: Boolean
- Definition Classes
- EdgeRing
- def isShell: Boolean
- Definition Classes
- EdgeRing
- def linkDirectedEdgesForMinimalEdgeRings(): Unit
For all nodes in this EdgeRing, link the DirectedEdges at the node to form minimalEdgeRings
- def mergeLabel(deLabel: Label, geomIndex: Int): Unit
Merge the RHS label from a DirectedEdge into the label for this EdgeRing.
Merge the RHS label from a DirectedEdge into the label for this EdgeRing. The DirectedEdge label may be null. This is acceptable - it results from a node which is NOT an intersection node between the Geometries (e.g. the end node of a LinearRing). In this case the DirectedEdge label does not contribute any information to the overall labelling, and is simply skipped.
- Attributes
- protected
- Definition Classes
- EdgeRing
- def mergeLabel(deLabel: Label): Unit
- Attributes
- protected
- Definition Classes
- EdgeRing
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def setEdgeRing(de: DirectedEdge, er: EdgeRing): Unit
- Definition Classes
- MaximalEdgeRing → EdgeRing
- def setInResult(): Unit
- Definition Classes
- EdgeRing
- def setShell(shell: EdgeRing): Unit
- Definition Classes
- EdgeRing
- val start: DirectedEdge
- Definition Classes
- MaximalEdgeRing → EdgeRing
- var startDe: DirectedEdge
- Attributes
- protected
- Definition Classes
- EdgeRing
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toPolygon(geometryFactory: GeometryFactory): Polygon
- Definition Classes
- EdgeRing
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()