#include <deprecated_point.h>
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 | |
| |
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 |
Point3 | operator* (const S s) const |
Point3 & | operator*= (const S s) |
Point3 | operator+ (Point3 const &p) const |
Point3 & | operator+= (Point3 const &p) |
Point3 | operator- () const |
Point3 | operator- (Point3 const &p) const |
Point3 & | operator-= (Point3 const &p) |
Point3 | operator/ (const S s) const |
Point3 & | 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 |
Point3 (const S nv[3]) | |
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 543 of file deprecated_point.h.
typedef Point3<S> vcg::ndim::Point3< S >::PointType |
Reimplemented from vcg::ndim::Point< 3, S >.
Definition at line 546 of file deprecated_point.h.
typedef S vcg::ndim::Point3< S >::ScalarType |
Reimplemented from vcg::ndim::Point< 3, S >.
Definition at line 545 of file deprecated_point.h.
vcg::ndim::Point3< S >::Point3 | ( | ) | [inline] |
default
Definition at line 556 of file deprecated_point.h.
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.
vcg::ndim::Point3< S >::Point3 | ( | const S | nv[3] | ) | [inline] |
Definition at line 576 of file deprecated_point.h.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
bool vcg::ndim::Point3< S >::operator!= | ( | PointType const & | p | ) | const [inline] |
Definition at line 625 of file deprecated_point.h.
S vcg::ndim::Point3< S >::operator% | ( | PointType const & | p | ) | const [inline] |
Definition at line 666 of file deprecated_point.h.
S vcg::ndim::Point3< S >::operator* | ( | PointType const & | p | ) | const [inline] |
Definition at line 619 of file deprecated_point.h.
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.
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.
Point3 vcg::ndim::Point3< S >::operator+ | ( | Point3< S > const & | p | ) | const [inline] |
Definition at line 579 of file deprecated_point.h.
Point3& vcg::ndim::Point3< S >::operator+= | ( | Point3< S > const & | p | ) | [inline] |
Definition at line 595 of file deprecated_point.h.
Point3 vcg::ndim::Point3< S >::operator- | ( | ) | const [inline] |
Reimplemented from vcg::ndim::Point< 3, S >.
Definition at line 592 of file deprecated_point.h.
Point3 vcg::ndim::Point3< S >::operator- | ( | Point3< S > const & | p | ) | const [inline] |
Definition at line 582 of file deprecated_point.h.
Point3& vcg::ndim::Point3< S >::operator-= | ( | Point3< S > const & | p | ) | [inline] |
Definition at line 598 of file deprecated_point.h.
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.
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.
bool vcg::ndim::Point3< S >::operator< | ( | PointType const & | p | ) | const [inline] |
Definition at line 628 of file deprecated_point.h.
bool vcg::ndim::Point3< S >::operator<= | ( | PointType const & | p | ) | [inline] |
Definition at line 636 of file deprecated_point.h.
bool vcg::ndim::Point3< S >::operator== | ( | PointType const & | p | ) | const [inline] |
Definition at line 622 of file deprecated_point.h.
bool vcg::ndim::Point3< S >::operator> | ( | PointType const & | p | ) | const [inline] |
Definition at line 632 of file deprecated_point.h.
bool vcg::ndim::Point3< S >::operator>= | ( | PointType const & | p | ) | const [inline] |
Definition at line 640 of file deprecated_point.h.
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.
PointType& vcg::ndim::Point3< S >::Scale | ( | const PointType & | p | ) | [inline] |
Definition at line 685 of file deprecated_point.h.
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.
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.
S vcg::ndim::Point3< S >::StableDot | ( | const PointType & | p | ) | const [inline] |
Definition at line 688 of file deprecated_point.h.
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.
void vcg::ndim::Point3< S >::Zero | ( | ) | [inline] |
Definition at line 573 of file deprecated_point.h.