PolyRegion2D Class

Class that performs boolean operations on contours of 2D polygonal region.
Public Class PolyRegion2D
This language is not supported or no code example is available.
public class PolyRegion2D
This language is not supported or no code example is available.
Name Description
Protected constructor PolyRegion2D(PolyRegion2D)
Public constructor PolyRegion2D() Empty constructor.
Public constructor PolyRegion2D(IList<Polygon2D>) Standard constructor.
Public constructor PolyRegion2D(IList<Polygon2D>, bool) Standard constructor.
Public constructor PolyRegion2D(Plane, IList<IList<Point3D>>) Constructor for 3D profiles.
Public constructor PolyRegion2D(Plane, IList<IList<Point3D>>, bool) Construtor for 3D profiles.
Top
Methods
 
Name Description
Public method Clone()
Public method Static Difference(PolyRegion2D, PolyRegion2D, Point2D, Point2D) Boolean difference between two PolyRegion2D.
Public method Equals(Object) Determines whether the specified object is equal to the current object. (inherited from Object).
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object).
Public method Static FromRegion(Region, Plane, double) Creates a PolyRegion2D object from a Region.
Public method GetHashCode Serves as the default hash function. (inherited from Object).
Public method GetType Gets the Type of the current instance. (inherited from Object).
Public method Static Intersection(PolyRegion2D, PolyRegion2D, Point2D, Point2D) Boolean intersection between two PolyRegion2D.
Public method IsPointInside(Point2D) Check if the specified point is inside the PolyRegion2D.
Public method IsPointInside(Point2D, double) Check if the specified point is inside or onto the PolyRegion2D.
Public method IsPolygonInside(Polygon2D) Check if the specified 2D polygon is inside the PolyRegion2D.
Public method IsPolygonOutside(Polygon2D) Check if the specified 2D polygon is outside the PolyRegion2D.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object).
Public method SortAndOrient(IList<ICurve>)
Public method ToRegion(Plane) Creates a Region object from the current PolyRegion2D object.
Public method ToString Returns a string that represents the current object. (inherited from Object).
Public method Static Union(PolyRegion2D, PolyRegion2D, Point2D, Point2D) Boolean union between two PolyRegion2D.
Public method UpdateBoundingRect() Update/initialize the min and max 2D points for each contour polygon.
Top
Fields
 
Name Description
Public field ContourList
Top
Remarks
 
The algorithm is more robust than the one used by the Region, but it changes the coordinates a little bit.
devDept.Geometry.PolyRegion2D

.NET Framework

Supported in: 4.8

In this article

Definition