struct CCL::PointF3D
3D Point with float coordinates.
#include <point3d.h> struct PointF3D { // fields CoordF x; CoordF y; CoordF z; // construction PointF3D (CoordF x = 0, CoordF y = 0, CoordF z = 0); // methods float lengthSquared () const; float length () const; float distanceToSquared (PointF3DRef p) const; float distanceTo (PointF3DRef p) const; float dot (PointF3DRef p) const; PointF3D normal () const; PointF3D cross (PointF3DRef p) const; PointF3D& bound (PointF3DRef min, PointF3DRef max); PointF3D operator * (float n) const; PointF3D operator + (PointF3DRef rhs) const; PointF3D operator - (PointF3DRef rhs) const; PointF3D operator - () const; PointF3D& operator *= (float n); PointF3D& operator += (PointF3DRef rhs); PointF3D& operator -= (PointF3DRef rhs); bool operator == (PointF3DRef rhs) const; bool operator != (PointF3DRef rhs) const; };