Class/Object

geotrellis.vector

GeometryCollection

Related Docs: object GeometryCollection | package vector

Permalink

class GeometryCollection extends Geometry

A collection of geometries (itself a Geometry)

Linear Supertypes
Geometry, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GeometryCollection
  2. Geometry
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GeometryCollection(points: Seq[Point], lines: Seq[Line], polygons: Seq[Polygon], multiPoints: Seq[MultiPoint], multiLines: Seq[MultiLine], multiPolygons: Seq[MultiPolygon], geometryCollections: Seq[GeometryCollection], jtsGeom: com.vividsolutions.jts.geom.GeometryCollection)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def &(g: Geometry): TwoDimensionsTwoDimensionsIntersectionResult

    Permalink
    Definition Classes
    Geometry
  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. lazy val area: Double

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

    Permalink

    Attempt to convert this Geometry to the provided type

    Attempt to convert this Geometry to the provided type

    Definition Classes
    Geometry
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def centroid: PointOrNoResult

    Permalink

    Calculate centroid of this Geometry

    Calculate centroid of this Geometry

    Definition Classes
    Geometry
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def disjoint(other: Geometry): Boolean

    Permalink
    Definition Classes
    Geometry
  11. def distance(other: Geometry): Double

    Permalink

    Calculate the distance to another Geometry

    Calculate the distance to another Geometry

    Definition Classes
    Geometry
  12. def envelope: Extent

    Permalink
    Definition Classes
    Geometry
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def equals(that: Any): Boolean

    Permalink
    Definition Classes
    GeometryCollectionGeometry → AnyRef → Any
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def geometries: Seq[Geometry]

    Permalink
  17. val geometryCollections: Seq[GeometryCollection]

    Permalink
  18. def getAll[G <: Geometry](implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[G]): Seq[G]

    Permalink
  19. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  20. def hashCode(): Int

    Permalink
    Definition Classes
    GeometryCollectionGeometry → AnyRef → Any
  21. def interiorPoint: PointOrNoResult

    Permalink
    Definition Classes
    Geometry
  22. def intersection(g: Geometry): TwoDimensionsTwoDimensionsIntersectionResult

    Permalink

    Computes a Result that represents a Geometry made up of the points shared by this Polygon and g.

    Computes a Result that represents a Geometry made up of the points shared by this Polygon and g.

    Definition Classes
    Geometry
  23. def intersectionSafe(g: Geometry): TwoDimensionsTwoDimensionsIntersectionResult

    Permalink

    Computes a Result that represents a Geometry made up of the points shared by this Polygon and g.

    Computes a Result that represents a Geometry made up of the points shared by this Polygon and g. If it fails, it reduces the precision to avoid TopologyException.

    Definition Classes
    Geometry
  24. def intersects(other: Geometry): Boolean

    Permalink
    Definition Classes
    Geometry
  25. def isEmpty: Boolean

    Permalink

    Is this Geometry empty? This is faster than checking manually like:

    Is this Geometry empty? This is faster than checking manually like:

    val mp: MultiPoint = ...
    val ps: Array[Point] = mp.points  // `.points` is a lazy val with processing overhead
    
    ps.isEmpty  // possible, but mp.isEmpty is faster

    It would be similar for MultiLine or MultiPolygon.

    Definition Classes
    Geometry
  26. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  27. def isValid: Boolean

    Permalink

    Check the validity of this geometry

    Check the validity of this geometry

    Definition Classes
    Geometry
  28. val jtsGeom: com.vividsolutions.jts.geom.GeometryCollection

    Permalink

    Return the wrapped jts Geometry

    Return the wrapped jts Geometry

    Definition Classes
    GeometryCollectionGeometry
  29. val lines: Seq[Line]

    Permalink
  30. val multiLines: Seq[MultiLine]

    Permalink
  31. val multiPoints: Seq[MultiPoint]

    Permalink
  32. val multiPolygons: Seq[MultiPolygon]

    Permalink
  33. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  34. def normalized(): GeometryCollection

    Permalink

    Returns a unique representation of the geometry based on standard coordinate ordering.

  35. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  36. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  37. val points: Seq[Point]

    Permalink
  38. val polygons: Seq[Polygon]

    Permalink
  39. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  40. def toString(): String

    Permalink
    Definition Classes
    Geometry → AnyRef → Any
  41. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. def withinDistance(other: Geometry, dist: Double): Boolean

    Permalink

    Determine whether another Geometry is within a given distance

    Determine whether another Geometry is within a given distance

    other

    The geometry to check

    dist

    The radius of the circle within which this check is conducted

    Definition Classes
    Geometry

Deprecated Value Members

  1. def safeIntersection(g: Geometry): TwoDimensionsTwoDimensionsIntersectionResult

    Permalink
    Definition Classes
    Geometry
    Annotations
    @deprecated
    Deprecated

    (Since version 1.2) This will be removed in 2.0 - use intersectionSafe instead

Inherited from Geometry

Inherited from AnyRef

Inherited from Any

Ungrouped