EpitaphEdge class
An Edge specifically programmed for Indoor Navigation purposes.
- Inheritance
-
- Object
- Edge
- DirectedEdge
- EpitaphEdge
Constructors
- EpitaphEdge(EpitaphVertex source, EpitaphVertex target, double weight, EpitaphEdgeAttributes attributes, double cardinalDir)
-
factory
Properties
- a ↔ Vertex
-
One of the points of the edge
getter/setter pairinherited
- attributes → EpitaphEdgeAttributes
-
An attribute for the edge. Can be checked for.
final
- b ↔ Vertex
-
One of the points of the edge
getter/setter pairinherited
- cardinalDir → double
-
Cardinal point of the edge in the real world.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → EpitaphVertex
-
Source Vertex of your current DirectedEdge
no setteroverride
- target → EpitaphVertex
-
Target Vertex of your current DirectedEdge
no setteroverride
- weight → double
-
Weight of this edge.
finalinherited
Methods
-
copy(
) → EpitaphEdge -
Returns a copy of the instance of your object
override
-
equalToEdge(
Edge other) → bool -
For checking if an Edge contains the same vertices as
other
.inherited -
equalToVertices(
Vertex source, Vertex target) → bool -
For checking if an Edge contains the
source
andtarget
Vertices. This method has a directionality.source
andtarget
are not interchangeable.inherited -
headingTowardsTarget(
double userHeading) → bool - Checks heading of edge toward the target.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
shadowScale(
Vector position) → double - Returns the relative scale of the shortest source-position vector to this edge
-
shortestDistance(
Vector position) → double -
Returns the shortest distance from
position
to this edge -
toJson(
) → Map< String, dynamic> -
Serializes an object
override
-
toString(
) → String -
A string representation of this object.
override
-
toVector(
) → Vector -
vectorFromPosition(
Vector position) → Vector -
Returns vector with the shortest distance from
position
to this edge
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited