| CFx SDK Documentation
    2022 SP0
    | 
#include <GePoint3d.h>
| Public Attributes | |
| double | x | 
| double | y | 
| double | z | 
| Static Public Attributes | |
| static GE_STATIC_EXPORT const OdGePoint3d | kOrigin | 
| Friends | |
| GE_TOOLKIT_EXPORT OdGePoint3d | operator* (const OdGeMatrix3d &matrix, const OdGePoint3d &point) | 
| GE_TOOLKIT_EXPORT OdGePoint3d | operator* (double scale, const OdGePoint3d &point) | 
This class represents points (locations) in 3D space.
Corresponding C++ library: TD_Ge
<group OdGe_Classes>
Definition at line 54 of file GePoint3d.h.
| 
 | inline | 
| xx | [in] The X-coordinate of this point. | 
| yy | [in] The Y-coordinate of this point. | 
| zz | [in] The Z-coordinate of this point. | 
| plane | [in] Any plane. | 
| pnt2d | [in] Any 2D point. | 
| source | [in] Object to be cloned. | 
p + uAxis * pnt2d.x + vAxis * pnt2d.y,where p, uAxis, and vAxis are returned by the function call plane.get (p, uAxis, vAxis);
With no arguments, creates a point at the origin.
Definition at line 73 of file GePoint3d.h.
| 
 | inline | 
Definition at line 77 of file GePoint3d.h.
| OdGePoint3d::OdGePoint3d | ( | const OdGePlanarEnt & | plane, | 
| const OdGePoint2d & | pnt2d | ||
| ) | 
| 
 | inline | 
Returns this point as a vector.
Definition at line 246 of file GePoint3d.h.
| 
 | inline | 
Definition at line 162 of file GePoint3d.h.
| OdGePoint2d OdGePoint3d::convert2d | ( | const OdGePlanarEnt & | plane | ) | const | 
Projects this point onto the specified plane.
| plane | [in] Any plane. | 
Remarks, If no plane is specified, this point is projected into the XY plane.
| double OdGePoint3d::distanceTo | ( | const OdGePoint3d & | point | ) | const | 
Returns the distance from this point to the specified point.
| point | [in] Any 3D point. | 
| bool OdGePoint3d::isEqualTo | ( | const OdGePoint3d & | point, | 
| const OdGeTol & | tol = OdGeContext::gTol | ||
| ) | const | 
Returns true if and only if the distance from this point to point is within the specified tolerance.
| point | [in] Any 3D point. | 
| tol | [in] Geometric tolerance. | 
| OdGePoint3d& OdGePoint3d::mirror | ( | const OdGePlane & | plane | ) | 
Mirrors this point about the specified plane.
| line | [in] Mirror Line. | 
| 
 | inline | 
Definition at line 283 of file GePoint3d.h.
| 
 | inline | 
Definition at line 167 of file GePoint3d.h.
| 
 | inline | 
Definition at line 173 of file GePoint3d.h.
| 
 | inline | 
Definition at line 197 of file GePoint3d.h.
| 
 | inline | 
Definition at line 203 of file GePoint3d.h.
| 
 | inline | 
Definition at line 237 of file GePoint3d.h.
| 
 | inline | 
Definition at line 212 of file GePoint3d.h.
| 
 | inline | 
Definition at line 218 of file GePoint3d.h.
| 
 | inline | 
Definition at line 182 of file GePoint3d.h.
| 
 | inline | 
Definition at line 188 of file GePoint3d.h.
| 
 | inline | 
Definition at line 277 of file GePoint3d.h.
| 
 | inline | 
Definition at line 315 of file GePoint3d.h.
| 
 | inline | 
| i | [in] Index of coordinate. | 
Returns or references the ith coordinate of this point.
Definition at line 309 of file GePoint3d.h.
| OdGePoint3d OdGePoint3d::orthoProject | ( | const OdGePlane & | plane | ) | const | 
Projects this point onto the specified plane along the normal to the plane.
| plane | [in] Plane on which this point is to be projected | 
| OdGePoint3d OdGePoint3d::project | ( | const OdGePlane & | plane, | 
| const OdGeVector3d & | vect | ||
| ) | const | 
Projects this point onto the specified plane along the specified vector.
| plane | [in] Plane on which this point is to be projected | 
| vect | [in] Vector defining the projection direction. | 
| OdGePoint3d& OdGePoint3d::rotateBy | ( | double | angle, | 
| const OdGeVector3d & | vect, | ||
| const OdGePoint3d & | basePoint = OdGePoint3d::kOrigin | ||
| ) | 
Rotates this point about the specified basePoint and axis of rotation by the specified angle.
| angle | [in] Rotation angle. | 
| basePoint | [in] Basepoint. | 
| vect | [in] Axis of rotation. | 
| OdGePoint3d& OdGePoint3d::scaleBy | ( | double | scaleFactor, | 
| const OdGePoint3d & | basePoint = OdGePoint3d::kOrigin | ||
| ) | 
Scales this point by the scale factor about the basepoint.
| scaleFactor | [in] Scale Factor. The scale factor must be greater than zero. | 
| basePoint | [in] Basepoint. | 
| OdGePoint3d& OdGePoint3d::set | ( | const OdGePlanarEnt & | plane, | 
| const OdGePoint2d & | point | ||
| ) | 
Sets the parameters for this point according to the arguments
| plane | [in] Any plane. | 
| point | [in] Any 2D point. | 
p + uAxis * point.x + vAxis * point.y,where p, uAxis, and vAxis are returned by the function call plane.get (p, uAxis, vAxis);
| 
 | inline | 
Sets the parameters for this point according to the arguments
| xx | [in] The X-coordinate of this point. | 
| yy | [in] The Y-coordinate of this point. | 
| zz | [in] The Z-coordinate of this point. | 
p + uAxis * point.x + vAxis * point.y,where p, uAxis, and vAxis are returned by the function call plane.get (p, uAxis, vAxis);
Definition at line 337 of file GePoint3d.h.
| OdGePoint3d& OdGePoint3d::setToProduct | ( | const OdGeMatrix3d & | xfm, | 
| const OdGePoint3d & | point | ||
| ) | 
Sets this point to the product of xfm * point, and returns a reference to this point.
| xfm | [in] A 3D matrix. | 
| point | [in] Any 3D point. | 
| OdGePoint3d& OdGePoint3d::setToSum | ( | const OdGePoint3d & | point, | 
| const OdGeVector3d & | vect | ||
| ) | 
Sets this point to point + vect, and returns a reference to this point.
| point | [in] Any 3D point. | 
| vect | [in] Any 3D vector. | 
| OdGePoint3d& OdGePoint3d::swapWithPoint | ( | OdGePoint3d & | point | ) | 
| OdGePoint3d& OdGePoint3d::transformBy | ( | const OdGeMatrix3d & | xfm | ) | 
Sets this point to the result of the matrix multiplication xfm this point*. Returns a reference to this point.
| xfm | [in] A 3D matrix. | 
| 
 | friend | 
| 
 | friend | 
Definition at line 95 of file GePoint3d.h.
| 
 | static | 
Definition at line 89 of file GePoint3d.h.
| double OdGePoint3d::x | 
Definition at line 367 of file GePoint3d.h.
| double OdGePoint3d::y | 
Definition at line 368 of file GePoint3d.h.
| double OdGePoint3d::z | 
Definition at line 369 of file GePoint3d.h.