vcg::math::Quadric< Scalar > Class Template Reference

#include <quadric.h>

List of all members.

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

Detailed Description

template<typename Scalar>
class vcg::math::Quadric< Scalar >

Definition at line 59 of file quadric.h.


Member Typedef Documentation

template<typename Scalar>
typedef Scalar vcg::math::Quadric< Scalar >::ScalarType

Definition at line 62 of file quadric.h.


Constructor & Destructor Documentation

template<typename Scalar>
vcg::math::Quadric< Scalar >::Quadric (  )  [inline]

Definition at line 67 of file quadric.h.


Member Function Documentation

template<typename Scalar>
template<class ResultScalarType >
ResultScalarType vcg::math::Quadric< Scalar >::Apply ( const Point3< ResultScalarType > &  p  )  const [inline]

Definition at line 160 of file quadric.h.

template<typename Scalar>
template<class LineType >
void vcg::math::Quadric< Scalar >::ByLine ( const LineType &  r  )  [inline]

Definition at line 96 of file quadric.h.

template<typename Scalar>
template<class PlaneType >
void vcg::math::Quadric< Scalar >::ByPlane ( const PlaneType &  p  )  [inline]

Definition at line 77 of file quadric.h.

template<typename Scalar>
template<class FLTYPE >
bool vcg::math::Quadric< Scalar >::Gauss33 ( FLTYPE  x[],
FLTYPE  C[3][3+1] 
) [inline]

Definition at line 186 of file quadric.h.

template<typename Scalar>
bool vcg::math::Quadric< Scalar >::IsValid (  )  const [inline]

Definition at line 73 of file quadric.h.

template<typename Scalar>
bool vcg::math::Quadric< Scalar >::Minimum ( Point3< ScalarType > &  x,
Point3< ScalarType > &  pa,
Point3< ScalarType > &  pb 
) [inline]

Definition at line 301 of file quadric.h.

template<typename Scalar>
template<class ReturnScalarType >
bool vcg::math::Quadric< Scalar >::Minimum ( Point3< ReturnScalarType > &  x  )  [inline]

Definition at line 249 of file quadric.h.

template<typename Scalar>
bool vcg::math::Quadric< Scalar >::MinimumNew ( Point3< ScalarType > &  x  )  const [inline]

Definition at line 281 of file quadric.h.

template<typename Scalar>
template<class ReturnScalarType >
bool vcg::math::Quadric< Scalar >::MinimumSVD ( Point3< ReturnScalarType > &  x  )  [inline]

Definition at line 265 of file quadric.h.

template<typename Scalar>
void vcg::math::Quadric< Scalar >::operator*= ( const ScalarType w  )  [inline]

Definition at line 347 of file quadric.h.

template<typename Scalar>
void vcg::math::Quadric< Scalar >::operator+= ( const Quadric< Scalar > &  q  )  [inline]

Definition at line 142 of file quadric.h.

template<typename Scalar>
void vcg::math::Quadric< Scalar >::operator= ( const Quadric< Scalar > &  q  )  [inline]

Definition at line 125 of file quadric.h.

template<typename Scalar>
void vcg::math::Quadric< Scalar >::SetInvalid (  )  [inline]

Definition at line 74 of file quadric.h.

template<typename Scalar>
void vcg::math::Quadric< Scalar >::SetZero (  )  [inline]

Definition at line 111 of file quadric.h.


Member Data Documentation

template<typename Scalar>
ScalarType vcg::math::Quadric< Scalar >::a[6]

Definition at line 63 of file quadric.h.

template<typename Scalar>
ScalarType vcg::math::Quadric< Scalar >::b[3]

Definition at line 64 of file quadric.h.

template<typename Scalar>
ScalarType vcg::math::Quadric< Scalar >::c

Definition at line 65 of file quadric.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:25 2013