ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
Vector3Tpl< Type > Class Template Reference

3D Vector (templated version) More...

#include <CVGeom.h>

Inheritance diagram for Vector3Tpl< Type >:
[legend]
Collaboration diagram for Vector3Tpl< Type >:
[legend]

Public Member Functions

 Vector3Tpl ()
 Default constructor. More...
 
 Vector3Tpl (Type _x, Type _y, Type _z)
 Constructor from a triplet of coordinates. More...
 
 Vector3Tpl (const Type p[])
 Constructor from an array of 3 elements. More...
 
 Vector3Tpl (const Vector2Tpl< Type > &t2D, Type c)
 Constructor from a 2D vector (and a third value) More...
 
 operator Vector3Tpl< double > () const
 
Vector3Tpl< double > toDouble () const
 Cast operator to a double vector (explicit call version) More...
 
Vector3Tpl< float > toFloat () const
 
Vector3Tpl< PointCoordinateType > toPC () const
 
 Vector3Tpl (const Eigen::Matrix< float, 3, 1 > &v)
 Copy Function. More...
 
 Vector3Tpl (const Eigen::Matrix< double, 3, 1 > &v)
 
Vector3Tpl & operator= (const Eigen::Matrix< double, 3, 1 > &v)
 Assignment Function. More...
 
Vector3Tpl & operator= (const Eigen::Matrix< float, 3, 1 > &v)
 
Vector3Tpl & operator+= (const Eigen::Matrix< double, 3, 1 > &v)
 In-place addition operator. More...
 
Vector3Tpl & operator-= (const Eigen::Matrix< double, 3, 1 > &v)
 In-place subtraction operator. More...
 
Vector3Tpl & operator*= (const Eigen::Matrix< double, 3, 1 > &v)
 In-place product operator. More...
 
Vector3Tpl operator- (const Eigen::Matrix< double, 3, 1 > &v) const
 Subtraction operator. More...
 
Vector3Tpl operator+ (const Eigen::Matrix< double, 3, 1 > &v) const
 Addition operator. More...
 
Vector3Tpl operator* (const Eigen::Matrix< double, 3, 1 > &v) const
 Cross product operator. More...
 
Type operator&& (const Eigen::Matrix< double, 3, 1 > &v) const
 Dot product operator. More...
 
Type & operator() (unsigned i)
 Direct coordinate access. More...
 
const Type & operator() (unsigned i) const
 Direct coordinate access (const) More...
 
Type maxCoeff () const
 x,y,z maximum More...
 
Type prod () const
 x,y,z product More...
 
Type dot (const Vector3Tpl &v) const
 Dot product. More...
 
Vector3Tpl cross (const Vector3Tpl &v) const
 Cross product. More...
 
Type norm2 () const
 Returns vector square norm. More...
 
double norm2d () const
 Returns vector square norm (forces double precision output) More...
 
Type norm () const
 Returns vector norm. More...
 
double normd () const
 Returns vector norm (forces double precision output) More...
 
void normalize ()
 Sets vector norm to unity. More...
 
Vector3Tpl orthogonal () const
 Returns a normalized vector which is orthogonal to this one. More...
 
Vector3Tpl operator- () const
 Inverse operator. More...
 
Vector3Tpl & operator+= (const Vector3Tpl &v)
 In-place addition operator. More...
 
Vector3Tpl & operator-= (const Vector3Tpl &v)
 In-place subtraction operator. More...
 
Vector3Tpl & operator*= (Type v)
 In-place multiplication (by a scalar) operator. More...
 
Vector3Tpl & operator/= (Type v)
 In-place division (by a scalar) operator. More...
 
Vector3Tpl operator+ (const Vector3Tpl &v) const
 Addition operator. More...
 
Vector3Tpl operator- (const Vector3Tpl &v) const
 Subtraction operator. More...
 
Vector3Tpl operator* (Type s) const
 Multiplication operator. More...
 
Vector3Tpl operator/ (Type s) const
 Division operator. More...
 
Vector3Tpl operator* (const Vector3Tpl &v) const
 Cross product operator. More...
 
Type operator&& (const Vector3Tpl &v) const
 Dot product operator. More...
 
