CFx SDK Documentation  2023 SP0
Public Member Functions | List of all members
OdGeClipBoundary2d Class Reference

#include <GeClipBoundary2d.h>

Inheritance diagram for OdGeClipBoundary2d:
OdGeEntity2d

Public Member Functions

 OdGeClipBoundary2d ()
 
 OdGeClipBoundary2d (const OdGePoint2d &cornerA, const OdGePoint2d &cornerB)
 
 OdGeClipBoundary2d (const OdGePoint2dArray &clipBoundary)
 
 OdGeClipBoundary2d (const OdGeClipBoundary2d &src)
 
OdGe::ClipError set (const OdGePoint2d &cornerA, const OdGePoint2d &cornerB)
 
OdGe::ClipError set (const OdGePoint2dArray &clipBoundary)
 
OdGe::ClipError clipPolygon (const OdGePoint2dArray &rawVertices, OdGePoint2dArray &clippedVertices, OdGe::ClipCondition &clipCondition, OdGeIntArray *pClippedSegmentSourceLabel=NULL) const
 
OdGe::ClipError clipPolyline (const OdGePoint2dArray &rawVertices, OdGePoint2dArray &clippedVertices, OdGe::ClipCondition &clipCondition, OdGeIntArray *pClippedSegmentSourceLabel=NULL) const
 
OdGeClipBoundary2doperator= (const OdGeClipBoundary2d &src)
 Assignment operator. More...
 
- Public Member Functions inherited from OdGeEntity2d
 ODRX_HEAP_OPERATORS ()
 
bool isKindOf (OdGe::EntityId entType) const
 
OdGe::EntityId type () const
 
OdGeEntity2dcopy () const
 
OdGeEntity2doperator= (const OdGeEntity2d &entity)
 
bool operator== (const OdGeEntity2d &entity) const
 
bool operator!= (const OdGeEntity2d &entity) const
 
bool isEqualTo (const OdGeEntity2d &other, const OdGeTol &tol=OdGeContext::gTol) const
 
OdGeEntity2dtransformBy (const OdGeMatrix2d &xfm)
 
OdGeEntity2dtranslateBy (const OdGeVector2d &translateVec)
 
OdGeEntity2drotateBy (double angle, const OdGePoint2d &basePoint=OdGePoint2d::kOrigin)
 
OdGeEntity2dmirror (const OdGeLine2d &line)
 
OdGeEntity2dscaleBy (double scaleFactor, const OdGePoint2d &basePoint=OdGePoint2d::kOrigin)
 
bool isOn (const OdGePoint2d &point, const OdGeTol &tol=OdGeContext::gTol) const
 
 ~OdGeEntity2d ()
 

Additional Inherited Members

- Protected Member Functions inherited from OdGeEntity2d
 OdGeEntity2d ()
 
 OdGeEntity2d (const OdGeEntity2d &)
 
void connectTo (OdGeEntity2dImpl *)
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ OdGeClipBoundary2d() [1/4]

OdGeClipBoundary2d::OdGeClipBoundary2d ( )

Constructor for ortho-aligned rectangular clip boundary. Constructor for convex polyline / polygon clip boundary. Copy constructor.

Remarks
Currently not implemented.

◆ OdGeClipBoundary2d() [2/4]

OdGeClipBoundary2d::OdGeClipBoundary2d ( const OdGePoint2d cornerA,
const OdGePoint2d cornerB 
)

◆ OdGeClipBoundary2d() [3/4]

OdGeClipBoundary2d::OdGeClipBoundary2d ( const OdGePoint2dArray clipBoundary)

◆ OdGeClipBoundary2d() [4/4]

OdGeClipBoundary2d::OdGeClipBoundary2d ( const OdGeClipBoundary2d src)

Member Function Documentation

◆ clipPolygon()

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.

Remarks
Currently not implemented.

◆ clipPolyline()

OdGe::ClipError OdGeClipBoundary2d::clipPolyline ( const OdGePoint2dArray rawVertices,
OdGePoint2dArray clippedVertices,
OdGe::ClipCondition clipCondition,
OdGeIntArray pClippedSegmentSourceLabel = NULL 
) const

Clip a polyline, creating a second polyline.

Remarks
Currently not implemented.

◆ operator=()

OdGeClipBoundary2d& OdGeClipBoundary2d::operator= ( const OdGeClipBoundary2d src)

Assignment operator.

◆ set() [1/2]

OdGe::ClipError OdGeClipBoundary2d::set ( const OdGePoint2d cornerA,
const OdGePoint2d cornerB 
)

Initialize ortho-aligned rectangular clip boundary.

Remarks
Currently not implemented.

◆ set() [2/2]

OdGe::ClipError OdGeClipBoundary2d::set ( const OdGePoint2dArray clipBoundary)

Initialize convex polyline / polygon clip boundary.

Remarks
Currently not implemented.

The documentation for this class was generated from the following file: