# MultiPolygon

### Related Docs: object MultiPolygon | package vector

#### 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

### Value Members

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

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

Definition Classes
AnyRef → Any

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

Definition Classes
Geometry

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

Definition Classes
AnyRef → Any

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

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

Definition Classes
Any

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

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

Calculate centroid of this Geometry

Calculate centroid of this Geometry

Definition Classes
Geometry
21. #### def clone(): AnyRef

Attributes
protected[java.lang]
Definition Classes
AnyRef
Annotations
@throws( ... )

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

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

Calculate the distance to another Geometry

Calculate the distance to another Geometry

Definition Classes
Geometry
36. #### def envelope: Extent

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

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

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

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

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

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

Definition Classes
Geometry

48. #### def intersection(g: Geometry): TwoDimensionsTwoDimensionsIntersectionResult

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 intersects(other: Geometry): Boolean

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

Definition Classes
Any
51. #### def isValid: Boolean

Check the validity of this geometry

Check the validity of this geometry

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

Return the wrapped jts Geometry

Return the wrapped jts Geometry

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

Definition Classes
AnyRef
54. #### def normalized(): MultiPolygon

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

55. #### final def notify(): Unit

Definition Classes
AnyRef
56. #### final def notifyAll(): Unit

Definition Classes
AnyRef

58. #### lazy val polygons: Array[Polygon]

Returns the Polygons contained in MultiPolygon.

63. #### def safeIntersection(g: Geometry): TwoDimensionsTwoDimensionsIntersectionResult

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

68. #### final def synchronized[T0](arg0: ⇒ T0): T0

Definition Classes
AnyRef
69. #### def toString(): String

Definition Classes
Geometry → AnyRef → Any

78. #### lazy val vertexCount: Int

Get the number of vertices in this geometry

79. #### lazy val vertices: Array[Point]

Returns this MulitPolygon's vertices.

80. #### final def wait(): Unit

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

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

Definition Classes
AnyRef
Annotations
@throws( ... )

84. #### def withinDistance(other: Geometry, dist: Double): Boolean

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