|
SFCGAL 2.3.0
|
Result type for closure check. More...
#include <isClosed.h>
Public Member Functions | |
| Closure () | |
| Default constructor (closed). | |
| Closure (bool closed, std::string reason="") | |
| Constructor with status and reason. | |
| operator bool () const | |
| Check if geometry is closed. | |
| auto | reason () const -> const std::string & |
| Get the reason why geometry is not closed. | |
Static Public Member Functions | |
| static auto | closed () -> Closure |
| Create a closed result. | |
| static auto | open (const std::string &reason) -> Closure |
| Create an open result with reason. | |
Result type for closure check.
|
inline |
Default constructor (closed).
|
inline |
|
inlinestatic |
Create a closed result.
|
inlinestatic |
Create an open result with reason.
| reason | A string describing why the Geometry is open. |
|
inline |
Check if geometry is closed.
|
inlinenodiscard |
Get the reason why geometry is not closed.