vcg::ndim::Point3< S > Class Template Reference
[Space]

#include <deprecated_point.h>

Inheritance diagram for vcg::ndim::Point3< S >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef Point3< S > PointType
typedef S ScalarType

Public Member Functions

Special members for 3D points.

PointType operator^ (PointType const &p) const
 Cross product for 3D points.
 Point3 (const S a, const S b, const S c)
 yxz constructor
 Point3 ()
 default

Implementation of standard functions for 3D points



PointTypeHomoNormalize ()
 Homogeneous normalization (division by W).
Max () const
 returns the biggest component
int MaxI () const
 returns the index of the biggest component
Min () const
 returns the smallest component
int MinI () const
 returns the index of the smallest component
Norm () const
 Euclidean norm.
template<class PT >
PointTypeNormalize (const PT &p)
 Normalization (division by norm), static version.
PointTypeNormalize ()
 Normalization (division by norm).
NormInfinity () const
 norm infinity: largest absolute value of compoenet
NormOne () const
 norm 1: sum of absolute values of components
bool operator!= (PointType const &p) const
operator% (PointType const &p) const
operator* (PointType const &p) const
Point3 operator* (const S s) const
Point3operator*= (const S s)
Point3 operator+ (Point3 const &p) const
Point3operator+= (Point3 const &p)
Point3 operator- () const
Point3 operator- (Point3 const &p) const
Point3operator-= (Point3 const &p)
Point3 operator/ (const S s) const
Point3operator/= (const S s)
bool operator< (PointType const &p) const
bool operator<= (PointType const &p)
bool operator== (PointType const &p) const
bool operator> (PointType const &p) const
bool operator>= (PointType const &p) const
 Point3 (const S nv[3])
PointTypeScale (const PointType &p)
SquaredNorm () const
 Squared Euclidean norm.
StableDot (const PointType &p) const
Sum () const
 the sum of the components
void Zero ()
template<class PT >
static S Norm (const PT &p)
 Euclidean norm, static version.
template<class PT >
static S SquaredNorm (const PT &p)
 Squared Euclidean norm, static version.

Detailed Description

template<typename S>
class vcg::ndim::Point3< S >

Definition at line 543 of file deprecated_point.h.


Member Typedef Documentation

template<typename S>
typedef Point3<S> vcg::ndim::Point3< S >::PointType

Reimplemented from vcg::ndim::Point< 3, S >.

Definition at line 546 of file deprecated_point.h.

template<typename S>
typedef S vcg::ndim::Point3< S >::ScalarType

Reimplemented from vcg::ndim::Point< 3, S >.

Definition at line 545 of file deprecated_point.h.


Constructor & Destructor Documentation

template<typename S>
vcg::ndim::Point3< S >::Point3 (  )  [inline]

default

Definition at line 556 of file deprecated_point.h.

template<typename S>
vcg::ndim::Point3< S >::Point3 ( const S  a,
const S  b,
const S  c 
) [inline]

yxz constructor

Definition at line 558 of file deprecated_point.h.

template<typename S>
vcg::ndim::Point3< S >::Point3 ( const S  nv[3]  )  [inline]

Definition at line 576 of file deprecated_point.h.


Member Function Documentation

template<typename S>
PointType& vcg::ndim::Point3< S >::HomoNormalize (  )  [inline]

Homogeneous normalization (division by W).

Reimplemented from vcg::ndim::Point< 3, S >.

Definition at line 655 of file deprecated_point.h.

template<typename S>
S vcg::ndim::Point3< S >::Max (  )  const [inline]

returns the biggest component

Reimplemented from vcg::ndim::Point< 3, S >.

Definition at line 673 of file deprecated_point.h.

template<typename S>
int vcg::ndim::Point3< S >::MaxI (  )  const [inline]

returns the index of the biggest component

Reimplemented from vcg::ndim::Point< 3, S >.

Definition at line 679 of file deprecated_point.h.

template<typename S>
S vcg::ndim::Point3< S >::Min (  )  const [inline]

returns the smallest component

Reimplemented from vcg::ndim::Point< 3, S >.

Definition at line 676 of file deprecated_point.h.

template<typename S>
int vcg::ndim::Point3< S >::MinI (  )  const [inline]

returns the index of the smallest component

Reimplemented from vcg::ndim::Point< 3, S >.

Definition at line 682 of file deprecated_point.h.

template<typename S>
template<class PT >
static S vcg::ndim::Point3< S >::Norm ( const PT &  p  )  [inline, static]

Euclidean norm, static version.

Reimplemented from vcg::ndim::Point< 3, S >.

Definition at line 610 of file deprecated_point.h.

template<typename S>
S vcg::ndim::Point3< S >::Norm (  )  const [inline]

Euclidean norm.

Reimplemented from vcg::ndim::Point< 3, S >.

Definition at line 607 of file deprecated_point.h.

template<typename S>
template<class PT >
PointType& vcg::ndim::Point3< S >::Normalize ( const PT &  p  )  [inline]

Normalization (division by norm), static version.

Reimplemented from vcg::ndim::Point< 3, S >.

Definition at line 651 of file deprecated_point.h.

template<typename S>
PointType& vcg::ndim::Point3< S >::Normalize (  )  [inline]

Normalization (division by norm).

