$darkmode
VCG Library
Public Member Functions | Public Attributes | List of all members
vcg::tri::UpdateTopology< UpdateMeshType >::PEdge Class Reference

Auxiliary data structure for computing face face adjacency information. More...

#include <topology.h>

Public Member Functions

 PEdge (FacePointer pf, const int nz)
 
void Set (FacePointer pf, const int nz)
 
bool operator< (const PEdge &pe) const
 
bool operator== (const PEdge &pe) const
 
Point3< ScalarType > EdgeBarycentricToFaceBarycentric (ScalarType u) const
 

Public Attributes

VertexPointer v [2]
 
FacePointer f
 
int z
 
bool isBorder
 

Detailed Description

template<class UpdateMeshType>
class vcg::tri::UpdateTopology< UpdateMeshType >::PEdge

Auxiliary data structure for computing face face adjacency information.

It identifies and edge storing two vertex pointer and a face pointer where it belong.

Member Function Documentation

◆ EdgeBarycentricToFaceBarycentric()

template<class UpdateMeshType >
Point3<ScalarType> vcg::tri::UpdateTopology< UpdateMeshType >::PEdge::EdgeBarycentricToFaceBarycentric ( ScalarType  u) const
inline

Convert from edge barycentric coord to the face barycentric coord a point on the current edge. Face barycentric coordinates are relative to the edge face.


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