Line class

Constructors

Line(Vector2 a, Vector2 b)
const

Properties

a → Vector2
final
b → Vector2
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

distanceToPoint(Vector2 p) double
intersect(Line other) → Vector2?
intersectAsSegments(Line other) → Vector2?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
project(Vector2 p) → Vector2
slope() double?
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited