CFx SDK Documentation 2024 SP0
|
#include <GePosition2d.h>
Additional Inherited Members | |
Protected Member Functions inherited from OdGePointEnt2d | |
OdGePointEnt2d () | |
OdGePointEnt2d (const OdGePointEnt2d &source) | |
Protected Member Functions inherited from OdGeEntity2d | |
OdGeEntity2d () | |
OdGeEntity2d (const OdGeEntity2d &) | |
void | connectTo (OdGeEntity2dImpl *) |
This class represents points (positions) in 2D space.
Corresponding C++ library: TD_Ge
<group OdGe_Classes>
Definition at line 42 of file GePosition2d.h.
OdGePosition2d::OdGePosition2d | ( | ) |
Default constructor for the OdGePosition2d class.
OdGePosition2d::OdGePosition2d | ( | const OdGePoint2d & | point | ) |
Constructor for the OdGePosition2d class.
point | [in] A point according to which position is set. |
OdGePosition2d::OdGePosition2d | ( | double | x, |
double | y | ||
) |
Constructor for the OdGePosition2d class.
x | [in] The X-coordinate of the position. |
y | [in] The Y-coordinate of the position. |
OdGePosition2d::OdGePosition2d | ( | const OdGePosition2d & | source | ) |
Copy constructor for the OdGePosition2d class.
source | [in] Object to be copied. |
OdGePosition2d & OdGePosition2d::operator= | ( | const OdGePosition2d & | pos | ) |
Assignment operator for the OdGePosition2d object.
pos | [in] Position to assign. |
OdGePosition2d & OdGePosition2d::set | ( | const OdGePoint2d & | point | ) |
Sets the coordinates of, and returns a reference to this point.
point | [in] A point according to which position is set. |
OdGePosition2d & OdGePosition2d::set | ( | double | x, |
double | y | ||
) |
Sets the coordinates of, and returns a reference to, this point.
x | [in] The X-coordinate of the position. |
y | [in] The Y-coordinate of the position. |