CFx SDK Documentation
2022 SP0
|
#include <DbPointCloudCropping.h>
Public Types | |
enum | CropType { CT_INVALID = 0 , CT_RECTANGLE , CT_POLYLINE , CT_CIRCULAR } |
Public Member Functions | |
OdDbPointCloudCropping () | |
bool | operator== (const OdDbPointCloudCropping &) const |
bool | isValid () const |
OdInt16 | length () const |
CropType | type () const |
void | setCropType (CropType type) |
void | setInverted (const bool) |
bool | isInverted () const |
const OdGePoint3dArray & | get () const |
void | set (const OdGePoint3dArray &points) |
bool | getCropPlane (OdGePlane &plane) const |
void | setCropPlane (const OdGePlane &plane) |
void | setInside (const bool) |
bool | isInside () const |
void | clear () |
virtual void | draw (OdGiGeometry &geom) |
OdResult | dwgInFields (OdDbDwgFiler *pFiler) |
void | dwgOutFields (OdDbDwgFiler *pFiler) const |
OdResult | dxfInFields (OdDbDxfFiler *pFiler) |
void | dxfOutFields (OdDbDxfFiler *pFiler, OdInt16 &dvfInt8, OdInt16 &dxfInt32, OdInt16 &dxfXCoord, OdInt16 &dxfNormalX) const |
This class represents cropping boundaries for point cloud entities.
Corresponding C++ library: AcDbPointCloudObj
<group OdDbPointCloud_Classes>
Definition at line 44 of file DbPointCloudCropping.h.
Defines cropping boundary types.
Enumerator | |
---|---|
CT_INVALID | |
CT_RECTANGLE | |
CT_POLYLINE | |
CT_CIRCULAR |
Definition at line 50 of file DbPointCloudCropping.h.
OdDbPointCloudCropping::OdDbPointCloudCropping | ( | ) |
Default constructor. Creates an OdDbPointCloudCropping instance.
void OdDbPointCloudCropping::clear | ( | ) |
|
virtual |
OdResult OdDbPointCloudCropping::dwgInFields | ( | OdDbDwgFiler * | pFiler | ) |
void OdDbPointCloudCropping::dwgOutFields | ( | OdDbDwgFiler * | pFiler | ) | const |
OdResult OdDbPointCloudCropping::dxfInFields | ( | OdDbDxfFiler * | pFiler | ) |
void OdDbPointCloudCropping::dxfOutFields | ( | OdDbDxfFiler * | pFiler, |
OdInt16 & | dvfInt8, | ||
OdInt16 & | dxfInt32, | ||
OdInt16 & | dxfXCoord, | ||
OdInt16 & | dxfNormalX | ||
) | const |
const OdGePoint3dArray& OdDbPointCloudCropping::get | ( | ) | const |
Returns closed boundary
bool OdDbPointCloudCropping::getCropPlane | ( | OdGePlane & | plane | ) | const |
bool OdDbPointCloudCropping::isInside | ( | ) | const |
bool OdDbPointCloudCropping::isInverted | ( | ) | const |
Returns true if only the boundary is inverted.
bool OdDbPointCloudCropping::isValid | ( | ) | const |
Check whether the boundary is valid. Returns true only if a number of vertices matches the boundary type: box or rectangular boundary must have two vertices, polygonal - at least 3 vertices.
OdInt16 OdDbPointCloudCropping::length | ( | ) | const |
Returns the number of vertices of this cropping boundary.
bool OdDbPointCloudCropping::operator== | ( | const OdDbPointCloudCropping & | ) | const |
void OdDbPointCloudCropping::set | ( | const OdGePoint3dArray & | points | ) |
Returns closed boundary
void OdDbPointCloudCropping::setInside | ( | const bool | ) |
void OdDbPointCloudCropping::setInverted | ( | const bool | ) |
Sets the boundary to inverted.
CropType OdDbPointCloudCropping::type | ( | ) | const |
Returns the type of this cropping boundary.