Polygon2D Class
Name | Description | |
---|---|---|
Polygon2D(Polygon2D) | ||
Polygon2D(IList<Point2D>) | Points only constructor. | |
Polygon2D(Point2D[], Point2D, Point2D) | Points and bounding rectangle corners constructor. | |
Polygon2D(int) | Points only constructor. |
Name | Description | |
---|---|---|
Item(int) | ||
Size | ||
VertexCount | Gets Points.Count |
Name | Description | |
---|---|---|
Clone() | Creates a new object that is a copy of the current instance. | |
ConvertToSurrogate() | ||
Equals(Object) | Determines whether the specified object is equal to the current object. (inherited from Object). | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object). | |
GetHashCode | Serves as the default hash function. (inherited from Object). | |
GetType | Gets the Type of the current instance. (inherited from Object). | |
IntersecWithCrossAndT(Segment2D) | Computes the intersection (both cross and touch intersections) between this 2D polygon and the specified 2D segment. | |
Intersect(Segment2D) | ||
IntersectWith(Segment2D) | Checks if the specified 2D segment intersects with this 2D polygon. | |
IsConvex() | ||
IsDegenerated() | ||
IsOrientedClockwise() | ||
IsPointInside(Point2D) | Tests if a 2D point is inside the 2D polygon. | |
IsPointInside(Point2D, double) | Tests if a 2D point is inside or onto the 2D polygon. | |
IsPolygonInside(Polygon2D) | ||
IsPolygonInside(Polygon2D, double) | Check the status of the subject polygon against the clip one. | |
IsSelfIntersecting() | ||
IsValid() | Checks that Min and Max are not null/Nothing and that the polygon is closed. | |
MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object). | |
PointInsideBoundingRect(Point2D) | Checks if the provided 2D point is inside the 2D polygon bounding rectangle. | |
PointInsideOrOntoBoundingRect(Point2D) | Checks if the provided 2D point is inside or onto the 2D polygon bounding rectangle. | |
Reverse() | ||
ToString | Returns a string that represents the current object. (inherited from Object). | |
TransformBy(Transformation) | ||
UpdateBoundingRect() | Update/initialize the polygon min and max 2D points. |
devDept.Geometry.Polygon2D