VCG Library
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>

Inherits T.

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.
 
CoordType cP () const
 Return a const reference to the coordinate of the vertex.
 

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.

Definition at line 173 of file vertex/component.h.

Member Function Documentation

template<class A, class T>
CoordType vcg::vertex::Coord< A, T >::cP ( ) const
inline

Return a const reference to the coordinate of the vertex.

Definition at line 182 of file vertex/component.h.

template<class A, class T>
const CoordType& vcg::vertex::Coord< A, T >::P ( ) const
inline

Return a const reference to the coordinate of the vertex.

Definition at line 178 of file vertex/component.h.

template<class A, class T>
CoordType& vcg::vertex::Coord< A, T >::P ( )
inline

Return a reference to the coordinate of the vertex.

Definition at line 180 of file vertex/component.h.


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