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

#include <deprecated_point.h>

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

List of all members.

Public Types

typedef Point4< S > PointType
typedef S ScalarType

Public Member Functions

 Point4 (const S a, const S b, const S c, const S d)
 xyzw constructor
Special members for 4D points.

 Point4 ()
 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
Point4 operator* (const S s) const
Point4operator*= (const S s)
Point4 operator+ (Point4 const &p) const
Point4operator+= (Point4 const &p)
Point4 operator- () const
Point4 operator- (Point4 const &p) const
Point4operator-= (Point4 const &p)
Point4 operator/ (const S s) const
Point4operator/= (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
PointType operator^ (PointType const &p) const
 Point4 (const S nv[4])
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::Point4< S >

Definition at line 704 of file deprecated_point.h.


Member Typedef Documentation

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

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

Definition at line 707 of file deprecated_point.h.

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

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

Definition at line 706 of file deprecated_point.h.


Constructor & Destructor Documentation

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

default

Definition at line 715 of file deprecated_point.h.

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

xyzw constructor

Definition at line 719 of file deprecated_point.h.

template<typename S >
vcg::ndim::Point4< S >::Point4 ( const S  nv[4]  )  [inline]

Definition at line 727 of file deprecated_point.h.


Member Function Documentation

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

Homogeneous normalization (division by W).

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

Definition at line 808 of file deprecated_point.h.

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

returns the biggest component

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

Definition at line 826 of file deprecated_point.h.

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

returns the index of the biggest component

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

Definition at line 832 of file deprecated_point.h.

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

returns the smallest component

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

Definition at line 829 of file deprecated_point.h.

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

returns the index of the smallest component

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

Definition at line 836 of file deprecated_point.h.

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

Euclidean norm, static version.

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

Definition at line 766 of file deprecated_point.h.

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

Euclidean norm.

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

Definition at line 763 of file deprecated_point.h.

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

Normalization (division by norm), static version.

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

Definition at line 804 of file deprecated_point.h.

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

Normalization (division by norm).

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

Definition at line 800 of file deprecated_point.h.

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

norm infinity: largest absolute value of compoenet

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

Definition at line 812 of file deprecated_point.h.

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

norm 1: sum of absolute values of components

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

Definition at line 816 of file deprecated_point.h.

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

Definition at line 781 of file deprecated_point.h.

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

Definition at line 819 of file deprecated_point.h.

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

Definition at line 775 of file deprecated_point.h.

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

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

Definition at line 736 of file deprecated_point.h.

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

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

Definition at line 757 of file deprecated_point.h.

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

Definition at line 730 of file deprecated_point.h.

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

Definition at line 751 of file deprecated_point.h.

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

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

Definition at line 748 of file deprecated_point.h.

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

Definition at line 733 of file deprecated_point.h.

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

Definition at line 754 of file deprecated_point.h.

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

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

Definition at line 744 of file deprecated_point.h.

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

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

Definition at line 760 of file deprecated_point.h.

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

Definition at line 784 of file deprecated_point.h.

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

Definition at line 792 of file deprecated_point.h.

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

Definition at line 778 of file deprecated_point.h.

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

Definition at line 788 of file deprecated_point.h.

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

Definition at line 796 of file deprecated_point.h.

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

Definition at line 739 of file deprecated_point.h.

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

Definition at line 840 of file deprecated_point.h.

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

Squared Euclidean norm, static version.

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

Definition at line 772 of file deprecated_point.h.

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

Squared Euclidean norm.

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

Definition at line 769 of file deprecated_point.h.

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

Definition at line 843 of file deprecated_point.h.

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

the sum of the components

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

Definition at line 823 of file deprecated_point.h.

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

Definition at line 724 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