DirectedEdge class
@version 1.7
Constructors
- DirectedEdge(Edge edge, bool isForward)
Properties
-
depth
↔ List<
int> -
The depth of each side (position) of this edge.
The 0 element of the array is never used.
getter/setter pair
- dx ↔ double
-
getter/setter pairinherited
- dy ↔ double
-
getter/setter pairinherited
- edge ↔ Edge
-
getter/setter pairinherited
- edgeRing ↔ EdgeRing?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- label ↔ Label?
-
getter/setter pairinherited
- minEdgeRing ↔ EdgeRing?
-
getter/setter pair
- next ↔ DirectedEdge
-
getter/setter pair
- nextMin ↔ DirectedEdge
-
getter/setter pair
- node ↔ Node?
-
getter/setter pairinherited
- p0 ↔ Coordinate?
-
getter/setter pairinherited
- p1 ↔ Coordinate?
-
getter/setter pairinherited
- quadrant ↔ int
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sym ↔ DirectedEdge
-
getter/setter pair
Methods
-
compareDirection(
EdgeEnd e) → int -
Implements the total order relation:
inherited
-
compareTo(
dynamic obj) → int -
Compares this object to another object.
inherited
-
computeDirectedLabel(
) → void - Compute the label in the appropriate orientation for this DirEdge
-
computeLabel(
BoundaryNodeRule boundaryNodeRule) → void -
inherited
-
getCoordinate(
) → Coordinate? -
inherited
-
getDepth(
int position) → int -
getDepthDelta(
) → int -
getDirectedCoordinate(
) → Coordinate? -
inherited
-
getDx(
) → double -
inherited
-
getDy(
) → double -
inherited
-
getEdge(
) → Edge -
override
-
getEdgeRing(
) → EdgeRing? -
getLabel(
) → Label? -
inherited
-
getMinEdgeRing(
) → EdgeRing? -
getNext(
) → DirectedEdge -
getNextMin(
) → DirectedEdge -
getNode(
) → Node? -
inherited
-
getQuadrant(
) → int -
inherited
-
getSym(
) → DirectedEdge - Each Edge gives rise to a pair of symmetric DirectedEdges, in opposite directions. @return the DirectedEdge for the same Edge but in the opposite direction
-
init(
Coordinate p0, Coordinate p1) → void -
inherited
-
isForward(
) → bool -
isInResult(
) → bool -
isInteriorAreaEdge(
) → bool - This is an interior Area edge if
-
isLineEdge(
) → bool - This edge is a line edge if
-
isVisited(
) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setDepth(
int position, int depthVal) → void -
setEdgeDepths(
int position, int depth) → void - Set both edge depths. One depth for a given side is provided. The other is computed depending on the Location transition and the depthDelta of the edge.
-
setEdgeRing(
EdgeRing edgeRing) → void -
setInResult(
bool isInResult) → void -
setMinEdgeRing(
EdgeRing minEdgeRing) → void -
setNext(
DirectedEdge next) → void -
setNextMin(
DirectedEdge nextMin) → void -
setNode(
Node node) → void -
inherited
-
setSym(
DirectedEdge de) → void -
setVisited(
bool isVisited) → void -
setVisitedEdge(
bool isVisited) → void - setVisitedEdge marks both DirectedEdges attached to a given Edge. This is used for edges corresponding to lines, which will only appear oriented in a single direction in the result.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
depthFactor(
int currLocation, int nextLocation) → int - Computes the factor for the change in depth when moving from one location to another. E.g. if crossing from the INTERIOR to the EXTERIOR the depth decreases, so the factor is -1