Skip to content

how to use convertMeshTriPointsToClosedContour? #4073

Answered by Fedr
Gihong-Yim asked this question in Q&A
Discussion options

You must be logged in to vote

The function convertMeshTriPointsToClosedContour returns Expected<OneMeshContour> type, which has 3 main methods has_value(), value(), error():

  • has_value() returns true on function's success and false otherwise,
  • value() can be called only if has_value()==true,
  • if has_value()==false, please call error() method, which will return you a string with the description of what went wrong.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Fedr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants