C3D Toolkit
Kernel  117982, Vision  2.9.2.2

The threedimensional point. More...
#include <vsn_point3d.h>
Public Member Functions  
Point3DF &  Init (const Point3DF &pnt) 
Initialize by coordinates.  
Point3DF &  Init (float xx, float yy, float zz) 
Initialize by coordinates.  
Point3DF &  Transform (const Matrix3DF &m) 
Transform according to the matrix.  
Point3DF &  Move (float dx, float dy, float dz) 
Translate along a vector.  
Point3DF &  Rotate (const Point3DF &axisP1, const Point3DF &axisP2, float angle) 
Rotate around an axis.  
Point3DF &  SetZero () 
Set coordinates to zero.  
float  DistanceToPoint (const Point3DF &) const 
The distance to a point.  
float  DistanceToPoint2 (const Point3DF &to) const 
The squared distance between two points.  
bool  IsEqual (const Point3DF &other) const 
Are the objects equal?  
void  operator+= (const Vector3DF &) 
Add a vector.  
void  operator= (const Vector3DF &) 
Subtract a vector.  
void  operator+= (const Point3DF &) 
Add point coordinates.  
void  operator= (const Point3DF &) 
Subtract point coordinates.  
Point3DF  operator+ (const Vector3DF &) const 
Add a point and vector.  
Point3DF  operator (const Vector3DF &) const 
Subtract a vector from the point.  
Point3DF  operator+ (const Point3DF &) const 
Add two points.  
Point3DF  operator (const Point3DF &) const 
Subtract a point from the point.  
Point3DF  operator () const 
The unary minus.  
The threedimensional point.
The threedimensional point (cartesian point) is defined by three coordinates in a cartesian coordinate system. A point can be defined by radiusvector. A radiusvector describes transform which translates a start point of a cartesian coordinate system to a space point with the given coordinates in this system.