Type & operator[] (unsigned i)
 Direct coordinate access. More...
 
const Type & operator[] (unsigned i) const
 Direct coordinate access (const) More...
 
Type angle_rad (const Vector3Tpl &v) const
 Returns the angle to another vector (in radians - in [0, pi]. More...
 
double angle_radd (const Vector3Tpl &v) const
 
- Public Member Functions inherited from Tuple3Tpl< Type >
std::size_t rows () const
 
std::size_t dimensions () const
 
Type * data ()
 
const Type * data () const
 
 Tuple3Tpl ()
 Default constructor. More...
 
 Tuple3Tpl (Type a, Type b, Type c)
 Constructor from a triplet of values. More...
 
 Tuple3Tpl (const Type p[])
 Constructor from an array of 3 elements. More...
 
Tuple3Tpl operator- () const
 Inverse operator. More...
 
Tuple3Tpl & operator+= (const Tuple3Tpl &v)
 In-place addition operator. More...
 
Tuple3Tpl & operator-= (const Tuple3Tpl &v)
 In-place subtraction operator. More...
 
Tuple3Tpl & operator*= (Type v)
 In-place multiplication (by a scalar) operator. More...
 
Tuple3Tpl & operator/= (Type v)
 In-place division (by a scalar) operator. More...
 
Tuple3Tpl operator+ (const Tuple3Tpl &v) const
 Addition operator. More...
 
Tuple3Tpl operator- (const Tuple3Tpl &v) const
 Subtraction operator. More...
 
Tuple3Tpl operator* (Type s) const
 Multiplication operator. More...
 
Tuple3Tpl operator/ (Type s) const
 Division operator. More...
 

Static Public Member Functions

static Vector3Tpl fromArray (const int a[3])
 Constructor from an int array. More...
 
static Vector3Tpl fromArray (const float a[3])
 Constructor from a float array. More...
 
static Vector3Tpl fromArray (const double a[3])
 Constructor from a double array. More...
 
static Vector3Tpl fromArray (const Eigen::Matrix< double, 3, 1 > &a)
 Constructor from a Eigen vector. More...
 
static Eigen::Matrix< Type, 3, 1 > fromArray (const Vector3Tpl< float > &a)
 
static Eigen::Matrix< Type, 3, 1 > fromArray (const Vector3Tpl< double > &a)
 
static std::vector< Eigen::Matrix< double, 3, 1 > > fromArrayContainer (const std::vector< Vector3Tpl< Type >> &container)
 
static std::vector< Vector3Tpl > fromArrayContainer (const std::vector< Eigen::Matrix< double, 3, 1 >> &container)
 
static void vdivide (const Type p[], Type s, Type r[])
 
static void vdivide (Type p[], Type s)
 
static void vmultiply (const Type p[], Type s, Type r[])
 
static void vmultiply (Type p[], Type s)
 
static Type vdot (const Type p[], const Type q[])
 
static double vdotd (const Type p[], const Type q[])
 
static void vcross (const Type p[], const Type q[], Type r[])
 
static void vcopy (const Type p[], Type q[])
 
static void vset (Type p[], Type s)
 
static void vset (Type p[], Type x, Type y, Type z)
 
static void vadd (const Type p[], const Type q[], Type r[])
 
static void vsubstract (const Type p[], const Type q[], Type r[])
 
static void vcombination (Type a, const Type p[], Type b, const Type q[], Type r[])
 
static void vcombination (const Type p[], Type b, const Type q[], Type r[])
 
static void vnormalize (Type p[])
 
static Type vnorm2 (const Type p[])
 
static double vnorm2d (const Type p[])
 
static Type vdistance2 (const Type p[], const Type q[])
 
static double vdistance2d (const Type p[], const Type q[])
 
static Type vnorm (const Type p[])
 
static double vnormd (const Type p[])
 
static Type vdistance (const Type p[], const Type q[])
 
static double vdistanced (const Type p[], const Type q[])
 
static void vorthogonal (const Type p[], Type q[])
 
static Type vangle_rad (const Type p[], const Type q[])
 
static double vangle_radd (const Type p[], const Type q[])
 

Additional Inherited Members

- Public Attributes inherited from Tuple3Tpl< Type >
union {
   struct {
      Type   x
 
      Type   y
 
      Type   z
 
   } 
 
   Type   u [3]
 
}; 
 

Detailed Description

template<typename Type>
class Vector3Tpl< Type >

3D Vector (templated version)

Constructor & Destructor Documentation

◆ Vector3Tpl() [1/6]

◆ Vector3Tpl() [2/6]

template<typename Type >
Vector3Tpl< Type >::Vector3Tpl ( Type  _x,
Type  _y,
Type  _z 
)
inline

Constructor from a triplet of coordinates.

Inits vector to (x,y,z).

◆ Vector3Tpl() [3/6]

template<typename Type >
Vector3Tpl< Type >::Vector3Tpl ( const Type  p[])
inlineexplicit

Constructor from an array of 3 elements.

◆ Vector3Tpl() [4/6]

template<typename Type >
Vector3Tpl< Type >::Vector3Tpl ( const Vector2Tpl< Type > &  t2D,
Type  c 
)
inlineexplicit

Constructor from a 2D vector (and a third value)

◆ Vector3Tpl() [5/6]

template<typename Type >
Vector3Tpl< Type >::Vector3Tpl ( const Eigen::Matrix< float, 3, 1 > &  v)
inline

Copy Function.

◆ Vector3Tpl() [6/6]

template<typename Type >
Vector3Tpl< Type >::Vector3Tpl ( const Eigen::Matrix< double, 3, 1 > &  v)
inline

Member Function Documentation

◆ angle_rad()

template<typename Type >
Type Vector3Tpl< Type >::angle_rad ( const Vector3Tpl< Type > &  v) const
inline

Returns the angle to another vector (in radians - in [0, pi].

Referenced by cc2DLabel::getLabelInfo3().

◆ angle_radd()

template<typename Type >
double Vector3Tpl< Type >::angle_radd ( const Vector3Tpl< Type > &  v) const
inline

◆ cross()

template<typename Type >
Vector3Tpl Vector3Tpl< Type >::cross ( const Vector3Tpl< Type > &  v) const
inline

◆ dot()

template<typename Type >
Type Vector3Tpl< Type >::dot ( const Vector3Tpl< Type > &  v) const
inline

Dot product.

Referenced by qCanupo2DViewDialog::addOrSelectPoint(), ccFacet::applyGLTransformation(), FacetsClassifier::CommputeHDistBetweenFacets(), cloudViewer::DistanceComputationTools::computeCloud2BoxEquation(), cloudViewer::DistanceComputationTools::computeCloud2ConeEquation(), cloudViewer::DistanceComputationTools::computeCloud2CylinderEquation(), cloudViewer::DistanceComputationTools::computeCloud2RectangleEquation(), ComputeFacetExtensions(), cloudViewer::Neighbourhood::computeLeastSquareBestFittingPlane(), cloudViewer::Neighbourhood::computeMomentOrder1(), ComputeMSTGraphAtLevel(), ccPointCloud::computeNormalsWithGrids(), cloudViewer::DistanceComputationTools::computePoint2LineSegmentDistSquared(), cloudViewer::DistanceComputationTools::computePoint2TriangleDistance(), ccFastMarchingForNormsDirection::computePropagationConfidence(), ComputeRobustAverageNorm(), FastMarchingForFacetExtraction::computeTCoefApprox(), qFacets::createFacets(), ccCropTool::Crop(), cloudViewer::GeometricalAnalysisTools::DetectCircle(), Plane::distance(), DrawUnitArrow(), DrawUnitTorus(), ccCompass::estimateStructureNormals(), cloudViewer::FPCSRegistrationTools::FindBase(), ccQuadric::Fit(), ccPlane::Fit(), ccTrace::fitPlane(), ccGLMatrixTpl< float >::FromToRotation(), ccKdTreeForFacetExtraction::FuseCells(), ccPlane::getEquation(), cloudViewer::DgmOctree::getPointsInBoxNeighbourhood(), cloudViewer::DgmOctree::getPointsInCylindricalNeighbourhood(), cloudViewer::DgmOctree::getPointsInCylindricalNeighbourhoodProgressive(), ccCompassImport::importFoliations(), ccCompass::importFoliations(), cloudViewer::DistanceComputationTools::intersectMeshWithOctree(), cloudViewer::Grid3D< unsigned >::intersectWith(), cloudViewer::FPCSRegistrationTools::LinesIntersections(), QVTKWidgetCustom::mouseMoveEvent(), ccClipBox::move3D(), MainWindow::onItemPicked(), Vector3Tpl< PointCoordinateType >::operator&&(), ccPointCloud::OrientNormalsConsistentTangentPlane(), ccPointCloud::orientNormalsTowardViewPoint(), ccPointCloud::orientNormalsWithGrids(), OrientPointNormalWithCloud(), cc2DLabel::pointPicking(), ccGBLSensor::projectNormals(), cloudViewer::Neighbourhood::projectPointsOn2DPlane(), cloudViewer::RegistrationTools::RegistrationProcedure(), ccFastMarchingForNormsDirection::resolveCellOrientation(), ResolveNormalsWithMST(), ccOctreeFrustumIntersector::separatingAxisTest(), ccPointCloud::triangulateGrid(), ccMesh::TriangulateTwoPolylines(), ccClipBox::update(), ccLineation::updateMetadata(), ccThickness::updateMetadata(), ccNormalVectors::UpdateNormalOrientations(), ccPlaneEditDlg::updatePlane(), and ccFastMarchingForNormsDirection::updateResolvedTable().

◆ fromArray() [1/6]

template<typename Type >
static Vector3Tpl Vector3Tpl< Type >::fromArray ( const double  a[3])
inlinestatic

Constructor from a double array.

◆ fromArray() [2/6]

template<typename Type >
static Vector3Tpl Vector3Tpl< Type >::fromArray ( const Eigen::Matrix< double, 3, 1 > &  a)
inlinestatic

Constructor from a Eigen vector.

◆ fromArray() [3/6]

template<typename Type >
static Vector3Tpl Vector3Tpl< Type >::fromArray ( const float  a[3])
inlinestatic

Constructor from a float array.

◆ fromArray() [4/6]

template<typename Type >
static Vector3Tpl Vector3Tpl< Type >::fromArray ( const int  a[3])
inlinestatic

◆ fromArray() [5/6]

template<typename Type >
static Eigen::Matrix<Type, 3, 1> Vector3Tpl< Type >::fromArray ( const Vector3Tpl< double > &  a)
inlinestatic

◆ fromArray() [6/6]

template<typename Type >
static Eigen::Matrix<Type, 3, 1> Vector3Tpl< Type >::fromArray ( const Vector3Tpl< float > &  a)
inlinestatic

◆ fromArrayContainer() [1/2]

template<typename Type >
static std::vector<Vector3Tpl> Vector3Tpl< Type >::fromArrayContainer ( const std::vector< Eigen::Matrix< double, 3, 1 >> &  container)
inlinestatic

◆ fromArrayContainer() [2/2]

template<typename Type >
static std::vector<Eigen::Matrix<double, 3, 1> > Vector3Tpl< Type >::fromArrayContainer ( const std::vector< Vector3Tpl< Type >> &  container)
inlinestatic

◆ maxCoeff()

template<typename Type >
Type Vector3Tpl< Type >::maxCoeff ( ) const
inline

x,y,z maximum

◆ norm()

◆ norm2()

◆ norm2d()

◆ normalize()

template<typename Type >
void Vector3Tpl< Type >::normalize ( )
inline

Sets vector norm to unity.

Referenced by ccPointCloud::addNormAtIndex(), ccCameraSensor::applyViewport(), ccSphere::buildUp(), ccDish::buildUp(), ccCone::buildUp(), CleanMatrix(), PdmsTools::PdmsObjects::GenericItem::completeOrientation(), ccOctree::ComputeAverageNorm(), cloudViewer::CCMiscTools::ComputeBaseVectors(), cloudViewer::DistanceComputationTools::computeCloud2ConeEquation(), cloudViewer::DistanceComputationTools::computeCloud2CylinderEquation(), ComputeCorePointNormal(), ComputeFacetExtensions(), ccCameraSensor::computeGlobalPlaneCoefficients(), cloudViewer::Neighbourhood::computeLeastSquareBestFittingPlane(), ccPointCloud::computeNormalsWithGrids(), ccNormalVectors::ComputeNormalWithQuadric(), ccNormalVectors::ComputeNormalWithTri(), ccMesh::computePerVertexNormals(), ccFastMarchingForNormsDirection::computePropagationConfidence(), ComputeRobustAverageNorm(), FastMarchingForFacetExtraction::computeTCoefApprox(), ccPolyline::drawMeOnly(), ccCompass::estimateStrain(), qFacets::exportFacets(), ccCameraSensor::fromImageCoordToGlobalCoord(), ccGLMatrixTpl< float >::FromViewDirAndUpDir(), ecvDisplayTools::GetCurrentUpDir(), ecvDisplayTools::GetCurrentViewDir(), cc2DLabel::getLabelInfo3(), cloudViewer::DgmOctree::getPointsInBoxNeighbourhood(), ecvViewportParameters::getUpDir(), ecvViewportParameters::getViewDir(), qM3C2Tools::GuessBestParams(), StereogramWidget::init(), ccGLMatrixTpl< float >::initFromParameters(), ccMesh::interpolateNormals(), ObjFilter::loadFile(), VTKFilter::loadFile(), LoadScan(), qM3C2Normals::MakeNormalsHorizontal(), QVTKWidgetCustom::mouseMoveEvent(), ccMesh::NormalizeNormals(), ccPointCloud::NormalizeNormals(), MainWindow::onItemPicked(), ccPlaneEditDlg::onNormalChanged(), ccPointCloud::orientNormalsTowardViewPoint(), ccPointCloud::orientNormalsWithGrids(), ccOctree::pointPicking(), cc2DLabel::pointPicking(), cloudViewer::Neighbourhood::projectPointsOn2DPlane(), Ray< T >::Ray(), ecvDisplayTools::RotateBaseViewMat(), ccBoundingBoxEditorDlg::saveBoxAndAccept(), MascaretFilter::saveToFile(), VTKFilter::saveToFile(), ecvDisplayTools::SetView(), ccPointCloud::triangulateGrid(), ccPointCloud::unroll(), ccLineation::updateMetadata(), and ccThickness::updateMetadata().

◆ normd()

◆ operator Vector3Tpl< double >()

template<typename Type >
Vector3Tpl< Type >::operator Vector3Tpl< double > ( ) const
inline

Cast operator to a double vector (no loss of precision, can be done silently)

◆ operator&&() [1/2]

template<typename Type >
Type Vector3Tpl< Type >::operator&& ( const Eigen::Matrix< double, 3, 1 > &  v) const
inline

Dot product operator.

◆ operator&&() [2/2]

template<typename Type >
Type Vector3Tpl< Type >::operator&& ( const Vector3Tpl< Type > &  v) const
inline

Dot product operator.

◆ operator()() [1/2]

template<typename Type >
Type& Vector3Tpl< Type >::operator() ( unsigned  i)
inline

Direct coordinate access.

◆ operator()() [2/2]

template<typename Type >
const Type& Vector3Tpl< Type >::operator() ( unsigned  i) const
inline

Direct coordinate access (const)

◆ operator*() [1/3]

template<typename Type >
Vector3Tpl Vector3Tpl< Type >::operator* ( const Eigen::Matrix< double, 3, 1 > &  v) const
inline

Cross product operator.

◆ operator*() [2/3]

template<typename Type >
Vector3Tpl Vector3Tpl< Type >::operator* ( const Vector3Tpl< Type > &  v) const
inline

Cross product operator.

◆ operator*() [3/3]

template<typename Type >
Vector3Tpl Vector3Tpl< Type >::operator* ( Type  s) const
inline

Multiplication operator.

◆ operator*=() [1/2]

template<typename Type >
Vector3Tpl& Vector3Tpl< Type >::operator*= ( const Eigen::Matrix< double, 3, 1 > &  v)
inline

In-place product operator.

◆ operator*=() [2/2]

template<typename Type >
Vector3Tpl& Vector3Tpl< Type >::operator*= ( Type  v)
inline

In-place multiplication (by a scalar) operator.

◆ operator+() [1/2]

template<typename Type >
Vector3Tpl Vector3Tpl< Type >::operator+ ( const Eigen::Matrix< double, 3, 1 > &  v) const
inline

Addition operator.

◆ operator+() [2/2]

template<typename Type >
Vector3Tpl Vector3Tpl< Type >::operator+ ( const Vector3Tpl< Type > &  v) const
inline

Addition operator.

◆ operator+=() [1/2]

template<typename Type >
Vector3Tpl& Vector3Tpl< Type >::operator+= ( const Eigen::Matrix< double, 3, 1 > &  v)
inline

In-place addition operator.

◆ operator+=() [2/2]

template<typename Type >
Vector3Tpl& Vector3Tpl< Type >::operator+= ( const Vector3Tpl< Type > &  v)
inline

In-place addition operator.

◆ operator-() [1/3]

template<typename Type >
Vector3Tpl Vector3Tpl< Type >::operator- ( ) const
inline

Inverse operator.

◆ operator-() [2/3]

template<typename Type >
Vector3Tpl Vector3Tpl< Type >::operator- ( const Eigen::Matrix< double, 3, 1 > &  v) const
inline

Subtraction operator.

◆ operator-() [3/3]

template<typename Type >
Vector3Tpl Vector3Tpl< Type >::operator- ( const Vector3Tpl< Type > &  v) const
inline

Subtraction operator.

◆ operator-=() [1/2]

template<typename Type >
Vector3Tpl& Vector3Tpl< Type >::operator-= ( const Eigen::Matrix< double, 3, 1 > &  v)
inline

In-place subtraction operator.

◆ operator-=() [2/2]

template<typename Type >
Vector3Tpl& Vector3Tpl< Type >::operator-= ( const Vector3Tpl< Type > &  v)
inline

In-place subtraction operator.

◆ operator/()

template<typename Type >
Vector3Tpl Vector3Tpl< Type >::operator/ ( Type  s) const
inline

Division operator.

◆ operator/=()

template<typename Type >
Vector3Tpl& Vector3Tpl< Type >::operator/= ( Type  v)
inline

In-place division (by a scalar) operator.

◆ operator=() [1/2]

template<typename Type >
Vector3Tpl& Vector3Tpl< Type >::operator= ( const Eigen::Matrix< double, 3, 1 > &  v)
inline

Assignment Function.

◆ operator=() [2/2]

template<typename Type >
Vector3Tpl& Vector3Tpl< Type >::operator= ( const Eigen::Matrix< float, 3, 1 > &  v)
inline

◆ operator[]() [1/2]

template<typename Type >
Type& Vector3Tpl< Type >::operator[] ( unsigned  i)
inline

Direct coordinate access.

◆ operator[]() [2/2]

template<typename Type >
const Type& Vector3Tpl< Type >::operator[] ( unsigned  i) const
inline

Direct coordinate access (const)

◆ orthogonal()

template<typename Type >
Vector3Tpl Vector3Tpl< Type >::orthogonal ( ) const
inline

◆ prod()

template<typename Type >
Type Vector3Tpl< Type >::prod ( ) const
inline

◆ toDouble()

◆ toFloat()

template<typename Type >
Vector3Tpl<float> Vector3Tpl< Type >::toFloat ( ) const
inline

Cast operator to a float vector (potential loss of precision, should be called explicitely)

◆ toPC()

template<typename Type >
Vector3Tpl<PointCoordinateType> Vector3Tpl< Type >::toPC ( ) const
inline

Cast operator to the default vector type (potential loss of precision, should be called explicitely)

Referenced by cloudViewer::PointProjectionTools::Transformation::apply(), ccMesh::interpolateNormals(), and ccShiftedObject::toLocal3pc().

◆ vadd()

template<typename Type >
static void Vector3Tpl< Type >::vadd ( const Type  p[],
const Type  q[],
Type  r[] 
)
inlinestatic

◆ vangle_rad()

template<typename Type >
static Type Vector3Tpl< Type >::vangle_rad ( const Type  p[],
const Type  q[] 
)
inlinestatic

◆ vangle_radd()

template<typename Type >
static double Vector3Tpl< Type >::vangle_radd ( const Type  p[],
const Type  q[] 
)
inlinestatic

◆ vcombination() [1/2]

template<typename Type >
static void Vector3Tpl< Type >::vcombination ( const Type  p[],
Type  b,
const Type  q[],
Type  r[] 
)
inlinestatic

◆ vcombination() [2/2]

template<typename Type >
static void Vector3Tpl< Type >::vcombination ( Type  a,
const Type  p[],
Type  b,
const Type  q[],
Type  r[] 
)
inlinestatic

◆ vcopy()

template<typename Type >
static void Vector3Tpl< Type >::vcopy ( const Type  p[],
Type  q[] 
)
inlinestatic

◆ vcross()

template<typename Type >
static void Vector3Tpl< Type >::vcross ( const Type  p[],
const Type  q[],
Type  r[] 
)
inlinestatic

◆ vdistance()

template<typename Type >
static Type Vector3Tpl< Type >::vdistance ( const Type  p[],
const Type  q[] 
)
inlinestatic

◆ vdistance2()

template<typename Type >
static Type Vector3Tpl< Type >::vdistance2 ( const Type  p[],
const Type  q[] 
)
inlinestatic

◆ vdistance2d()

template<typename Type >
static double Vector3Tpl< Type >::vdistance2d ( const Type  p[],
const Type  q[] 
)
inlinestatic

◆ vdistanced()

template<typename Type >
static double Vector3Tpl< Type >::vdistanced ( const Type  p[],
const Type  q[] 
)
inlinestatic

◆ vdivide() [1/2]

template<typename Type >
static void Vector3Tpl< Type >::vdivide ( const Type  p[],
Type  s,
Type  r[] 
)
inlinestatic

◆ vdivide() [2/2]

template<typename Type >
static void Vector3Tpl< Type >::vdivide ( Type  p[],
Type  s 
)
inlinestatic

◆ vdot()

template<typename Type >
static Type Vector3Tpl< Type >::vdot ( const Type  p[],
const Type  q[] 
)
inlinestatic

◆ vdotd()

template<typename Type >
static double Vector3Tpl< Type >::vdotd ( const Type  p[],
const Type  q[] 
)
inlinestatic

◆ vmultiply() [1/2]

template<typename Type >
static void Vector3Tpl< Type >::vmultiply ( const Type  p[],
Type  s,
Type  r[] 
)
inlinestatic

◆ vmultiply() [2/2]

template<typename Type >
static void Vector3Tpl< Type >::vmultiply ( Type  p[],
Type  s 
)
inlinestatic

◆ vnorm()

template<typename Type >
static Type Vector3Tpl< Type >::vnorm ( const Type  p[])
inlinestatic

◆ vnorm2()

template<typename Type >
static Type Vector3Tpl< Type >::vnorm2 ( const Type  p[])
inlinestatic

◆ vnorm2d()

template<typename Type >
static double Vector3Tpl< Type >::vnorm2d ( const Type  p[])
inlinestatic

◆ vnormalize()

template<typename Type >
static void Vector3Tpl< Type >::vnormalize ( Type  p[])
inlinestatic

◆ vnormd()

template<typename Type >
static double Vector3Tpl< Type >::vnormd ( const Type  p[])
inlinestatic

◆ vorthogonal()

template<typename Type >
static void Vector3Tpl< Type >::vorthogonal ( const Type  p[],
Type  q[] 
)
inlinestatic

◆ vset() [1/2]

template<typename Type >
static void Vector3Tpl< Type >::vset ( Type  p[],
Type  s 
)
inlinestatic

◆ vset() [2/2]

template<typename Type >
static void Vector3Tpl< Type >::vset ( Type  p[],
Type  x,
Type  y,
Type  z 
)
inlinestatic

◆ vsubstract()

template<typename Type >
static void Vector3Tpl< Type >::vsubstract ( const Type  p[],
const Type  q[],
Type  r[] 
)
inlinestatic

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