ofMeshFace
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
calculateFaceNormal( )
void calculateFaceNormal()getColor( ... )
const C & getColor(ofIndexType index)getFaceNormal( )
const N & getFaceNormal()getNormal( ... )
const N & getNormal(ofIndexType index)getTexCoord( ... )
const T & getTexCoord(ofIndexType index)getVertex( ... )
const V & getVertex(ofIndexType index)hasColors( )
bool hasColors()hasNormals( )
bool hasNormals()hasTexcoords( )
bool hasTexcoords()ofMeshFace_( )
ofMeshFace_()setColor( ... )
void setColor(ofIndexType index, const C &color)setHasColors( ... )
void setHasColors(bool bColors)setHasNormals( ... )
void setHasNormals(bool bNormals)setHasTexcoords( ... )
void setHasTexcoords(bool bTexcoords)setNormal( ... )
void setNormal(ofIndexType index, const N &n)setTexCoord( ... )
void setTexCoord(ofIndexType index, const T &tCoord)setVertex( ... )
void setVertex(ofIndexType index, const V &v)