This commit is contained in:
Andreas Fabri 2021-04-15 13:36:58 +01:00
parent 01cc9ec653
commit 91ea4909c2
3 changed files with 17 additions and 0 deletions

View File

@ -79,6 +79,7 @@ public:
typedef typename Transformation_base_3::Point_3 Point_3;
typedef typename Transformation_base_3::Vector_3 Vector_3;
typedef typename Transformation_base_3::Direction_3 Direction_3;
typedef typename Transformation_base_3::Plane_3 Plane_3;
typedef typename Transformation_base_3::
Aff_transformation_3 Aff_transformation_3;

View File

@ -34,6 +34,7 @@ public:
typedef typename Transformation_base_3::Point_3 Point_3;
typedef typename Transformation_base_3::Vector_3 Vector_3;
typedef typename Transformation_base_3::Direction_3 Direction_3;
typedef typename Transformation_base_3::Plane_3 Plane_3;
typedef typename Transformation_base_3::Aff_transformation_3
Aff_transformation_3;

View File

@ -90,6 +90,9 @@ public:
virtual bool
is_translation() const = 0;
virtual bool
is_scaling() const = 0;
};
template < class R_ >
@ -142,6 +145,9 @@ public:
virtual bool
is_translation() const;
virtual bool
is_scaling() const;
virtual RT
homogeneous(int i, int j) const ;
@ -224,6 +230,12 @@ public:
return false;
}
virtual bool
is_scaling() const
{
return false;
}
virtual RT
homogeneous(int i, int j) const
{ return (i==j) ? RT(1) : RT(0); }
@ -279,6 +291,9 @@ public:
virtual bool
is_translation() const;
virtual bool
is_scaling() const;
virtual RT
homogeneous(int i, int j) const ;