![]() |
The concept LocalKernel describes the set of requirements to be fulfilled by any class used to instantiate the second template parameter of the class Monge_via_jet_fitting<DataKernel,LocalKernel,KernelConverters,SvdTraits>.
This concept provides the geometric primitives used for the computations in the class Monge_via_jet_fitting.
In the class Monge_via_jet_fitting the scalar type, LocalKernel::FT, must be the same as that of the SvdTraits concept : SvdTraits::FT.
The type LocalKernel::FT is a model of the FieldWithSqrt concept.
|
|
Only constructors (from 3 scalars and copy constructors) and access methods to coordinates x(), y(), z() are needed for the point and vector types.
MATRICES
LKMatrix::iterator : bidirectional iterator for accessing all components row-wise.
LKMatrix M(int n): creates an instance M of type LKMatrix of dimension initialized to the zero matrix.
Affine Transformations
The class Aff_transformation represents three-dimensional affine transformations.
Aff_transformation( const FT &m00, const FT &m01, const FT &m02, const FT &m03, const FT &m10, const FT &m11, const FT &m12, const FT &m13, const FT &m20, const FT &m21, const FT &m22, const FT &m23); introduces a general affine transformation; the matrix for i and j from 0 to 2 defines the scaling and rotational part of the transformation, while the vector contains the translational part.
Aff_transformation( const FT &m00, const FT &m01, const FT &m02, const FT &m10, const FT &m11, const FT &m12, const FT &m20, const FT &m21, const FT &m22); introduces a general affine transformation without translational part.
Aff_transformation_3 t.operator* ( s); composes two affine transformations.
Aff_transformation_3 t.inverse ( s); gives the inverse transformation.
Eigen Decomposition of a Symmetric Matrix
|
|