$darkmode
VCG Library
Public Types | Public Member Functions | Static Public Member Functions | List of all members
vcg::edge::VertexRef< T > Class Template Reference

The references to the two vertexes of a edge. More...

#include <component.h>

Inheritance diagram for vcg::edge::VertexRef< T >:
vcg::edge::EVAdj< T >

Public Types

typedef T::VertexType::CoordType CoordType
 
typedef T::VertexType::ScalarType ScalarType
 

Public Member Functions

T::VertexType *& V (const int j)
 
T::VertexType *const & V (const int j) const
 
T::VertexType * cV (const int j) const
 
CoordType & P (const int j)
 Shortcuts to access points.
 
const CoordType & P (const int j) const
 
const CoordType & cP (const int j) const
 
T::VertexType *& V0 (const int j)
 
T::VertexType *& V1 (const int j)
 
const T::VertexType *const & V0 (const int j) const
 
const T::VertexType *const & V1 (const int j) const
 
const T::VertexType *const & cV0 (const int j) const
 
const T::VertexType *const & cV1 (const int j) const
 
CoordType & P0 (const int j)
 Shortcuts to access points.
 
CoordType & P1 (const int j)
 
const CoordType & P0 (const int j) const
 
const CoordType & P1 (const int j) const
 
const CoordType & cP0 (const int j) const
 
const CoordType & cP1 (const int j) const
 
template<class LeftF >
void ImportData (const LeftF &leftF)
 

Static Public Member Functions

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

Detailed Description

template<class T>
class vcg::edge::VertexRef< T >

The references to the two vertexes of a edge.

Stored as pointers to the VertexType

Member Function Documentation

◆ V0()

template<class T >
T::VertexType* & vcg::edge::VertexRef< T >::V0 ( const int  j)
inline

Return the pointer to the ((j+1)%3)-th vertex of the face.

Parameters
jIndex of the face vertex.

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