PolygonPoint class
Constructors
- PolygonPoint(num x, num y)
 - 
          PolygonPoint.fromJson(Map<
String, dynamic> json) - 
          
            factory
 
Properties
- hashCode → int
 - 
  The hash code for this object.
  no setterinherited
 - magnitude → double
 - 
  Get the straight line (Euclidean) distance between the origin (0, 0) and
this point.
  no setterinherited
 - runtimeType → Type
 - 
  A representation of the runtime type of the object.
  no setterinherited
 - x → num
 - 
  
  finalinherited
 - y → num
 - 
  
  finalinherited
 
Methods
- 
  distanceTo(
Point< num> other) → double - 
  Returns the distance between 
thisandother.inherited - 
  noSuchMethod(
Invocation invocation) → dynamic  - 
  Invoked when a nonexistent method or property is accessed.
  inherited
 - 
  squaredDistanceTo(
Point< num> other) → num - 
  Returns the squared distance between 
thisandother.inherited - 
  toJson(
) → Map< String, dynamic>  - 
  toString(
) → String  - 
  A string representation of this object.
  inherited
 
Operators
- 
  operator *(
num factor) → Point< num>  - 
  Scale this point by 
factoras if it were a vector.inherited - 
  operator +(
Point< num> other) → Point<num>  - 
  Add 
othertothis, as if both points were vectors.inherited - 
  operator -(
Point< num> other) → Point<num>  - 
  Subtract 
otherfromthis, as if both points were vectors.inherited - 
  operator ==(
Object other) → bool  - 
  Whether 
otheris a point with the same coordinates as this point.inherited