public final class Dart extends Object
PlanarEmbedding
.
For each edge there exist two darts, one that represents the edge in its original direction (i.e., from source to
target) and one that represents its reverse. Each dart is associated with a face
.
Modifier and Type | Method and Description |
---|---|
Edge |
getAssociatedEdge()
Gets the edge associated with this dart.
|
List<Dart> |
getFace()
Gets the face list associated with this dart.
|
Dart |
getOppositeDart()
Gets the opposite dart.
|
boolean |
isReversed()
Gets whether this dart represents the original edge or its reverse.
|
public final Edge getAssociatedEdge()
public final List<Dart> getFace()
public final Dart getOppositeDart()
The opposite dart is associated with the same edge as this dart but with a different direction
.
public final boolean isReversed()
true
if this dart represents the original edge, false
if it represents its reverse