C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2
VSN::Point3DF Class Reference

The three-dimensional point. More...

#include <vsn_point3d.h>

Public Member Functions

Point3DFInit (const Point3DF &pnt)
 Initialize by coordinates.
 
Point3DFInit (float xx, float yy, float zz)
 Initialize by coordinates.
 
Point3DFTransform (const Matrix3DF &m)
 Transform according to the matrix.
 
Point3DFMove (float dx, float dy, float dz)
 Translate along a vector.
 
Point3DFRotate (const Point3DF &axisP1, const Point3DF &axisP2, float angle)
 Rotate around an axis.
 
Point3DFSetZero ()
 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.
 

Detailed Description

The three-dimensional point.

The three-dimensional point (cartesian point) is defined by three coordinates in a cartesian coordinate system. A point can be defined by radius-vector. A radius-vector describes transform which translates a start point of a cartesian coordinate system to a space point with the given coordinates in this system.


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