class methods
An ofMeshFace is a face on one of the ofPrimitive instances. In the ofPrimitive a face consists of 3 points connected together, like in the following image:
You can get a vector of ofMeshFace instances from any ofPrimitive like so:
vector<ofMeshFace> triangles = box.getMesh().getUniqueFaces();
They're very handy for manipulating individual vertices or doing strange/fun things with intersection and boundary testing, among many many other things.
Documentation from code comments
An ofMeshFace_ is a face on one of the ofPrimitive instances. In the ofPrimitive a face consists of 3 points connected together.
You can get a vector of ofMeshFace_ instances from any ofPrimitive like so:
vector<ofMeshFace_> triangles = box.getMesh().getUniqueFaces();
They're very handy for manipulating individual vertices or doing strange/fun things with intersection and boundary testing, among many many other things.
this is always a triangle
Last updated 火曜日, 17 11月 2026 12:23:23 UTC - b1925be873d5fd7d2ddebc13697fe241520bf346

If you have any doubt about the usage of this module you can ask in the forum.
If you want to contribute better documentation or start documenting this section you can do so here
If you find anything wrong with this docs you can report any error by opening an issue