#include <quadric.h>
Public Types | |
typedef _ScalarType | 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 |
template<class ReturnScalarType > | |
bool | Minimum (Point3< ReturnScalarType > &x) |
bool | Minimum (Point3< ScalarType > &x, Point3< ScalarType > &pa, Point3< ScalarType > &pb) |
template<class ReturnScalarType > | |
bool | MinimumOld (Point3< ReturnScalarType > &x) |
void | operator*= (const ScalarType &w) |
void | operator+= (const Quadric &q) |
void | operator= (const Quadric &q) |
Quadric () | |
void | SetInvalid () |
void | SetZero () |
Static Public Member Functions | |
static double & | RelativeErrorThr () |
Public Attributes | |
ScalarType | a [6] |
ScalarType | b [3] |
ScalarType | c |
typedef _ScalarType vcg::math::Quadric< _ScalarType >::ScalarType |
vcg::math::Quadric< _ScalarType >::Quadric | ( | ) | [inline] |
ResultScalarType vcg::math::Quadric< _ScalarType >::Apply | ( | const Point3< ResultScalarType > & | p | ) | const [inline] |
void vcg::math::Quadric< _ScalarType >::ByLine | ( | const LineType & | r | ) | [inline] |
void vcg::math::Quadric< _ScalarType >::ByPlane | ( | const PlaneType & | p | ) | [inline] |
bool vcg::math::Quadric< _ScalarType >::Gauss33 | ( | FLTYPE | x[], |
FLTYPE | C[3][3+1] | ||
) | [inline] |
bool vcg::math::Quadric< _ScalarType >::IsValid | ( | ) | const [inline] |
bool vcg::math::Quadric< _ScalarType >::Minimum | ( | Point3< ReturnScalarType > & | x | ) | [inline] |
bool vcg::math::Quadric< _ScalarType >::Minimum | ( | Point3< ScalarType > & | x, |
Point3< ScalarType > & | pa, | ||
Point3< ScalarType > & | pb | ||
) | [inline] |
bool vcg::math::Quadric< _ScalarType >::MinimumOld | ( | Point3< ReturnScalarType > & | x | ) | [inline] |
void vcg::math::Quadric< _ScalarType >::operator*= | ( | const ScalarType & | w | ) | [inline] |
void vcg::math::Quadric< _ScalarType >::operator+= | ( | const Quadric< _ScalarType > & | q | ) | [inline] |
void vcg::math::Quadric< _ScalarType >::operator= | ( | const Quadric< _ScalarType > & | q | ) | [inline] |
static double& vcg::math::Quadric< _ScalarType >::RelativeErrorThr | ( | ) | [inline, static] |
void vcg::math::Quadric< _ScalarType >::SetInvalid | ( | ) | [inline] |
void vcg::math::Quadric< _ScalarType >::SetZero | ( | ) | [inline] |
ScalarType vcg::math::Quadric< _ScalarType >::a[6] |
ScalarType vcg::math::Quadric< _ScalarType >::b[3] |
ScalarType vcg::math::Quadric< _ScalarType >::c |