Click or drag to resize

Polygon2d Class

Describes a Polygon 2D.
Inheritance Hierarchy
SystemObject
  Gile.AutoCAD.GeometryPolygon2d

Namespace:  Gile.AutoCAD.Geometry
Assembly:  GeometryExtensions (in GeometryExtensions.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public class Polygon2d

The Polygon2d type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyArea
Get the area of the polygon.
Public propertyCentroid
Gets the centroid of the polygon.
Public propertyIsClockwise
Gets a value indicating if the vertices turn clockwise.
Public propertyNumberOfVertices
Gets the number of vertices.
Public propertySegments
Gets the segments.
Public propertyVertices
Gets the polygon vertices.
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodIsPointInside
Evaluates if the supplied point is inside the polygon.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToPolyline
Converts the polygon into a closed Polyline.
Public methodToString (Inherited from Object.)
Public methodTrySlice
Try to slice the polygon with a line.
Top
See Also