MinimalEdgeRing class
A ring of {@link Edge}s with the property that no node has degree greater than 2. These are the form of rings required to represent polygons under the OGC SFS spatial data model.
@version 1.7 @see org.locationtech.jts.operation.overlay.MaximalEdgeRing
Constructors
- MinimalEdgeRing(DirectedEdge start, GeometryFactory geometryFactory)
Properties
- edges ↔ List
-
getter/setter pairinherited
- geometryFactory ↔ GeometryFactory
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- holes ↔ List
-
getter/setter pairinherited
- label ↔ Label
-
getter/setter pairinherited
- maxNodeDegree ↔ int
-
getter/setter pairinherited
- pts ↔ List
-
getter/setter pairinherited
- ring ↔ LinearRing?
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shell ↔ EdgeRing?
-
getter/setter pairinherited
- startDe ↔ DirectedEdge?
-
getter/setter pairinherited
Methods
-
addHole(
EdgeRing ring) → void -
inherited
-
addPoints(
Edge edge, bool isForward, bool isFirstEdge) → void -
inherited
-
computeMaxNodeDegree(
) → void -
inherited
-
computePoints(
DirectedEdge start) → void -
Collect all the points from the DirectedEdges of this ring into a contiguous list
inherited
-
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.
inherited
-
containsPoint(
Coordinate p) → bool -
This method will cause the ring to be computed.
It will also check any holes, if they have been assigned.
inherited
-
getCoordinate(
int i) → Coordinate -
inherited
-
getEdges(
) → List -
Returns the list of DirectedEdges that make up this EdgeRing
inherited
-
getLabel(
) → Label -
inherited
-
getLinearRing(
) → LinearRing? -
inherited
-
getMaxNodeDegree(
) → int -
inherited
-
getNext(
DirectedEdge de) → DirectedEdge -
override
-
getShell(
) → EdgeRing? -
inherited
-
isHole(
) → bool -
inherited
-
isIsolated(
) → bool -
inherited
-
isShell(
) → bool -
inherited
-
mergeLabel(
Label deLabel) → void -
inherited
-
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.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setEdgeRing(
DirectedEdge de, EdgeRing er) → void -
override
-
setInResult(
) → void -
inherited
-
setShell(
EdgeRing? shell) → void -
inherited
-
toPolygon(
GeometryFactory geometryFactory) → Polygon -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited