#include <quadric.h>
Public Types | |
typedef Scalar | ScalarType |
Public Member Functions | |
template<class ResultScalarType > | |
ResultScalarType | Apply (const Point3< ResultScalarType > &p) const |
template<class LineType > | |
void | ByLine (const LineType &r) |
template<class PlaneType > | |
void | ByPlane (const PlaneType &p) |
template<class FLTYPE > | |
bool | Gauss33 (FLTYPE x[], FLTYPE C[3][3+1]) |
bool | IsValid () const |
bool | Minimum (Point3< ScalarType > &x, Point3< ScalarType > &pa, Point3< ScalarType > &pb) |
template<class ReturnScalarType > | |
bool | Minimum (Point3< ReturnScalarType > &x) |
bool | MinimumNew (Point3< ScalarType > &x) const |
template<class ReturnScalarType > | |
bool | MinimumSVD (Point3< ReturnScalarType > &x) |
void | operator*= (const ScalarType &w) |
void | operator+= (const Quadric &q) |
void | operator= (const Quadric &q) |
Quadric () | |
void | SetInvalid () |
void | SetZero () |
Public Attributes | |
ScalarType | a [6] |
ScalarType | b [3] |
ScalarType | c |
Definition at line 59 of file quadric.h.
typedef Scalar vcg::math::Quadric< Scalar >::ScalarType |
vcg::math::Quadric< Scalar >::Quadric | ( | ) | [inline] |
ResultScalarType vcg::math::Quadric< Scalar >::Apply | ( | const Point3< ResultScalarType > & | p | ) | const [inline] |
void vcg::math::Quadric< Scalar >::ByLine | ( | const LineType & | r | ) | [inline] |
void vcg::math::Quadric< Scalar >::ByPlane | ( | const PlaneType & | p | ) | [inline] |
bool vcg::math::Quadric< Scalar >::Gauss33 | ( | FLTYPE | x[], | |
FLTYPE | C[3][3+1] | |||
) | [inline] |
bool vcg::math::Quadric< Scalar >::IsValid | ( | ) | const [inline] |
bool vcg::math::Quadric< Scalar >::Minimum | ( | Point3< ScalarType > & | x, | |
Point3< ScalarType > & | pa, | |||
Point3< ScalarType > & | pb | |||
) | [inline] |
bool vcg::math::Quadric< Scalar >::Minimum | ( | Point3< ReturnScalarType > & | x | ) | [inline] |
bool vcg::math::Quadric< Scalar >::MinimumNew | ( | Point3< ScalarType > & | x | ) | const [inline] |
bool vcg::math::Quadric< Scalar >::MinimumSVD | ( | Point3< ReturnScalarType > & | x | ) | [inline] |
void vcg::math::Quadric< Scalar >::operator*= | ( | const ScalarType & | w | ) | [inline] |
void vcg::math::Quadric< Scalar >::operator+= | ( | const Quadric< Scalar > & | q | ) | [inline] |
void vcg::math::Quadric< Scalar >::operator= | ( | const Quadric< Scalar > & | q | ) | [inline] |
void vcg::math::Quadric< Scalar >::SetInvalid | ( | ) | [inline] |
void vcg::math::Quadric< Scalar >::SetZero | ( | ) | [inline] |
ScalarType vcg::math::Quadric< Scalar >::a[6] |
ScalarType vcg::math::Quadric< Scalar >::b[3] |
ScalarType vcg::math::Quadric< Scalar >::c |