$darkmode
VCG Library
Public Types | Public Member Functions | Static Public Member Functions | List of all members
vcg::vertex::Coord< A, T > Class Template Reference

Generic Component: Geometric Position of the vertex Templated on the coordinate class. In practice you use one of the two specialized class Coord3f and Coord3d You can access to the coordinate of a vertex by mean of the P(),cP() member functions. More...

#include <component.h>

Inheritance diagram for vcg::vertex::Coord< A, T >:

Public Types

typedef A CoordType
 
typedef A::ScalarType ScalarType
 

Public Member Functions

const CoordType & P () const
 Return a const reference to the coordinate of the vertex.
 
CoordType & P ()
 Return a reference to the coordinate of the vertex.
 
const CoordType & cP () const
 Return a const reference to the coordinate of the vertex.
 
template<class RightValueType >
void ImportData (const RightValueType &rVert)
 

Static Public Member Functions

static bool HasCoord ()
 
static void Name (std::vector< std::string > &name)
 

Detailed Description

template<class A, class T>
class vcg::vertex::Coord< A, T >

Generic Component: Geometric Position of the vertex Templated on the coordinate class. In practice you use one of the two specialized class Coord3f and Coord3d You can access to the coordinate of a vertex by mean of the P(),cP() member functions.


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