CFx SDK Documentation
2023 SP0
|
#include <GeEntity3d.h>
Public Member Functions | |
ODRX_HEAP_OPERATORS () | |
~OdGeEntity3d () | |
bool | isKindOf (OdGe::EntityId entType) const |
OdGe::EntityId | type () const |
OdGeEntity3d * | copy () const |
OdGeEntity3d & | operator= (const OdGeEntity3d &entity) |
bool | operator== (const OdGeEntity3d &entity) const |
bool | operator!= (const OdGeEntity3d &entity) const |
bool | isEqualTo (const OdGeEntity3d &object, const OdGeTol &tol=OdGeContext::gTol) const |
OdGeEntity3d & | transformBy (const OdGeMatrix3d &xfm) |
OdGeEntity3d & | translateBy (const OdGeVector3d &translateVec) |
OdGeEntity3d & | rotateBy (double angle, const OdGeVector3d &vect, const OdGePoint3d &basePoint=OdGePoint3d::kOrigin) |
OdGeEntity3d & | mirror (const OdGePlane &plane) |
OdGeEntity3d & | scaleBy (double scaleFactor, const OdGePoint3d &basePoint=OdGePoint3d::kOrigin) |
bool | isOn (const OdGePoint3d &point, const OdGeTol &tol=OdGeContext::gTol) const |
Protected Member Functions | |
OdGeEntity3d () | |
OdGeEntity3d (const OdGeEntity3d &) | |
void | connectTo (OdGeEntity3dImpl *) |
Friends | |
class | OdGeEntity3dImpl |
This class is the base class for all OdGe 3D geometric operations.
Corresponding C++ library: TD_Ge
<group OdGe_Classes>
Definition at line 45 of file GeEntity3d.h.
OdGeEntity3d::~OdGeEntity3d | ( | ) |
|
protected |
|
protected |
|
protected |
OdGeEntity3d* OdGeEntity3d::copy | ( | ) | const |
Returns a copy of this entity.
bool OdGeEntity3d::isEqualTo | ( | const OdGeEntity3d & | object, |
const OdGeTol & | tol = OdGeContext::gTol |
||
) | const |
Returns true if the specified entity is equal to this one.
other | [in] Entity to be compared |
tol | [in] Geometric tolerance. |
bool OdGeEntity3d::isKindOf | ( | OdGe::EntityId | entType | ) | const |
Returns true if and only if this entity is of type (or is derived from) entType.
entType | [in] Entity type to test. |
bool OdGeEntity3d::isOn | ( | const OdGePoint3d & | point, |
const OdGeTol & | tol = OdGeContext::gTol |
||
) | const |
Returns true if and only if the specified point is on this entity, as determined by the tolerance.
point | [in] Point to be queried. |
tol | [in] Geometric tolerance. |
OdGeEntity3d& OdGeEntity3d::mirror | ( | const OdGePlane & | plane | ) |
Mirrors this entity about the specified plane, and returns a reference to this entity.
plane | [in] Plane about which entity is to be mirrored. |
OdGeEntity3d::ODRX_HEAP_OPERATORS | ( | ) |
bool OdGeEntity3d::operator!= | ( | const OdGeEntity3d & | entity | ) | const |
OdGeEntity3d& OdGeEntity3d::operator= | ( | const OdGeEntity3d & | entity | ) |
bool OdGeEntity3d::operator== | ( | const OdGeEntity3d & | entity | ) | const |
OdGeEntity3d& OdGeEntity3d::rotateBy | ( | double | angle, |
const OdGeVector3d & | vect, | ||
const OdGePoint3d & | basePoint = OdGePoint3d::kOrigin |
||
) |
Rotates this entity by the specified angle about the axis defined by the point and the vector, and returns a reference to this entity.
angle | [in] Rotation angle. |
vect | [in] Vector about which entitiy is rotated. |
basePoint | [in] Basepoint. |
OdGeEntity3d& OdGeEntity3d::scaleBy | ( | double | scaleFactor, |
const OdGePoint3d & | basePoint = OdGePoint3d::kOrigin |
||
) |
Scales this entity by the scale factor about the basepoint, and returns a reference to this entity.
scaleFactor | [in] Scale Factor. Must be greater than 0. |
basePoint | [in] Basepoint. |
OdGeEntity3d& OdGeEntity3d::transformBy | ( | const OdGeMatrix3d & | xfm | ) |
Applies the 3D transformation matrix to this entity, and returns a reference to this entity.
xfm | [in] 3D transformation matrix. |
OdGeEntity3d& OdGeEntity3d::translateBy | ( | const OdGeVector3d & | translateVec | ) |
Applies the 3D translation vector to this entity, and returns a reference to this entity.
translateVec | [in] Translation Vector. |
OdGe::EntityId OdGeEntity3d::type | ( | ) | const |
Returns the entity type.
|
friend |
Definition at line 167 of file GeEntity3d.h.