CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Friends | List of all members
OdGeEntity3d Class Reference

#include <GeEntity3d.h>

Inheritance diagram for OdGeEntity3d:
OdGeBoundBlock3d OdGeCurve3d OdGeCurveCurveInt3d OdGeCurveSurfInt OdGePointEnt3d OdGeSurfSurfInt OdGeSurface OdGsCullingOBBox OdSi::BBox OdGeCircArc3d OdGeCompositeCurve3d OdGeEllipArc3d OdGeExternalCurve3d OdGeLinearEnt3d OdGeOffsetCurve3d OdGeSplineEnt3d OdGeSurfaceCurve2dTo3d OdGePointOnCurve3d OdGePointOnSurface OdGePosition3d OdGeCone OdGeCylinder OdGeEllipCone OdGeEllipCylinder OdGeExternalBoundedSurface OdGeExternalSurface OdGeNurbSurface OdGeOffsetSurface OdGePlanarEnt OdGeRevolvedSurface OdGeRuled OdGeSphere OdGeSpunSurf OdGeTorus

Public Member Functions

 ODRX_HEAP_OPERATORS ()
 
 ~OdGeEntity3d ()
 
bool isKindOf (OdGe::EntityId entType) const
 
OdGe::EntityId type () const
 
OdGeEntity3dcopy () const
 
OdGeEntity3doperator= (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
 
OdGeEntity3dtransformBy (const OdGeMatrix3d &xfm)
 
OdGeEntity3dtranslateBy (const OdGeVector3d &translateVec)
 
OdGeEntity3drotateBy (double angle, const OdGeVector3d &vect, const OdGePoint3d &basePoint=OdGePoint3d::kOrigin)
 
OdGeEntity3dmirror (const OdGePlane &plane)
 
OdGeEntity3dscaleBy (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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ~OdGeEntity3d()

OdGeEntity3d::~OdGeEntity3d ( )

Destructor for the OdGeEntity3d class.

◆ OdGeEntity3d() [1/2]

OdGeEntity3d::OdGeEntity3d ( )
protected

◆ OdGeEntity3d() [2/2]

OdGeEntity3d::OdGeEntity3d ( const OdGeEntity3d )
protected

Member Function Documentation

◆ connectTo()

void OdGeEntity3d::connectTo ( OdGeEntity3dImpl )
protected

◆ copy()

OdGeEntity3d * OdGeEntity3d::copy ( ) const

Returns a copy of this entity.

Remarks
The returned object is created with the new operator, and it is the responsibility of the caller to delete it.

◆ isEqualTo()

bool OdGeEntity3d::isEqualTo ( const OdGeEntity3d object,
const OdGeTol tol = OdGeContext::gTol 
) const

Checks whether the specified entity is equal to this one.

Parameters
object[in] Entity to be compared
tol[in] Geometric tolerance.
Returns
true if and only if both entities are of the same type, have the same point set within the specified tolerance, and have the same parameterization.

◆ isKindOf()

bool OdGeEntity3d::isKindOf ( OdGe::EntityId  entType) const

Returns true if and only if this entity is of type (or is derived from) entType.

Parameters
entType[in] Entity type to test.

◆ isOn()

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.

Parameters
point[in] Point to be queried.
tol[in] Geometric tolerance.

◆ mirror()

OdGeEntity3d & OdGeEntity3d::mirror ( const OdGePlane plane)

Mirrors this entity about the specified plane, and returns a reference to this entity.

Parameters
plane[in] Plane about which entity is to be mirrored.

◆ ODRX_HEAP_OPERATORS()

OdGeEntity3d::ODRX_HEAP_OPERATORS ( )

◆ operator!=()

bool OdGeEntity3d::operator!= ( const OdGeEntity3d entity) const

Comparison operator for the OdGeEntity3d object.

Parameters
entity[in] Other entity to compare.
Returns
A boolean value that indicates whether the input entity is not identical to this entity.

◆ operator=()

OdGeEntity3d & OdGeEntity3d::operator= ( const OdGeEntity3d entity)

Assignment operator for the OdGeEntity3d object.

Parameters
entity[in] Entity to assign.
Returns
A reference to this OdGeEntity3d object.

◆ operator==()

bool OdGeEntity3d::operator== ( const OdGeEntity3d entity) const

Comparison operator for the OdGeEntity3d object.

Parameters
entity[in] Other entity to compare.
Returns
A boolean value that indicates whether the input entity is identical to this entity.

◆ rotateBy()

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.

Parameters
angle[in] Rotation angle.
vect[in] Vector about which entitiy is rotated.
basePoint[in] Basepoint.

◆ scaleBy()

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.

Parameters
scaleFactor[in] Scale Factor. Must be greater than 0.
basePoint[in] Basepoint.

◆ transformBy()

OdGeEntity3d & OdGeEntity3d::transformBy ( const OdGeMatrix3d xfm)

Applies the 3D transformation matrix to this entity, and returns a reference to this entity.

Parameters
xfm[in] 3D transformation matrix.

◆ translateBy()

OdGeEntity3d & OdGeEntity3d::translateBy ( const OdGeVector3d translateVec)

Applies the 3D translation vector to this entity, and returns a reference to this entity.

Parameters
translateVec[in] Translation Vector.

◆ type()

OdGe::EntityId OdGeEntity3d::type ( ) const

Returns the entity type.

Friends And Related Function Documentation

◆ OdGeEntity3dImpl

friend class OdGeEntity3dImpl
friend

Definition at line 199 of file GeEntity3d.h.


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