There’s also std::optional<vtkVector3d>
as a return type. Then C++ also gets to see the invalid state. Needs some wrapper work to understand though.
1 Like
There’s also std::optional<vtkVector3d>
as a return type. Then C++ also gets to see the invalid state. Needs some wrapper work to understand though.