mirror of https://github.com/CGAL/cgal
use ATTENTION instead of WARNING in message to avoid confusing the testsuite
This commit is contained in:
parent
c436929fdb
commit
a7451e1e8c
|
|
@ -347,7 +347,7 @@ private:
|
||||||
boost::optional<OutputIterator> coordinates_on_unbounded_side_precise_2(const Point_2 &query_point, OutputIterator &output, bool warning_tag)
|
boost::optional<OutputIterator> coordinates_on_unbounded_side_precise_2(const Point_2 &query_point, OutputIterator &output, bool warning_tag)
|
||||||
{
|
{
|
||||||
if(warning_tag)
|
if(warning_tag)
|
||||||
std::cout << std::endl << "WARNING: Discrete harmonic coordinates might be not well-defined outside the polygon!" << std::endl;
|
std::cout << std::endl << "ATTENTION: Discrete harmonic coordinates might be not well-defined outside the polygon!" << std::endl;
|
||||||
|
|
||||||
// Use the same formulas as for the bounded side since they are also valid on the unbounded side.
|
// Use the same formulas as for the bounded side since they are also valid on the unbounded side.
|
||||||
return coordinates_on_bounded_side_precise_2(query_point, output);
|
return coordinates_on_bounded_side_precise_2(query_point, output);
|
||||||
|
|
@ -359,7 +359,7 @@ private:
|
||||||
boost::optional<OutputIterator> coordinates_on_unbounded_side_fast_2(const Point_2 &query_point, OutputIterator &output, bool warning_tag)
|
boost::optional<OutputIterator> coordinates_on_unbounded_side_fast_2(const Point_2 &query_point, OutputIterator &output, bool warning_tag)
|
||||||
{
|
{
|
||||||
if(warning_tag)
|
if(warning_tag)
|
||||||
std::cout << std::endl << "WARNING: Discrete harmonic coordinates might be not well-defined outside the polygon!" << std::endl;
|
std::cout << std::endl << "ATTENTION: Discrete harmonic coordinates might be not well-defined outside the polygon!" << std::endl;
|
||||||
|
|
||||||
// Use the same formulas as for the bounded side since they are also valid on the unbounded side.
|
// Use the same formulas as for the bounded side since they are also valid on the unbounded side.
|
||||||
return coordinates_on_bounded_side_fast_2(query_point, output);
|
return coordinates_on_bounded_side_fast_2(query_point, output);
|
||||||
|
|
|
||||||
|
|
@ -328,7 +328,7 @@ private:
|
||||||
boost::optional<OutputIterator> coordinates_on_unbounded_side_precise_2(const Point_2 &query_point, OutputIterator &output, bool warning_tag)
|
boost::optional<OutputIterator> coordinates_on_unbounded_side_precise_2(const Point_2 &query_point, OutputIterator &output, bool warning_tag)
|
||||||
{
|
{
|
||||||
if(warning_tag)
|
if(warning_tag)
|
||||||
std::cout << std::endl << "WARNING: Wachspress coordinates might be not well-defined outside the polygon!" << std::endl;
|
std::cout << std::endl << "ATTENTION: Wachspress coordinates might be not well-defined outside the polygon!" << std::endl;
|
||||||
|
|
||||||
// Use the same formulas as for the bounded side since they are also valid on the unbounded side.
|
// Use the same formulas as for the bounded side since they are also valid on the unbounded side.
|
||||||
return coordinates_on_bounded_side_precise_2(query_point, output);
|
return coordinates_on_bounded_side_precise_2(query_point, output);
|
||||||
|
|
@ -340,7 +340,7 @@ private:
|
||||||
boost::optional<OutputIterator> coordinates_on_unbounded_side_fast_2(const Point_2 &query_point, OutputIterator &output, bool warning_tag)
|
boost::optional<OutputIterator> coordinates_on_unbounded_side_fast_2(const Point_2 &query_point, OutputIterator &output, bool warning_tag)
|
||||||
{
|
{
|
||||||
if(warning_tag)
|
if(warning_tag)
|
||||||
std::cout << std::endl << "WARNING: Wachspress coordinates might be not well-defined outside the polygon!" << std::endl;
|
std::cout << std::endl << "ATTENTION: Wachspress coordinates might be not well-defined outside the polygon!" << std::endl;
|
||||||
|
|
||||||
// Use the same formulas as for the bounded side since they are also valid on the unbounded side.
|
// Use the same formulas as for the bounded side since they are also valid on the unbounded side.
|
||||||
return coordinates_on_bounded_side_fast_2(query_point, output);
|
return coordinates_on_bounded_side_fast_2(query_point, output);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue