public final class RemoveEdgeResult
extends java.lang.Object
Subdivision
.
Immutable class containing the result of the Subdivision.removeEdge(int)
method
of the Subdivision
class.Modifier and Type | Field and Description |
---|---|
int |
changedFaceKey
The
SubdivisionFace.key() of the changed SubdivisionFace , if any. |
int |
removedFaceKey
The
SubdivisionFace.key() of the removed SubdivisionFace , if any. |
Modifier and Type | Method and Description |
---|---|
boolean |
isEdgeRemoved()
Indicates whether an edge was removed from the
Subdivision . |
public final int changedFaceKey
SubdivisionFace.key()
of the changed SubdivisionFace
, if any.
Set to a non-negative value if Subdivision.removeEdge(int)
succeeded,
else to a negative value.public final int removedFaceKey
SubdivisionFace.key()
of the removed SubdivisionFace
, if any.
Set to a non-negative value exactly if Subdivision.removeEdge(int)
succeeded,
and a SubdivisionFace
was removed along with the edge.public boolean isEdgeRemoved()
Subdivision
.true
if changedFaceKey
is equal
to or greater than zero, else false
.