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

#include <GePosition3d.h>

Inheritance diagram for OdGePosition3d:
OdGePointEnt3d OdGeEntity3d

Public Member Functions

 OdGePosition3d ()
 
 OdGePosition3d (const OdGePoint3d &point)
 
 OdGePosition3d (double x, double y, double z)
 
 OdGePosition3d (const OdGePosition3d &source)
 
OdGePosition3dset (const OdGePoint3d &point)
 
OdGePosition3dset (double x, double y, double z)
 
OdGePosition3doperator= (const OdGePosition3d &pos)
 
- Public Member Functions inherited from OdGePointEnt3d
OdGePoint3d point3d () const
 
 operator OdGePoint3d () const
 
OdGePointEnt3doperator= (const OdGePointEnt3d &ent)
 
- Public Member Functions inherited from OdGeEntity3d
 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
 

Additional Inherited Members

- Protected Member Functions inherited from OdGePointEnt3d
 OdGePointEnt3d ()
 
 OdGePointEnt3d (const OdGePointEnt3d &ent)
 
- Protected Member Functions inherited from OdGeEntity3d
 OdGeEntity3d ()
 
 OdGeEntity3d (const OdGeEntity3d &)
 
void connectTo (OdGeEntity3dImpl *)
 

Detailed Description

This class represents points (positions) in 3D space.

Corresponding C++ library: TD_Ge

<group OdGe_Classes>

See also
<link ge_OdGePosition, Working with Points>

Definition at line 41 of file GePosition3d.h.

Constructor & Destructor Documentation

◆ OdGePosition3d() [1/4]

OdGePosition3d::OdGePosition3d ( )

Default constructor for the OdGePosition3d class.

◆ OdGePosition3d() [2/4]

OdGePosition3d::OdGePosition3d ( const OdGePoint3d point)

Constructor for the OdGePosition3d class.

Parameters
point[in] A point according to which position is set.
Remarks
The constructor constructs position object with a specified point.

◆ OdGePosition3d() [3/4]

OdGePosition3d::OdGePosition3d ( double  x,
double  y,
double  z 
)

Constructor for the OdGePosition3d class.

Parameters
x[in] The X-coordinate of the position.
y[in] The Y-coordinate of the position.
z[in] The Z-coordinate of the position.
Remarks
The constructor constructs position object with specified coordinate values.

◆ OdGePosition3d() [4/4]

OdGePosition3d::OdGePosition3d ( const OdGePosition3d source)

Copy constructor for the OdGePosition3d class.

Parameters
source[in] Object to be copied.

Member Function Documentation

◆ operator=()

OdGePosition3d & OdGePosition3d::operator= ( const OdGePosition3d pos)

Assignment operator for the OdGePosition3d object.

Parameters
pos[in] Position to assign.
Returns
Reference to this OdGePosition3d object.

◆ set() [1/2]

OdGePosition3d & OdGePosition3d::set ( const OdGePoint3d point)

Sets the coordinates of, and returns a reference to, this point.

Parameters
point[in] A point according to which position is set.

◆ set() [2/2]

OdGePosition3d & OdGePosition3d::set ( double  x,
double  y,
double  z 
)

Sets the coordinates of, and returns a reference to, this point.

Parameters
x[in] The X-coordinate of the position.
y[in] The Y-coordinate of the position.
z[in] The Z-coordinate of the position.

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