Class PolygonLocation

java.lang.Object
com.here.platform.location.referencing.PolygonLocation
All Implemented Interfaces:
LinearRingHolder<GeoCoordinate>, ReferencingLocation, Serializable, scala.Equals, scala.Product, scala.Serializable

public class PolygonLocation extends Object implements ReferencingLocation, LinearRingHolder<GeoCoordinate>, scala.Product, scala.Serializable
A location surrounded by a sequence of points given as geocoordinates.

The polygon is formed by straight lines between each consecutive pair of geopoints. The first and last geopoints also form a pair. A polygon should be formed by at least three geopoints.

param: points At least three geopoints that form the polygon.

See Also: