Class/Object

geotrellis.vector

MultiPolygon

Related Docs: object MultiPolygon | package vector

Permalink

case class MultiPolygon(jtsGeom: com.vividsolutions.jts.geom.MultiPolygon) extends MultiGeometry with TwoDimensions with Product with Serializable

Class representing a geometry of multiple polygons

Linear Supertypes
Serializable, Serializable, Product, Equals, TwoDimensions, AtLeastOneDimension, Dimensions, MultiGeometry, Geometry, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MultiPolygon
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. TwoDimensions
  7. AtLeastOneDimension
  8. Dimensions
  9. MultiGeometry
  10. Geometry
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MultiPolygon(jtsGeom: com.vividsolutions.jts.geom.MultiPolygon)

    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 &(ls: MultiLine): OneDimensionAtLeastOneDimensionIntersectionResult

    Permalink
  4. def &(g: TwoDimensions): TwoDimensionsTwoDimensionsIntersectionResult

    Permalink
  5. def &(l: Line): OneDimensionAtLeastOneDimensionIntersectionResult

    Permalink
  6. def &(p: Point): PointOrNoResult

    Permalink
  7. def &(g: Geometry): TwoDimensionsTwoDimensionsIntersectionResult

    Permalink
    Definition Classes
    Geometry
  8. def -(ps: MultiPolygon): TwoDimensionsTwoDimensionsDifferenceResult

    Permalink
  9. def -(ls: MultiLine): MultiPolygonXDifferenceResult

    Permalink
  10. def -(ps: MultiPoint): MultiPolygonXDifferenceResult

    Permalink
  11. def -(p: Polygon): TwoDimensionsTwoDimensionsDifferenceResult

    Permalink
  12. def -(l: Line): MultiPolygonXDifferenceResult

    Permalink
  13. def -(p: Point): MultiPolygonXDifferenceResult

    Permalink
  14. final def ==(arg0: Any): Boolean

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

    Permalink
  16. 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
  17. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  18. lazy val boundary: MultiLineResult

    Permalink
  19. def buffer(d: Double): TwoDimensionsTwoDimensionsUnionResult

    Permalink

    Computes a area containing these geometries and buffered by size d.

    Computes a area containing these geometries and buffered by size d.

    Definition Classes
    MultiGeometry
  20. def centroid: PointOrNoResult

    Permalink

    Calculate centroid of this Geometry

    Calculate centroid of this Geometry

    Definition Classes
    Geometry
  21. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. def contains(g: Geometry): Boolean

    Permalink
  23. def coveredBy(g: TwoDimensions): Boolean

    Permalink
  24. def covers(g: Geometry): Boolean

    Permalink
  25. def crosses(ps: MultiPoint): Boolean

    Permalink
  26. def crosses(g: OneDimension): Boolean

    Permalink
  27. def difference(ps: MultiPolygon): TwoDimensionsTwoDimensionsDifferenceResult

    Permalink
  28. def difference(ls: MultiLine): MultiPolygonXDifferenceResult

    Permalink
  29. def difference(ps: MultiPoint): MultiPolygonXDifferenceResult

    Permalink
  30. def difference(p: Polygon): TwoDimensionsTwoDimensionsDifferenceResult

    Permalink
  31. def difference(l: Line): MultiPolygonXDifferenceResult

    Permalink
  32. def difference(p: Point): MultiPolygonXDifferenceResult

    Permalink
  33. def difference(): MultiPolygonMultiPolygonDifferenceResult

    Permalink
  34. def disjoint(other: Geometry): Boolean

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

    Permalink

    Calculate the distance to another Geometry

    Calculate the distance to another Geometry

    Definition Classes
    Geometry
  36. def envelope: Extent

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

    Permalink
    Definition Classes
    AnyRef
  38. def equals(other: Any): Boolean

    Permalink
    Definition Classes
    Geometry → AnyRef → Any
  39. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  40. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    Geometry → AnyRef → Any
  42. def interiorPoint: PointOrNoResult

    Permalink
    Definition Classes
    Geometry
  43. def intersection(ls: MultiLine): OneDimensionAtLeastOneDimensionIntersectionResult

    Permalink
  44. def intersection(g: TwoDimensions): TwoDimensionsTwoDimensionsIntersectionResult

    Permalink
  45. def intersection(l: Line): OneDimensionAtLeastOneDimensionIntersectionResult

    Permalink
  46. def intersection(p: Point): PointOrNoResult

    Permalink
  47. def intersection(): MultiPolygonMultiPolygonIntersectionResult

    Permalink
  48. 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
  49. def intersectionSafe(ls: MultiLine): OneDimensionAtLeastOneDimensionIntersectionResult

    Permalink
  50. def intersectionSafe(g: TwoDimensions): TwoDimensionsTwoDimensionsIntersectionResult

    Permalink
  51. def intersectionSafe(l: Line): OneDimensionAtLeastOneDimensionIntersectionResult

    Permalink
  52. def intersectionSafe(p: Point): PointOrNoResult

    Permalink
  53. 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
  54. def intersects(other: Geometry): Boolean

    Permalink
    Definition Classes
    Geometry
  55. 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
  56. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  57. def isValid: Boolean

    Permalink

    Check the validity of this geometry

    Check the validity of this geometry

    Definition Classes
    Geometry
  58. val jtsGeom: com.vividsolutions.jts.geom.MultiPolygon

    Permalink

    Return the wrapped jts Geometry

    Return the wrapped jts Geometry

    Definition Classes
    MultiPolygonDimensionsGeometry
  59. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  60. def normalized(): MultiPolygon

    Permalink

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

  61. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  63. def overlaps(g: TwoDimensions): Boolean

    Permalink
  64. lazy val polygons: Array[Polygon]

    Permalink

    Returns the Polygons contained in MultiPolygon.

  65. def symDifference(g: TwoDimensions): TwoDimensionsTwoDimensionsSymDifferenceResult

    Permalink
  66. def symDifference(g: OneDimension): LineMultiPolygonSymDifferenceResult

    Permalink
  67. def symDifference(g: ZeroDimensions): PointMultiPolygonSymDifferenceResult

    Permalink
  68. def symDifference(): MultiPolygonMultiPolygonSymDifferenceResult

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

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

    Permalink
    Definition Classes
    Geometry → AnyRef → Any
  71. def touches(g: AtLeastOneDimension): Boolean

    Permalink
  72. def union: TwoDimensionsTwoDimensionsSeqUnionResult

    Permalink
  73. def union(ps: MultiPolygon): TwoDimensionsTwoDimensionsSeqUnionResult

    Permalink
  74. def union(ls: MultiLine): LineMultiPolygonUnionResult

    Permalink
  75. def union(ps: MultiPoint): LineMultiPolygonUnionResult

    Permalink
  76. def union(p: Polygon): TwoDimensionsTwoDimensionsSeqUnionResult

    Permalink
  77. def union(l: Line): LineMultiPolygonUnionResult

    Permalink
  78. def union(p: Point): PointMultiPolygonUnionResult

    Permalink
  79. lazy val vertexCount: Int

    Permalink

    Get the number of vertices in this geometry

  80. lazy val vertices: Array[Point]

    Permalink

    Returns this MulitPolygon's vertices.

  81. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  84. def within(g: TwoDimensions): Boolean

    Permalink
  85. 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
  86. def |(ps: MultiPolygon): TwoDimensionsTwoDimensionsSeqUnionResult

    Permalink
  87. def |(ls: MultiLine): LineMultiPolygonUnionResult

    Permalink
  88. def |(ps: MultiPoint): LineMultiPolygonUnionResult

    Permalink
  89. def |(p: Polygon): TwoDimensionsTwoDimensionsSeqUnionResult

    Permalink
  90. def |(l: Line): LineMultiPolygonUnionResult

    Permalink
  91. def |(p: Point): PointMultiPolygonUnionResult

    Permalink

Deprecated Value Members

  1. def safeIntersection(ls: MultiLine): OneDimensionAtLeastOneDimensionIntersectionResult

    Permalink
    Annotations
    @deprecated
    Deprecated

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

  2. def safeIntersection(g: TwoDimensions): TwoDimensionsTwoDimensionsIntersectionResult

    Permalink
    Annotations
    @deprecated
    Deprecated

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

  3. def safeIntersection(l: Line): OneDimensionAtLeastOneDimensionIntersectionResult

    Permalink
    Annotations
    @deprecated
    Deprecated

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

  4. def safeIntersection(p: Point): PointOrNoResult

    Permalink
    Annotations
    @deprecated
    Deprecated

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

  5. 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 Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from TwoDimensions

Inherited from AtLeastOneDimension

Inherited from Dimensions

Inherited from MultiGeometry

Inherited from Geometry

Inherited from AnyRef

Inherited from Any

Ungrouped