Polygon2d Class |
Namespace: Gile.AutoCAD.Geometry
The Polygon2d type exposes the following members.
| Name | Description | |
|---|---|---|
| Polygon2d(IEnumerableLineSegment2d) |
Creates a new instance of Polygon2d.
| |
| Polygon2d(IEnumerablePoint2d) |
Creates a new instance of Polygon2d.
|
| Name | Description | |
|---|---|---|
| Area |
Get the area of the polygon.
| |
| Centroid |
Gets the centroid of the polygon.
| |
| IsClockwise |
Gets a value indicating if the vertices turn clockwise.
| |
| NumberOfVertices |
Gets the number of vertices.
| |
| Segments |
Gets the segments.
| |
| Vertices |
Gets the polygon vertices.
|
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| Finalize | (Inherited from Object.) | |
| GetHashCode | (Inherited from Object.) | |
| GetType | (Inherited from Object.) | |
| IsPointInside |
Evaluates if the supplied point is inside the polygon.
| |
| MemberwiseClone | (Inherited from Object.) | |
| ToPolyline |
Converts the polygon into a closed Polyline.
| |
| ToString | (Inherited from Object.) | |
| TrySlice |
Try to slice the polygon with a line.
|