Edge class
Properties
Methods
-
calculateAttractionForce(
{required double k, required double length}) → double - Hooke's law calculates the elastic force
-
calculateAttractionForceDirectionA(
) → Vector2 - Calculate the elastic force direction of node A
-
calculateAttractionForceDirectionB(
) → Vector2 - Calculate the elastic force direction of node B
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override