Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#11711 closed Bugs (fixed)

is_simple and is_valid - Points that are NaN or Infinity

Reported by: flippmoke@… Owned by: Barend Gehrels
Milestone: Boost 1.60.0 Component: geometry
Version: Boost 1.58.0 Severity: Problem
Keywords: Cc:


A point that has a value in it that is NaN or Infinity is still considered valid and simple by is_simple and is_valid. It would seem to me that this would be neither simple or valid.

Change History (2)

comment:1 Changed 3 years ago by mkaravel

Milestone: To Be DeterminedBoost 1.60.0
Resolution: fixed
Status: newclosed

The ticket has been addressed in GitHub? PR 335:

comment:2 Changed 3 years ago by mkaravel

The GitHub? PR does not really address is_simple, but rather only is_valid. As for any Boost.Geometry algorithm (except is_valid and correct) the input is assumed to be valid. In that sense addressing the reported bug for is_simple is somehow irrelevant.

Note: See TracTickets for help on using tickets.