Packages

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

Linear Supertypes
EdgeRing, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MaximalEdgeRing
  2. EdgeRing
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new MaximalEdgeRing(start: DirectedEdge, geometryFactoryArg: GeometryFactory)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addHole(ring: EdgeRing): Boolean
    Definition Classes
    EdgeRing
  5. def addPoints(edge: Edge, isForward: Boolean, isFirstEdge: Boolean): Unit
    Attributes
    protected
    Definition Classes
    EdgeRing
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def buildMinimalRings: ArrayList[MinimalEdgeRing]
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. 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
  10. 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
  11. 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
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  15. var geometryFactory: GeometryFactory
    Definition Classes
    EdgeRing
  16. val geometryFactoryArg: GeometryFactory
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def getCoordinate(i: Int): Coordinate
    Definition Classes
    EdgeRing
  19. 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
  20. def getLabel: Label
    Definition Classes
    EdgeRing
  21. def getLinearRing: LinearRing
    Definition Classes
    EdgeRing
  22. def getMaxNodeDegree: Int
    Definition Classes
    EdgeRing
  23. def getNext(de: DirectedEdge): DirectedEdge
    Definition Classes
    MaximalEdgeRingEdgeRing
  24. def getShell: EdgeRing
    Definition Classes
    EdgeRing
  25. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  26. def isHole: Boolean
    Definition Classes
    EdgeRing
  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. def isIsolated: Boolean
    Definition Classes
    EdgeRing
  29. def isShell: Boolean
    Definition Classes
    EdgeRing
  30. def linkDirectedEdgesForMinimalEdgeRings(): Unit

    For all nodes in this EdgeRing, link the DirectedEdges at the node to form minimalEdgeRings

  31. 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
  32. def mergeLabel(deLabel: Label): Unit
    Attributes
    protected
    Definition Classes
    EdgeRing
  33. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  34. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  35. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  36. def setEdgeRing(de: DirectedEdge, er: EdgeRing): Unit
    Definition Classes
    MaximalEdgeRingEdgeRing
  37. def setInResult(): Unit
    Definition Classes
    EdgeRing
  38. def setShell(shell: EdgeRing): Unit
    Definition Classes
    EdgeRing
  39. val start: DirectedEdge
    Definition Classes
    MaximalEdgeRingEdgeRing
  40. var startDe: DirectedEdge
    Attributes
    protected
    Definition Classes
    EdgeRing
  41. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  42. def toPolygon(geometryFactory: GeometryFactory): Polygon
    Definition Classes
    EdgeRing
  43. def toString(): String
    Definition Classes
    AnyRef → Any
  44. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  45. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  46. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from EdgeRing

Inherited from AnyRef

Inherited from Any

Ungrouped