MultiPolygon Class
Namespace | Skybrud.Essentials.Maps.Geometry.Shapes |
---|---|
Assembly | Skybrud.Essentials.Maps.dll |
Visibility | Public |
Interfaces |
IMultiPolygon, IShape, IGeometry, IEnumerable<T >, IEnumerable
|
Inheritance | Object |
Class representing a collection of polygons.
public class MultiPolygon : IMultiPolygon, IShape, IGeometry, IEnumerable<T>, IEnumerable { }
Properties
Type | Name | Summary |
---|---|---|
Array of IPolygon | Polygons |
Gets the array of polygons making up the shape. |
Methods
Adds the specified |
Clears the collection of polygons. |
Contains(IPoint)
(virtual)
Returns whether this multi polygon contains the specified |
GetArea()
(virtual)
Returns the total area of the multi polygon, calculated in square metres. |
GetBoundingBox()
(virtual)
Returns a new rectangle representing the bounding box of this multi polygon. |
GetCenter()
(virtual)
Returns the center point (centroid) of this multi polygon. There is no guarentee that the center point is inside the multi polygon. |
GetCircumference()
(virtual)
Returns the total circumference of the multi polygon, calculated in metres. |
GetEnumerator()
(virtual)
Returns an that iterates through the underlying List< |
Inserts |
Removes the specified |
Removes the polygon at the specified |