EdgeRing class abstract

@version 1.7

Implementers

Constructors

EdgeRing(DirectedEdge start, GeometryFactory geometryFactory)

Properties

edges List
getter/setter pair
geometryFactory GeometryFactory
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
holes List
getter/setter pair
label Label
getter/setter pair
maxNodeDegree int
getter/setter pair
pts List
getter/setter pair
ring LinearRing?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shell EdgeRing?
getter/setter pair
startDe DirectedEdge?
getter/setter pair

Methods

addHole(EdgeRing ring) → void
addPoints(Edge edge, bool isForward, bool isFirstEdge) → void
computeMaxNodeDegree() → void
computePoints(DirectedEdge start) → void
Collect all the points from the DirectedEdges of this ring into a contiguous list
computeRing() → void
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.
containsPoint(Coordinate p) bool
This method will cause the ring to be computed. It will also check any holes, if they have been assigned.
getCoordinate(int i) Coordinate
getEdges() List
Returns the list of DirectedEdges that make up this EdgeRing
getLabel() Label
getLinearRing() LinearRing?
getMaxNodeDegree() int
getNext(DirectedEdge de) DirectedEdge
getShell() EdgeRing?
isHole() bool
isIsolated() bool
isShell() bool
mergeLabel(Label deLabel) → void
mergeLabelWithIndex(Label deLabel, int geomIndex) → void
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.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setEdgeRing(DirectedEdge de, EdgeRing er) → void
setInResult() → void
setShell(EdgeRing? shell) → void
toPolygon(GeometryFactory geometryFactory) Polygon
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited