case class PolygonLocation(points: Seq[GeoCoordinate]) extends ReferencingLocation with LinearRingHolder[GeoCoordinate] with Product with 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.
- points
At least three geopoints that form the polygon.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- PolygonLocation
- Serializable
- Serializable
- Product
- Equals
- LinearRingHolder
- ReferencingLocation
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new PolygonLocation(points: List[GeoCoordinateHolder])
-
new
PolygonLocation(points: Seq[GeoCoordinate])
- points
At least three geopoints that form the polygon.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getPoints: List[GeoCoordinate]
Returns the points of the linear ring in order.
Returns the points of the linear ring in order.
There is no duplication of the last point at the end of the sequence, i.e. for a triangle this method returns a sequence of three points.
- Definition Classes
- PolygonLocation → LinearRingHolder
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val points: Seq[GeoCoordinate]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()