libmove3d  3.13.0
Public Member Functions | Friends
gpRidge Class Reference

#include <gpConvexHull.h>

List of all members.

Public Member Functions

 gpRidge ()
 Default gpRidge constructor (dimension= 2, size= 2)
 gpRidge (unsigned int dimension, unsigned int vertex_number)
unsigned int operator[] (const unsigned int i) const
unsigned int & operator[] (const unsigned int i)
unsigned int nbVertices ()
unsigned int id ()
unsigned int toporient ()

Friends

class gpConvexHull

Detailed Description

Class to store a ridge of a face.


Constructor & Destructor Documentation

gpRidge::gpRidge ( unsigned int  dimension,
unsigned int  vertex_number 
)
Parameters:
dimensiondesired dimension of the vertex space
vertex_numberdesired number of vertices of the ridge

Member Function Documentation

unsigned int gpRidge::operator[] ( const unsigned int  i) const

Operator to access the vertex array of the ridge.

Parameters:
iindex in the vertex array of the ridge (starts from 0)
Returns:
the i-th element of the vertex index array of the ridge
unsigned int & gpRidge::operator[] ( const unsigned int  i)

Operator to access the vertex array of the ridge.

Parameters:
iindex in the vertex array of the ridge (starts from 0)
Returns:
a reference to the i-th element of the vertex index array of the ridge

The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines