Vector3D.h File Reference

#include <math.h>

Go to the source code of this file.

Classes

struct  Base::float_traits< numT >
struct  Base::float_traits< double >
struct  Base::float_traits< float >
struct  Base::vec_traits< vecT >
struct  Base::vec_traits< Vector3d >
struct  Base::vec_traits< Vector3f >
class  Base::Vector3< _Precision >
 The Vector Base class. More...

Namespaces

namespace  Base
 

The namespace of the FreeCAD Base library.


Defines

#define D_PI   3.141592653589793
#define F_PI   3.1415926f
#define FLOAT_EPS   1.0e-4f
#define FLOAT_MAX   1e30f

Typedefs

typedef Vector3< double > Base::Vector3d
typedef Vector3< float > Base::Vector3f

Functions

template<class _Vec1 , class _Vec2 >
_Vec1 Base::convertTo (const _Vec2 &v)
template<class _Precision >
_Precision Base::Distance (const Vector3< _Precision > &v1, const Vector3< _Precision > &v2)
 Returns the distance between two points.
template<class _Precision >
_Precision Base::DistanceP2 (const Vector3< _Precision > &v1, const Vector3< _Precision > &v2)
 Returns the squared distance between two points.
template<class _Precision >
Vector3< _Precision > Base::operator* (_Precision fFac, const Vector3< _Precision > &rcVct)
 Multiplication of scalar with vector.
template<class _Pr1 , class _Pr2 >
Vector3< _Pr1 > Base::toVector (const Vector3< _Pr2 > &v)

Define Documentation

#define D_PI   3.141592653589793
#define F_PI   3.1415926f
#define FLOAT_EPS   1.0e-4f
#define FLOAT_MAX   1e30f

Generated on Wed Nov 23 19:01:25 2011 for FreeCAD by  doxygen 1.6.1