Constructor and Description |
---|
MarkHalfEdge(Coordinate orig)
Creates a new marked edge.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isMarked()
Tests whether this edge is marked.
|
static boolean |
isMarked(HalfEdge e)
Tests whether the given edge is marked.
|
void |
mark()
Marks this edge.
|
static void |
mark(HalfEdge e)
Marks the given edge.
|
static void |
markBoth(HalfEdge e)
Marks the edges in a pair.
|
void |
setMark(boolean isMarked)
Sets the value of the mark on this edge.
|
static void |
setMark(HalfEdge e,
boolean isMarked)
Sets the mark for the given edge to a boolean value.
|
static void |
setMarkBoth(HalfEdge e,
boolean isMarked)
Sets the mark for the given edge pair to a boolean value.
|
public MarkHalfEdge(Coordinate orig)
orig
- the coordinate of the edge originpublic static boolean isMarked(HalfEdge e)
e
- the edge to testpublic static void mark(HalfEdge e)
e
- the edge to markpublic static void setMark(HalfEdge e, boolean isMarked)
e
- the edge to setisMarked
- the mark valuepublic static void setMarkBoth(HalfEdge e, boolean isMarked)
e
- an edge of the pair to updateisMarked
- the mark value to setpublic static void markBoth(HalfEdge e)
e
- an edge of the pair to markpublic boolean isMarked()
public void mark()
public void setMark(boolean isMarked)
isMarked
- the mark value to setCopyright © 2022. All rights reserved.