Reimplemented from vcg::ndim::Point< 3, S >.

Definition at line 644 of file deprecated_point.h.

template<typename S>
S vcg::ndim::Point3< S >::NormInfinity (  )  const [inline]

norm infinity: largest absolute value of compoenet

Reimplemented from vcg::ndim::Point< 3, S >.

Definition at line 659 of file deprecated_point.h.

template<typename S>
S vcg::ndim::Point3< S >::NormOne (  )  const [inline]

norm 1: sum of absolute values of components

Reimplemented from vcg::ndim::Point< 3, S >.

Definition at line 663 of file deprecated_point.h.

template<typename S>
bool vcg::ndim::Point3< S >::operator!= ( PointType const &  p  )  const [inline]

Definition at line 625 of file deprecated_point.h.

template<typename S>
S vcg::ndim::Point3< S >::operator% ( PointType const &  p  )  const [inline]

Definition at line 666 of file deprecated_point.h.

template<typename S>
S vcg::ndim::Point3< S >::operator* ( PointType const &  p  )  const [inline]

Definition at line 619 of file deprecated_point.h.

template<typename S>
Point3 vcg::ndim::Point3< S >::operator* ( const S  s  )  const [inline]

Reimplemented from vcg::ndim::Point< 3, S >.

Definition at line 585 of file deprecated_point.h.

template<typename S>
Point3& vcg::ndim::Point3< S >::operator*= ( const S  s  )  [inline]

Reimplemented from vcg::ndim::Point< 3, S >.

Definition at line 601 of file deprecated_point.h.

template<typename S>
Point3 vcg::ndim::Point3< S >::operator+ ( Point3< S > const &  p  )  const [inline]

Definition at line 579 of file deprecated_point.h.

template<typename S>
Point3& vcg::ndim::Point3< S >::operator+= ( Point3< S > const &  p  )  [inline]

Definition at line 595 of file deprecated_point.h.

template<typename S>
Point3 vcg::ndim::Point3< S >::operator- (  )  const [inline]

Reimplemented from vcg::ndim::Point< 3, S >.

Definition at line 592 of file deprecated_point.h.

template<typename S>
Point3 vcg::ndim::Point3< S >::operator- ( Point3< S > const &  p  )  const [inline]

Definition at line 582 of file deprecated_point.h.

template<typename S>
Point3& vcg::ndim::Point3< S >::operator-= ( Point3< S > const &  p  )  [inline]

Definition at line 598 of file deprecated_point.h.

template<typename S>
Point3 vcg::ndim::Point3< S >::operator/ ( const S  s  )  const [inline]

Reimplemented from vcg::ndim::Point< 3, S >.

Definition at line 588 of file deprecated_point.h.

template<typename S>
Point3& vcg::ndim::Point3< S >::operator/= ( const S  s  )  [inline]

Reimplemented from vcg::ndim::Point< 3, S >.

Definition at line 604 of file deprecated_point.h.

template<typename S>
bool vcg::ndim::Point3< S >::operator< ( PointType const &  p  )  const [inline]

Definition at line 628 of file deprecated_point.h.

template<typename S>
bool vcg::ndim::Point3< S >::operator<= ( PointType const &  p  )  [inline]

Definition at line 636 of file deprecated_point.h.

template<typename S>
bool vcg::ndim::Point3< S >::operator== ( PointType const &  p  )  const [inline]

Definition at line 622 of file deprecated_point.h.

template<typename S>
bool vcg::ndim::Point3< S >::operator> ( PointType const &  p  )  const [inline]

Definition at line 632 of file deprecated_point.h.

template<typename S>
bool vcg::ndim::Point3< S >::operator>= ( PointType const &  p  )  const [inline]

Definition at line 640 of file deprecated_point.h.

template<typename S>
PointType vcg::ndim::Point3< S >::operator^ ( PointType const &  p  )  const [inline]

Cross product for 3D points.

Definition at line 562 of file deprecated_point.h.

template<typename S>
PointType& vcg::ndim::Point3< S >::Scale ( const PointType p  )  [inline]

Definition at line 685 of file deprecated_point.h.

template<typename S>
template<class PT >
static S vcg::ndim::Point3< S >::SquaredNorm ( const PT &  p  )  [inline, static]

Squared Euclidean norm, static version.

Reimplemented from vcg::ndim::Point< 3, S >.

Definition at line 616 of file deprecated_point.h.

template<typename S>
S vcg::ndim::Point3< S >::SquaredNorm (  )  const [inline]

Squared Euclidean norm.

Reimplemented from vcg::ndim::Point< 3, S >.

Definition at line 613 of file deprecated_point.h.

template<typename S>
S vcg::ndim::Point3< S >::StableDot ( const PointType p  )  const [inline]

Definition at line 688 of file deprecated_point.h.

template<typename S>
S vcg::ndim::Point3< S >::Sum (  )  const [inline]

the sum of the components

Reimplemented from vcg::ndim::Point< 3, S >.

Definition at line 670 of file deprecated_point.h.

template<typename S>
void vcg::ndim::Point3< S >::Zero (  )  [inline]

Definition at line 573 of file deprecated_point.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


vcglib
Author(s): Christian Bersch
autogenerated on Fri Jan 11 09:23:26 2013