GeoUtil class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
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
-
havDistance(num lat1, num lat2, num dLng)
→ num
-
Returns hav() of distance from (lat1, lng1) to (lat2, lng2) on the unit
sphere.
-
intersects(num lat1, num lat2, num lng2, num lat3, num lng3, bool geodesic)
→ bool
-
intersects the segment (lat1, lng1) to (lat2, lng2).
Longitudes are offset by -lng1; the implicit lng1 becomes 0.
-
inverseMercator(num y)
→ num
-
Returns latitude from mercator Y.
-
isOnSegmentGC(num lat1, num lng1, num lat2, num lng2, num lat3, num lng3, num havTolerance)
→ bool
-
-
mercator(num lat)
→ num
-
Returns mercator Y corresponding to latitude.
See http://en.wikipedia.org/wiki/Mercator_projection .
-
sinDeltaBearing(num lat1, num lng1, num lat2, num lng2, num lat3, num lng3)
→ double
-