Port to Linux/g++

This commit is contained in:
Laurent Saboret 2009-04-03 17:51:59 +00:00
parent cb2644dab9
commit f6ddd6ae06
3 changed files with 60 additions and 57 deletions

3
.gitignore vendored
View File

@ -627,7 +627,10 @@ Surface_mesher/test/Surface_mesher/my_makefile
Surface_mesher/test/Surface_mesher/test_c2t3_iterators
Surface_mesher/test/Surface_mesher/test_canonical_edge
Surface_mesher/test/Surface_mesher/test_robust_circumcenter
Surface_reconstruction_points_3/demo/Surface_reconstruction_points_3/Point_set_demo/*.kdev*
Surface_reconstruction_points_3/demo/Surface_reconstruction_points_3/Point_set_demo/*.vcproj
Surface_reconstruction_points_3/demo/Surface_reconstruction_points_3/Point_set_demo/Makefile
Surface_reconstruction_points_3/demo/Surface_reconstruction_points_3/Point_set_demo/Point_set_demo
Surface_reconstruction_points_3/demo/Surface_reconstruction_points_3/Point_set_demo/Point_set_demo.sln
Surface_reconstruction_points_3/demo/Surface_reconstruction_points_3/poisson/*.off
Surface_reconstruction_points_3/demo/Surface_reconstruction_points_3/poisson/ALL_BUILD.vcproj

View File

@ -55,8 +55,8 @@ public:
// Repeat base class' types
/// @cond SKIP_IN_MANUAL
using Base::iterator;
using Base::const_iterator;
typedef typename Base::iterator iterator;
typedef typename Base::const_iterator const_iterator;
/// @endcond
// Classic CGAL geometric types
@ -76,8 +76,8 @@ public:
typedef typename UI_point::Normal Normal; ///< Model of OrientableNormal_3 concept.
// Iterator over Point_3 points
typedef std::deque<UI_point>::iterator Point_iterator;
typedef std::deque<UI_point>::const_iterator Point_const_iterator;
typedef typename std::deque<UI_point>::iterator Point_iterator;
typedef typename std::deque<UI_point>::const_iterator Point_const_iterator;
// Iterator over normals
typedef CGAL::Iterator_project<iterator,

View File

@ -78,32 +78,32 @@ public:
m_is_selected = false;
}
template <class K, class N>
UI_point_3(const Point_with_normal_3<K,N>& pwn)
UI_point_3(const CGAL::Point_with_normal_3<K,N>& pwn)
: Base(pwn)
{
m_is_selected = false;
}
/// Copy constructor
UI_point_3(const UI_point_3& gpt)
: Base(gpt)
UI_point_3(const UI_point_3& upt)
: Base(upt)
{
m_is_selected = gpt.m_is_selected;
m_original_normal = gpt.m_original_normal;
m_is_selected = upt.m_is_selected;
m_original_normal = upt.m_original_normal;
}
template<class K>
UI_point_3(const UI_point_3<K>& gpt)
: Base(gpt)
UI_point_3(const UI_point_3<K>& upt)
: Base(upt)
{
m_is_selected = gpt.is_selected();
m_original_normal = gpt.m_original_normal;
m_is_selected = upt.is_selected();
m_original_normal = upt.m_original_normal;
}
/// Operator =()
UI_point_3& operator=(const UI_point_3& gpt)
UI_point_3& operator=(const UI_point_3& upt)
{
Base::operator=(gpt);
m_is_selected = gpt.m_is_selected;
m_original_normal = gpt.m_original_normal;
Base::operator=(upt);
m_is_selected = upt.m_is_selected;
m_original_normal = upt.m_original_normal;
return *this;
}