Polygon Class
Version 1.0.0-beta002
                .NET Framework 4.7
            | Namespace | Skybrud.Essentials.Maps.Geometry.Shapes | 
|---|---|
| Assembly | Skybrud.Essentials.Maps.dll | 
| Visibility | Public | 
| Interfaces | IPolygon, IShape, IGeometry | 
| Inheritance | Object | 
public class Polygon : IPolygon, IShape, IGeometry { }
Properties
| Type | Name | Summary | 
|---|---|---|
| Array of IPoint | Outer | 
                         Gets the array of points making up the outer polygon.  | 
                
| Array of Array of IPoint | Inner | 
                         Gets the array of points making up any inner polygons.  | 
                
Methods
| 
            
            
                 Adds   | 
    
| 
            
            
                 Removes all points from the polygon.  | 
    
| 
            
            
                 Returns whether the polygon contains the point defined by the specified   | 
    
| 
             
                Contains(IPoint)
                    (virtual)
             
            
                Returns whether the polygon contains the specified   | 
    
| 
             
                GetArea()
                    (virtual)
             
            
                Returns the area of the polygon in square metres.  | 
    
| 
             
                GetBoundingBox()
                    (virtual)
             
            
                Returns an instance of IRectangle representing the bounding box of the polygon.  | 
    
| 
             
                GetCenter()
                    (virtual)
             
            
                Returns an instance of IPoint representing the center of the polygon.  | 
    
| 
             
                GetCircumference()
                    (virtual)
             
            
                Returns the circumference of the polygon in metres.  | 
    
| 
            
            
                 Inserts   | 
    
| 
             
                Load(string)
                    (static)
             
            
                Loads a polygon from the file at the specified   | 
    
| 
            
            
                 Removes the specified   | 
    
| 
            
            
                 Removes the point at   |