mirror of https://github.com/CGAL/cgal
Fixes
This commit is contained in:
parent
01cc9ec653
commit
91ea4909c2
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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 ;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue