26 #include "HomgPoint2D.hh"
27 #include <Base/Math/Matrix3x3.hh>
53 register const HOMGPOINT2D_TYPE w = data_[2];
55 if (fabs(w)>HOMGPOINT2D_TYPE_EPS){
60 J[0][0] = J[1][1] = 1.0/w;
61 HOMGPOINT2D_TYPE w2 = w*w;
62 J[0][2] = -data_[1]/w2;
63 J[1][2] = -data_[2]/w2;
68 J[0][0] = J[1][1] = 1.0;
class HomgPoint2D describes a point with 2 degrees of freedom in projective coordinates.
HomgPoint2D & Homogenize()
homogenize class data member elements to W==1 by divison by W
is a 'fixed size' quadratic matrix of dim.
std::ostream & operator<<(std::ostream &os, const Array2D< T > &arg)
Matrix3x3< T > Transpose() const
returns transposed matrix tested 12.06.2002