the constructor of the default traits takes the geometric traits as parameter

This commit is contained in:
Sébastien Loriot 2015-04-29 15:27:43 +02:00
parent 42a2bbaef2
commit dbf54bc4f4
1 changed files with 6 additions and 0 deletions

View File

@ -69,6 +69,12 @@ namespace CGAL {
typedef InputNormalMap Normal_map;
///
typedef CGAL::Search_traits_3<Gt> Search_traits;
///
Efficient_RANSAC_traits(const Gt& gt = Gt())
: m_gt(gt) {}
private:
Gt m_gt;
};
} } // end of namespace CGAL::Shape_detection_3