Dart SDK
dart:math
Point
magnitude
property
magnitude
Point
Properties
x
y
hashCode
magnitude
Constructors
Point
Operators
operator ==
operator +
operator -
operator *
Methods
toString
distanceTo
squaredDistanceTo
double
magnitude
read-only
Get the straight line (Euclidean) distance between the origin (0, 0) and this point.