|
CFx SDK Documentation 2024 SP0
|
#include <GeClipBoundary2d.h>
Additional Inherited Members | |
Protected Member Functions inherited from OdGeEntity2d | |
| OdGeEntity2d () | |
| OdGeEntity2d (const OdGeEntity2d &) | |
| void | connectTo (OdGeEntity2dImpl *) |
This class defines a planar clipping object for clipping arbitrary 2D polygons or polylines to 2D convex open or closed polyline curves or rectangles.
Corresponding C++ library: TD_Ge
<group OdGe_Classes>
Definition at line 42 of file GeClipBoundary2d.h.
| OdGeClipBoundary2d::OdGeClipBoundary2d | ( | ) |
Default constructor for the OdGeClipBoundary2d class. Constructs an empty 2D clip boundary. Currently not implemented.
| OdGeClipBoundary2d::OdGeClipBoundary2d | ( | const OdGePoint2d & | cornerA, |
| const OdGePoint2d & | cornerB | ||
| ) |
Constructor for the OdGeClipBoundary2d class. Constructs a 2D clip boundary limited by the specified points. Currently not implemented.
| cornerA | [in] First corner to define a clip boundary. |
| cornerB | [in] Second corner to define a clip boundary. |
| OdGeClipBoundary2d::OdGeClipBoundary2d | ( | const OdGePoint2dArray & | clipBoundary | ) |
Constructor for the OdGeClipBoundary2d class. Constructs a 2D clip boundary from the passed array of points.
| clipBoundary | [in] Array of points to define a clip boundary. |
| OdGeClipBoundary2d::OdGeClipBoundary2d | ( | const OdGeClipBoundary2d & | src | ) |
Copy constructor for the OdGeClipBoundary2d class. Copies the specified clip boundary.
| src | [in] Clip boundary to copy. |
| OdGe::ClipError OdGeClipBoundary2d::clipPolygon | ( | const OdGePoint2dArray & | rawVertices, |
| OdGePoint2dArray & | clippedVertices, | ||
| OdGe::ClipCondition & | clipCondition, | ||
| OdGeIntArray * | pClippedSegmentSourceLabel = NULL |
||
| ) | const |
Clips a closed polygon, creating a second closed polygon. Currently not implemented.
| rawVertices | [in] Array of 2D points that define the input polygon. Self-intersecting and winding polygons are allowed. |
| clippedVertices | [out] Receives an array of 2D points that define the clipped resulting closed polygon. |
| clipCondition | [out] Receives the information about the spatial relationship between the clip boundary and the input clipped polygon. |
| pClippedSegmentSourceLabel | [in] Optional segment label information identifying the source of each segment in the clipped polygon. |
| OdGe::ClipError OdGeClipBoundary2d::clipPolyline | ( | const OdGePoint2dArray & | rawVertices, |
| OdGePoint2dArray & | clippedVertices, | ||
| OdGe::ClipCondition & | clipCondition, | ||
| OdGeIntArray * | pClippedSegmentSourceLabel = NULL |
||
| ) | const |
Clips a polyline, creating a second polyline. Currently not implemented.
| rawVertices | [in] Array of 2D points that define the input polyline. Self-intersecting and winding polylines are allowed. |
| clippedVertices | [out] Receives an array of 2D points that define the clipped resulting polyline. |
| clipCondition | [out] Receives the information about the spatial relationship between the clip boundary and the input clipped polyline. |
| pClippedSegmentSourceLabel | [in] Optional segment label information identifying the source of each segment in the clipped polyline. |
| OdGeClipBoundary2d & OdGeClipBoundary2d::operator= | ( | const OdGeClipBoundary2d & | src | ) |
Assignment operator for the OdGeClipBoundary2d class. Assigns properties of the specified clip boundary.
| src | [in] Clip boundary to assign. |
| OdGe::ClipError OdGeClipBoundary2d::set | ( | const OdGePoint2d & | cornerA, |
| const OdGePoint2d & | cornerB | ||
| ) |
Initializes ortho-aligned rectangular clip boundary. Currently not implemented.
| cornerA | [in] First corner to define a clip boundary. |
| cornerB | [in] Second corner to define a clip boundary. |
| OdGe::ClipError OdGeClipBoundary2d::set | ( | const OdGePoint2dArray & | clipBoundary | ) |
Initializes convex polyline / polygon clip boundary.
| clipBoundary | [in] Array of points to define a clip boundary. |