CFx SDK Documentation
2020SP3
|
#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 | ( | ) |
Constructor for ortho-aligned rectangular clip boundary. Constructor for convex polyline / polygon clip boundary. Copy constructor.
OdGeClipBoundary2d::OdGeClipBoundary2d | ( | const OdGePoint2d & | cornerA, |
const OdGePoint2d & | cornerB | ||
) |
OdGeClipBoundary2d::OdGeClipBoundary2d | ( | const OdGePoint2dArray & | clipBoundary | ) |
OdGeClipBoundary2d::OdGeClipBoundary2d | ( | const OdGeClipBoundary2d & | src | ) |
OdGe::ClipError OdGeClipBoundary2d::clipPolygon | ( | const OdGePoint2dArray & | rawVertices, |
OdGePoint2dArray & | clippedVertices, | ||
OdGe::ClipCondition & | clipCondition, | ||
OdGeIntArray * | pClippedSegmentSourceLabel = NULL |
||
) | const |
Clip a closed polygon, creating a second closed polygon.
OdGe::ClipError OdGeClipBoundary2d::clipPolyline | ( | const OdGePoint2dArray & | rawVertices, |
OdGePoint2dArray & | clippedVertices, | ||
OdGe::ClipCondition & | clipCondition, | ||
OdGeIntArray * | pClippedSegmentSourceLabel = NULL |
||
) | const |
Clip a polyline, creating a second polyline.
OdGeClipBoundary2d& OdGeClipBoundary2d::operator= | ( | const OdGeClipBoundary2d & | src | ) |
Assignment operator.
OdGe::ClipError OdGeClipBoundary2d::set | ( | const OdGePoint2d & | cornerA, |
const OdGePoint2d & | cornerB | ||
) |
Initialize ortho-aligned rectangular clip boundary.
OdGe::ClipError OdGeClipBoundary2d::set | ( | const OdGePoint2dArray & | clipBoundary | ) |
Initialize convex polyline / polygon clip boundary.