Packages

object Polygon

A representation of a GeoJSON Polygon.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Polygon
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def apply(coordinateReferenceSystem: CoordinateReferenceSystem, coordinates: PolygonCoordinates): Polygon

    Construct an instance with the given coordinates and coordinate reference system.

    Construct an instance with the given coordinates and coordinate reference system.

    coordinateReferenceSystem

    the coordinate reference system

    coordinates

    the coordinates

    returns

    the new Polygon

  2. def apply(coordinates: PolygonCoordinates): Polygon

    Construct an instance with the given coordinates.

    Construct an instance with the given coordinates.

    coordinates

    the coordinates

    returns

    the new Polygon

  3. def apply(exterior: Seq[Position], holes: Seq[Position]*): Polygon

    Construct an instance with the given coordinates.

    Construct an instance with the given coordinates.

    exterior

    the exterior ring of the polygon

    holes

    optional interior rings of the polygon

    returns

    the new Polygon