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