#include <deprecated_point.h>
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 | |
| |
PointType & | HomoNormalize () |
Homogeneous normalization (division by W). | |
S | Max () const |
returns the biggest component | |
int | MaxI () const |
returns the index of the biggest component | |
S | Min () const |
returns the smallest component | |
int | MinI () const |
returns the index of the smallest component | |
S | Norm () const |
Euclidean norm. | |
template<class PT > | |
PointType & | Normalize (const PT &p) |
Normalization (division by norm), static version. | |
PointType & | Normalize () |
Normalization (division by norm). | |
S | NormInfinity () const |
norm infinity: largest absolute value of compoenet | |
S | NormOne () const |
norm 1: sum of absolute values of components | |
bool | operator!= (PointType const &p) const |
S | operator% (PointType const &p) const |
S | operator* (PointType const &p) const |
Point4 | operator* (const S s) const |
Point4 & | operator*= (const S s) |
Point4 | operator+ (Point4 const &p) const |
Point4 & | operator+= (Point4 const &p) |
Point4 | operator- () const |
Point4 | operator- (Point4 const &p) const |
Point4 & | operator-= (Point4 const &p) |
Point4 | operator/ (const S s) const |
Point4 & | operator/= (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]) | |
PointType & | Scale (const PointType &p) |
S | SquaredNorm () const |
Squared Euclidean norm. | |
S | StableDot (const PointType &p) const |
S | 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. |
Definition at line 704 of file deprecated_point.h.
typedef Point4<S> vcg::ndim::Point4< S >::PointType |
Reimplemented from vcg::ndim::Point< 4, S >.
Definition at line 707 of file deprecated_point.h.
typedef S vcg::ndim::Point4< S >::ScalarType |
Reimplemented from vcg::ndim::Point< 4, S >.
Definition at line 706 of file deprecated_point.h.
vcg::ndim::Point4< S >::Point4 | ( | ) | [inline] |
default
Definition at line 715 of file deprecated_point.h.
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.
vcg::ndim::Point4< S >::Point4 | ( | const S | nv[4] | ) | [inline] |
Definition at line 727 of file deprecated_point.h.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
bool vcg::ndim::Point4< S >::operator!= | ( | PointType const & | p | ) | const [inline] |
Definition at line 781 of file deprecated_point.h.
S vcg::ndim::Point4< S >::operator% | ( | PointType const & | p | ) | const [inline] |
Definition at line 819 of file deprecated_point.h.
S vcg::ndim::Point4< S >::operator* | ( | PointType const & | p | ) | const [inline] |
Definition at line 775 of file deprecated_point.h.
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.
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.
Point4 vcg::ndim::Point4< S >::operator+ | ( | Point4< S > const & | p | ) | const [inline] |
Definition at line 730 of file deprecated_point.h.
Point4& vcg::ndim::Point4< S >::operator+= | ( | Point4< S > const & | p | ) | [inline] |
Definition at line 751 of file deprecated_point.h.
Point4 vcg::ndim::Point4< S >::operator- | ( | ) | const [inline] |
Reimplemented from vcg::ndim::Point< 4, S >.
Definition at line 748 of file deprecated_point.h.
Point4 vcg::ndim::Point4< S >::operator- | ( | Point4< S > const & | p | ) | const [inline] |
Definition at line 733 of file deprecated_point.h.
Point4& vcg::ndim::Point4< S >::operator-= | ( | Point4< S > const & | p | ) | [inline] |
Definition at line 754 of file deprecated_point.h.
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.
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.
bool vcg::ndim::Point4< S >::operator< | ( | PointType const & | p | ) | const [inline] |
Definition at line 784 of file deprecated_point.h.
bool vcg::ndim::Point4< S >::operator<= | ( | PointType const & | p | ) | [inline] |
Definition at line 792 of file deprecated_point.h.
bool vcg::ndim::Point4< S >::operator== | ( | PointType const & | p | ) | const [inline] |
Definition at line 778 of file deprecated_point.h.
bool vcg::ndim::Point4< S >::operator> | ( | PointType const & | p | ) | const [inline] |
Definition at line 788 of file deprecated_point.h.
bool vcg::ndim::Point4< S >::operator>= | ( | PointType const & | p | ) | const [inline] |
Definition at line 796 of file deprecated_point.h.
PointType vcg::ndim::Point4< S >::operator^ | ( | PointType const & | p | ) | const [inline] |
Definition at line 739 of file deprecated_point.h.
PointType& vcg::ndim::Point4< S >::Scale | ( | const PointType & | p | ) | [inline] |
Definition at line 840 of file deprecated_point.h.
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.
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.
S vcg::ndim::Point4< S >::StableDot | ( | const PointType & | p | ) | const [inline] |
Definition at line 843 of file deprecated_point.h.
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.
void vcg::ndim::Point4< S >::Zero | ( | ) | [inline] |
Definition at line 724 of file deprecated_point.h.