Castor3D  ..
Classes | Public Member Functions | List of all members
Castor3D::Face Class Reference

Face implementation. More...

Classes

class  BinaryParser
 MovableObject loader. More...
 
class  TextLoader
 Face loader. More...
 

Public Member Functions

C3D_API Face (uint32_t a, uint32_t b, uint32_t c)
 Specified constructor. More...
 
C3D_API Face (Face const &p_object)
 Copy constructor. More...
 
C3D_API Face (Face &&p_object)
 Move constructor. More...
 
C3D_API Faceoperator= (Face const &p_object)
 Copy assignment operator. More...
 
C3D_API Faceoperator= (Face &&p_object)
 Move assignment operator. More...
 
C3D_API ~Face ()
 Destructor. More...
 
uint32_t operator[] (uint32_t p_index) const
 Retrieves the vertex index. More...
 

Detailed Description

Face implementation.

Author
Sylvain DOREMUS
Version
0.6.1.0
Date
19/10/2011
Remarks
A face is constituted from 3 vertices

Constructor & Destructor Documentation

◆ Face() [1/3]

C3D_API Castor3D::Face::Face ( uint32_t  a,
uint32_t  b,
uint32_t  c 
)

Specified constructor.

Parameters
[in]a,b,cThe three vertices indices

◆ Face() [2/3]

C3D_API Castor3D::Face::Face ( Face const &  p_object)

Copy constructor.

Parameters
[in]p_objectThe object to copy

◆ Face() [3/3]

C3D_API Castor3D::Face::Face ( Face &&  p_object)

Move constructor.

Parameters
[in]p_objectThe object to move

◆ ~Face()

C3D_API Castor3D::Face::~Face ( )

Destructor.

Member Function Documentation

◆ operator=() [1/2]

C3D_API Face& Castor3D::Face::operator= ( Face const &  p_object)

Copy assignment operator.

Parameters
[in]p_objectThe object to copy
Returns
A reference to this object

◆ operator=() [2/2]

C3D_API Face& Castor3D::Face::operator= ( Face &&  p_object)

Move assignment operator.

Parameters
[in]p_objectThe object to move
Returns
A reference to this object

◆ operator[]()

uint32_t Castor3D::Face::operator[] ( uint32_t  p_index) const
inline

Retrieves the vertex index.

Parameters
[in]p_indexThe index of the concerned vertex
Returns
The vertex index

The documentation for this class was generated from the following file: