Skip to content

Class Argos::Face

ClassList > Argos > Face

Represents a polygonal face in a 3D mesh. More...

  • #include <Face.h>

Public Functions

Type Name
Face (const std::vector< int > & indices)
Construct a face from a list of vertex indices.
const std::vector< int > & getIndices () const
Get the const vertex index list.
std::vector< int > & getIndices ()
Get the mutable vertex index list.

Detailed Description

Stores the vertex indices that compose the face.

Public Functions Documentation

function Face

Construct a face from a list of vertex indices.

Argos::Face::Face (
    const std::vector< int > & indices
) 

Parameters:

  • indices Vertex indices (0-based) defining the face polygon.

function getIndices [1/2]

Get the const vertex index list.

const std::vector< int > & Argos::Face::getIndices () const

Returns:

Const reference to the vector of vertex indices.


function getIndices [2/2]

Get the mutable vertex index list.

std::vector< int > & Argos::Face::getIndices () 

Returns:

Mutable reference to the vector of vertex indices.



The documentation for this class was generated from the following file include/mesh/Face.h