Ring
A linear ring is a closed figure bounded by three or more straight line segments.
-
The positions at which the linear ring is located.
-
Initializes a linear ring defined by the given positions.
-
Calculate the approximate area of the polygon were it projected onto the earth, in square meters. Note that this area will be positive if ring is oriented clockwise, otherwise it will be negative.
Reference: Robert. G. Chamberlain and William H. Duquette, “Some Algorithms for Polygons on a Sphere”, JPL Publication 07-03, Jet Propulsion Laboratory, Pasadena, CA, June 2007 https://trs.jpl.nasa.gov/handle/2014/41271
-
Determines if the given point falls within the ring. The optional parameter
ignoreBoundary
will result in the method returning true if the given point lies on the boundary line of the ring. -
-