Package | Description |
---|---|
org.locationtech.jts.edgegraph |
Modifier and Type | Class | Description |
---|---|---|
class |
MarkHalfEdge |
A
HalfEdge which supports
marking edges with a boolean flag. |
Modifier and Type | Method | Description |
---|---|---|
HalfEdge |
EdgeGraph.addEdge(Coordinate orig,
Coordinate dest) |
Adds an edge between the coordinates orig and dest
to this graph.
|
static HalfEdge |
HalfEdge.create(Coordinate p0,
Coordinate p1) |
Creates a HalfEdge pair representing an edge
between two vertices located at coordinates p0 and p1.
|
HalfEdge |
HalfEdge.find(Coordinate dest) |
Finds the edge starting at the origin of this edge
with the given dest vertex,
if any.
|
HalfEdge |
EdgeGraph.findEdge(Coordinate orig,
Coordinate dest) |
Finds an edge in this graph with the given origin
and destination, if one exists.
|
static HalfEdge |
HalfEdge.init(HalfEdge e0,
HalfEdge e1) |
Initialize a symmetric pair of halfedges.
|
HalfEdge |
HalfEdge.next() |
Gets the next edge CCW around the
destination vertex of this edge.
|
HalfEdge |
HalfEdge.oNext() |
|
HalfEdge |
HalfEdge.prev() |
Returns the edge previous to this one
(with dest being the same as this orig).
|
HalfEdge |
HalfEdge.prevNode() |
Finds the first node previous to this edge, if any.
|
HalfEdge |
HalfEdge.sym() |
Gets the symmetric pair edge of this edge.
|
Modifier and Type | Method | Description |
---|---|---|
int |
HalfEdge.compareAngularDirection(HalfEdge e) |
Implements the total order relation:
|
static HalfEdge |
HalfEdge.init(HalfEdge e0,
HalfEdge e1) |
Initialize a symmetric pair of halfedges.
|
void |
HalfEdge.insert(HalfEdge e) |
Inserts an edge
into the ring of edges around the origin vertex of this edge.
|
static boolean |
MarkHalfEdge.isMarked(HalfEdge e) |
Tests whether the given edge is marked.
|
static void |
MarkHalfEdge.mark(HalfEdge e) |
Marks the given edge.
|
static void |
MarkHalfEdge.markBoth(HalfEdge e) |
Marks the edges in a pair.
|
static void |
MarkHalfEdge.setMark(HalfEdge e,
boolean isMarked) |
Sets the mark for the given edge to a boolean value.
|
static void |
MarkHalfEdge.setMarkBoth(HalfEdge e,
boolean isMarked) |
Sets the mark for the given edge pair to a boolean value.
|
void |
HalfEdge.setNext(HalfEdge e) |
Copyright © 2018. All rights reserved.