Opened 7 years ago

Closed 7 years ago

Last modified 7 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:

Description

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 by mkaravel, 7 years ago

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

The ticket has been addressed in GitHub PR 335: https://github.com/boostorg/geometry/pull/335

comment:2 by mkaravel, 7 years ago

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.