AreaAlgo class
Properties
hashCode
→ int
The hash code for this object.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString ()
→ String
A string representation of this object.
inherited
Static Methods
polygonArea (List <LatLng > points , {List <List <LatLng > > holes = const [] })
→ num
in Acres
rad (num value )
→ num
convert degrees to radians
ringArea (List <LatLng > coordinates )
→ num
Calculate the approximate _area of the polygon were it projected onto
the earth. Note that this _area will be positive if ring is oriented
clockwise, otherwise it will be negative.