MultiPolygon Class

A MultiPolygon is a one-dimensional GeometryCollection whose elements are Polygons.
Inheritance Hierarchy

Namespace:  Aspose.Gis.Geometries
Assembly:  Aspose.GIS (in Aspose.GIS.dll) Version: 20.3.0.0 (20.03)
Syntax
public class MultiPolygon : MultiSurface, 
	IMultiPolygon, IMultiSurface, IGeometryCollection, IGeometry, IEnumerable<IGeometry>, 
	IEnumerable, IEquatable<IGeometryCollection>

The MultiPolygon type exposes the following members.

Constructors
  NameDescription
Public methodMultiPolygon
Initializes a new instance of the MultiPolygon class.
Properties
  NameDescription
Public propertyCoordinateDimension
Gets the number of coordinate dimensions for this Geometry.
(Inherited from Geometry.)
Public propertyCount
Gets the number of geometries in this collection.
(Inherited from GeometryCollection.)
Public propertyDimension
Gets the topological dimension of this Geometry.
(Inherited from MultiSurface.)
Public propertyGeometryType
Gets the type of the geometry.
(Overrides MultiSurfaceGeometryType.)
Public propertyHasCurveGeometry
Gets a value indicating whether this geometry is or contains curve (not linear) geometry.
(Inherited from GeometryCollection.)
Public propertyHasM
Gets a value indicating whether this instance has M coordinate.
(Inherited from GeometryCollection.)
Public propertyHasZ
Gets a value indicating whether this instance has Z coordinate.
(Inherited from GeometryCollection.)
Public propertyIsEmpty
Gets a value indicating whether this instance is empty.
(Inherited from GeometryCollection.)
Public propertyIsSimple
Gets a value indicating whether this instance is simple from SFA point of view.
(Inherited from Geometry.)
Public propertyIsValid
Gets a value indicating whether this instance is valid.
(Inherited from Geometry.)
Public propertyItem
Gets a IGeometry at the specified index.
(Inherited from GeometryCollection.)
Public propertySpatialReferenceSystem
Gets SpatialReferenceSystem of this instance. This property can be , is SpatialReferenceSystem is unknown. Assigning new SpatialReferenceSystem will not perform any coordinate transformation, only reference will change.
(Inherited from GeometryCollection.)
Methods
  NameDescription
Public methodAdd
Adds the specified geometry to the collection.
(Inherited from GeometryCollection.)
Public methodAddRange
Adds the specified geometries to the collection.
(Inherited from GeometryCollection.)
Public methodAsBinary
Translates this geometry to its Well-Known Binary representation.
(Inherited from Geometry.)
Public methodAsBinary(WkbVariant)
Translates this geometry to its Well-Known Binary representation.
(Inherited from Geometry.)
Public methodAsText
Translates this geometry to its Well-Known Text representation.
(Inherited from Geometry.)
Public methodAsText(WktVariant)
Translates this geometry to its Well-Known Text representation.
(Inherited from Geometry.)
Public methodAsText(WktVariant, NumericFormat)
Translates this geometry to its Well-Known Text representation.
(Inherited from Geometry.)
Public methodClone
Clones this instance.
(Overrides MultiSurfaceClone.)
Public methodCoveredBy
Determines whether this geometry is covered by a specified geometry.
(Inherited from Geometry.)
Public methodCovers
Determines whether this geometry covers a specified geometry.
(Inherited from Geometry.)
Public methodCrosses
Determines if this geometry and a specified geometry cross.
(Inherited from Geometry.)
Public methodDifference
Subtracts a specified geometry from this geometry.
(Inherited from Geometry.)
Public methodDisjoint
Determines if this geometry is disjoint from a specified geometry.
(Inherited from Geometry.)
Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Inherited from GeometryCollection.)
Public methodEquals(IGeometryCollection)
Indicates whether the current object is equal to another object of the same type.
(Inherited from GeometryCollection.)
Protected methodFinalize (Inherited from Object.)
Public methodGetArea
Computes the area of this geometry.
(Inherited from Geometry.)
Public methodGetBuffer
Computes a buffer region around this geometry.
(Inherited from Geometry.)
Public methodGetCentroid
Computes the centroid of this geometry.
(Inherited from Geometry.)
Public methodGetConvexHull
Computes the convex hull of this geometry.
(Inherited from Geometry.)
Public methodGetDistanceTo
Computes the minimum distance between this geometry and a specified geometry.
(Inherited from Geometry.)
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
(Inherited from GeometryCollection.)
Public methodGetExtent
Computes and returns a bounding extent of this geometry.
(Inherited from Geometry.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from GeometryCollection.)
Public methodGetLength
Computes the length of this geometry.
(Inherited from Geometry.)
Public methodGetPointOnSurface
Finds a point that is guaranteed to be on one of the surfaces in this collection.
(Inherited from GeometryCollection.)
Public methodGetType (Inherited from Object.)
Public methodIntersection
Builds an intersection between this geometry and a specified geometry.
(Inherited from Geometry.)
Public methodIntersects(Extent)
Determines whether this geometry intersects a specified extent.
(Inherited from Geometry.)
Public methodIntersects(IGeometry)
Determines if this geometry and a specified geometry intersects.
(Inherited from Geometry.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodOverlaps
Determines whether this geometry overlap with a specified geometry.
(Inherited from Geometry.)
Public methodCode exampleRelate
Determines if DE-9IM intersection matrix of this geometry and a specified geometry matches provided pattern.
(Inherited from Geometry.)
Public methodRemoveAt
Removes the specified geometry from the collection.
(Inherited from GeometryCollection.)
Public methodRoundM
Rounds M coordinate to a specified number of fractional digits.
(Inherited from Geometry.)
Public methodRoundXY
Rounds X and Y coordinates to a specified number of fractional digits.
(Inherited from Geometry.)
Public methodRoundZ
Rounds Z coordinate to a specified number of fractional digits.
(Inherited from Geometry.)
Public methodSetEmpty
Makes this Geometry empty.
(Inherited from GeometryCollection.)
Public methodSpatiallyContains
Determines whether this geometry spatially contains a specified geometry.
(Inherited from Geometry.)
Public methodSpatiallyEquals
Determines if this geometry spatially equal to a specified geometry.
(Inherited from Geometry.)
Public methodSymDifference
Builds a symmetric difference between this geometry and a specified geometry.
(Inherited from Geometry.)
Public methodToEditable
Gets an editable copy of this geometry.
Public methodToLinearGeometry
Gets approximate or equivalent non-curve version of this geometry using the default tolerance.
(Inherited from MultiSurface.)
Public methodToLinearGeometry(Double)
Gets approximate or equivalent non-curve version of this geometry using the specified tolerance.
(Inherited from MultiSurface.)
Public methodToString (Inherited from Object.)
Public methodTouches
Determines if this geometry and a specified geometry touch.
(Inherited from Geometry.)
Public methodUnion
Unites this geometry and a specified geometry.
(Inherited from Geometry.)
Public methodWithin(Extent)
Determines whether this geometry is within a specified extent.
(Inherited from Geometry.)
Public methodWithin(IGeometry)
Determines whether this geometry is within a specified geometry.
(Inherited from Geometry.)
See Also