API Reference > OdGe Classes > OdGePoint3d Class
OdGePoint3d Class
OdGePoint3d
Syntax
C++
class OdGePoint3d;

GePoint3d.h

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

OdGePoint3d may be viewed as an array[3] of doubles. 

Corresponding C++ library: TD_Ge 

 

 
Name 
Description 
 
This is the overview for the OdGePoint3d constructor overload. 
 
Name 
Description 
 
Origin (0,0,0). 
 
x 
X-coordinate 
 
y 
Y-coordinate 
 
z 
Z-coordinate 
 
Name 
Description 
 
This is the overview for the asVector method overload. 
 
This is the overview for the convert2d method overload. 
 
Returns the squared distance from this point to the specified point.
 
 
Returns the distance from this point to the specified point.
 
 
Returns true if and only if the distance from this point to point is within the specified tolerance.
 
 
Mirrors this point about the specified plane.
 
 
Returns the 3D point that is the result of the orthogonal projection of this point into the specified plane.
 
 
Projects this point onto the specified plane along the specified vector.
 
 
Rotates this point about the specified basePoint and axis of rotation by the specified angle.
 
 
Scales this point by the scale factor about the basepoint.
 
 
set 
This is the overview for the set method overload. 
 
Sets this point to point + vect, and returns a reference to this point.
 
 
Swaps coordinates of this point and the specified point.
 
 
Sets this point to the result of the matrix multiplication of xfm * this point. Returns a reference to this point.
 
 
Name 
Description 
 
- 
This is the overview for the - operator overload. 
 
!= 
Inequality operator. Returns true if any of the coordinates of this point are not equal to the corresponding coordinates of the specified point.
 
 
* 
Multiplication operator for the OdGePoint3d class.
 
 
*= 
Multiplication operator for the OdGePoint3d class.
 
 
/ 
Division operator for the OdGePoint3d class.
 
 
/= 
Division operator for the OdGePoint3d class.
 
 
[] 
This is the overview for the [] operator overload. 
 
+ 
Addition operator for the OdGePoint3d class.
 
 
+= 
Addition operator for the OdGePoint3d class.
 
 
-= 
Subtraction operator for the OdGePoint3d class.
 
 
== 
Equality operator. Returns true if all the coordinates of this point are equal to the corresponding coordinates of the specified point.
 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.