LineSegment2 class

Constructors

LineSegment2.new(Vector2 point0, Vector2 point1)

Properties

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

Methods

containsPoint(Vector2 point) bool
intersectsWithLineSegment(LineSegment2 other) Vector2?
Returns an intersection point between this and other, if exists
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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