Packages

sealed trait PolygonOrNoResult extends GeometryResultMethods

Linear Supertypes
GeometryResultMethods, Serializable, Serializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PolygonOrNoResult
  2. GeometryResultMethods
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def toGeometry(): Option[Geometry]

    Returns this result as an option, unless this is NoResult, in which case it returns None

    Returns this result as an option, unless this is NoResult, in which case it returns None

    Definition Classes
    GeometryResultMethods

Concrete Value Members

  1. def as[G <: Geometry](implicit arg0: ClassTag[G]): Option[G]

    A typesafe method for casting to a particular geometry type.

    A typesafe method for casting to a particular geometry type. If this fails to cast or is NoResult, will result in None.

    Definition Classes
    GeometryResultMethods
  2. def asGeometryCollection: GeometryCollection

    returns this result as a MultiPoint if it's a Point or MultiPoint, otherwise returns None

    returns this result as a MultiPoint if it's a Point or MultiPoint, otherwise returns None

    Definition Classes
    GeometryResultMethods
  3. def asMultiLineString: Option[MultiLineString]

    returns this result as a MultiLineStrng if it's a LineString or MultiLineString, otherwise returns None

    returns this result as a MultiLineStrng if it's a LineString or MultiLineString, otherwise returns None

    Definition Classes
    GeometryResultMethods
  4. def asMultiPoint: Option[MultiPoint]

    returns this result as a MultiPoint if it's a Point or MultiPoint, otherwise returns None

    returns this result as a MultiPoint if it's a Point or MultiPoint, otherwise returns None

    Definition Classes
    GeometryResultMethods
  5. def asMultiPolygon: Option[MultiPolygon]

    returns this result as a MultiPolygon if it's a Polygon or MultiPolygon, otherwise returns None

    returns this result as a MultiPolygon if it's a Polygon or MultiPolygon, otherwise returns None

    Definition Classes
    GeometryResultMethods