MATLAB Answers

How generate a patch object with tetramesh?

12 views (last 30 days)
I have a triangulation object and I'm trying to create a patch from it using tetramesh, but once I use tetramesh it gives me double instead of patch. How can I get a patch from triangulation that is meshed with tetrahydrons?
  3 Comments

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 3 Mar 2021
In R2020a and earlier:
Record the vector returned by tetramesh(), and call handle() on it. The result you get back will be a patch array.
In R2020b, the value returned is a patch array directly.

More Answers (0)

Products


Release

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!