mirror of https://github.com/CGAL/cgal
WIP
This commit is contained in:
parent
d303009496
commit
41175cd505
|
|
@ -164,7 +164,8 @@ public:
|
|||
double maxVal = ( core_abs(val) + maxAbs / x.maxAbs) / xxx + DBL_MIN;
|
||||
return filteredFp(val, maxVal, 1 + core_max(ind, x.ind + 1));
|
||||
} else
|
||||
return filteredFp( std::nan(""), getDoubleInfty(), 1);
|
||||
//TODO: check that
|
||||
return filteredFp( std::strtod("NAN", (char**)NULL), getDoubleInfty(), 1);
|
||||
}
|
||||
/// square root
|
||||
filteredFp sqrt () const {
|
||||
|
|
|
|||
|
|
@ -799,7 +799,7 @@ public:
|
|||
{
|
||||
Property_map<T> pm;
|
||||
bool added = false;
|
||||
std::tie (pm, added) = m_base.template add<T> (name, t);
|
||||
boost::tie (pm, added) = m_base.template add<T> (name, t);
|
||||
return std::make_pair (pm, added);
|
||||
}
|
||||
|
||||
|
|
@ -820,7 +820,7 @@ public:
|
|||
{
|
||||
Property_map<T> pm;
|
||||
bool okay = false;
|
||||
std::tie (pm, okay) = m_base.template get<T>(name);
|
||||
boost::tie (pm, okay) = m_base.template get<T>(name);
|
||||
return std::make_pair (pm, okay);
|
||||
}
|
||||
|
||||
|
|
@ -864,7 +864,7 @@ public:
|
|||
std::pair<Vector_map, bool> add_normal_map (const Vector& default_value = CGAL::NULL_VECTOR)
|
||||
{
|
||||
bool out = false;
|
||||
std::tie (m_normals, out) = this->add_property_map<Vector> ("normal", default_value);
|
||||
boost::tie (m_normals, out) = this->add_property_map<Vector> ("normal", default_value);
|
||||
return std::make_pair (m_normals, out);
|
||||
}
|
||||
/*!
|
||||
|
|
|
|||
|
|
@ -555,7 +555,7 @@ protected:
|
|||
|
||||
public:
|
||||
template<typename P> // Point or Point_3
|
||||
typename boost::result_of<const Construct_point_3(const P&)>::type
|
||||
Point_3
|
||||
construct_point(const P& p) const
|
||||
{
|
||||
return geom_traits().construct_point_3_object()(p);
|
||||
|
|
|
|||
Loading…
Reference in New Issue