Line class
This represents a line on the ax + by = c form If you just want to represent a part of a line, look into LineSegment.
Properties
Methods
-
intersections(
Line otherLine) → List< Vector2> - Returns an empty list if there is no intersection If the lines are concurrent it returns one point in the list. If they coincide it returns an empty list as well
-
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.
inherited
Static Methods
-
fromPoints(
Vector2 p1, Vector2 p2) → Line