Point<T extends num> class
A utility class for representing twodimensional positions.
Constructors
 Point(T x T y)

const
Properties
 hashCode → int

The hash code for this object. [...]
readonly, override
 magnitude → double

Get the straight line (Euclidean) distance between the origin (0, 0) and
this point.
readonly
 x → T

final
 y → T

final
 runtimeType → Type

A representation of the runtime type of the object.
readonly, inherited
Methods

distanceTo(
Point< T> other) → double 
Returns the distance between
this
andother
. 
squaredDistanceTo(
Point< T> other) → T 
Returns the squared distance between
this
andother
. [...] 
toString(
) → String 
Returns a string representation of this object.
override

noSuchMethod(
Invocation invocation) → dynamic 
Invoked when a nonexistent method or property is accessed. [...]
inherited
Operators

operator *(
num factor) → Point< T> 
Scale this point by
factor
as if it were a vector. [...] 
operator +(
Point< T> other) → Point<T> 
Add
other
tothis
, as if both points were vectors. [...] 
operator (
Point< T> other) → Point<T> 
Subtract
other
fromthis
, as if both points were vectors. [...] 
operator ==(
dynamic other) → bool 
A
Point
is only equal to anotherPoint
with the same coordinates. [...]override