EdgeEnd class
Models the end of an edge incident on a node. EdgeEnds have a direction determined by the direction of the ray from the initial point to the next point. EdgeEnds are comparable under the ordering "a has a greater angle with the x-axis than b". This ordering is used to sort EdgeEnds around a node. @version 1.7
- Implemented types
- Implementers
Constructors
- EdgeEnd(Edge edge)
- EdgeEnd.withCoords(Edge edge, Coordinate p0, Coordinate p1)
- EdgeEnd.withCoordsLabel(Edge edge, Coordinate p0, Coordinate p1, Label? label)
Properties
- dx ↔ double
-
getter/setter pair
- dy ↔ double
-
getter/setter pair
- edge ↔ Edge
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- label ↔ Label?
-
getter/setter pair
- node ↔ Node?
-
getter/setter pair
- p0 ↔ Coordinate?
-
getter/setter pair
- p1 ↔ Coordinate?
-
getter/setter pair
- quadrant ↔ int
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
compareDirection(
EdgeEnd e) → int - Implements the total order relation:
-
compareTo(
dynamic obj) → int -
Compares this object to another object.
override
-
computeLabel(
BoundaryNodeRule boundaryNodeRule) → void -
getCoordinate(
) → Coordinate? -
getDirectedCoordinate(
) → Coordinate? -
getDx(
) → double -
getDy(
) → double -
getEdge(
) → Edge -
getLabel(
) → Label? -
getNode(
) → Node? -
getQuadrant(
) → int -
init(
Coordinate p0, Coordinate p1) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setNode(
Node node) → void -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited