PointAlgo class

Constructors

PointAlgo()

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

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

containsLocationAtLatLng(num latitude, num longitude, List<LatLng> polygon, bool geodesic) bool
Computes whether the given point lies inside the specified polygon. The polygon is always considered closed, regardless of whether the last point equals the first or not. Inside is defined as not containing the South Pole -- the South Pole is always outside. The polygon is formed of great circle segments if geodesic is true, and of rhumb (loxodromic) segments otherwise.
getLatLngFromAPoint(LatLng pt, int distance, double bearing) LatLng
isPointInPolygons(LatLng point, Set<Polygon> polygons) bool
isPointOnPolyline(LatLng point, Polyline poly, LatLngBounds bounds) bool
locationIndexOnEdgeOrPath(LatLng point, List<LatLng> poly, LatLngBounds bounds) int