C3D Toolkit  Kernel - 118069, Vision - 2.16.7.1844

Curvature and principal curvature direction data. More...

#include <m2b_mesh_curvature.h>

+ Collaboration diagram for MbCurvature:

Public Member Functions

 MbCurvature ()
 Default constructor.
 
 MbCurvature (const MbCurvature &that)
 Copy constructor.
 
MbCurvature & operator= (const MbCurvature &that)
 An assignment operator.
 
void Init (const MbCurvature &that)
 Copy function of data.
 
void Clear ()
 Clear data.
 
bool IsDefined () const
 Is curvature defined.
 
double CurvatureIndex () const
 Get curvature index.
 
double Curvedness () const
 Get curvedness.
 

Public Attributes

double k_h
 Mean curvature.
 
double k_g
 Gaussian curvature.
 
double k1
 Maximum principal curvature.
 
double k2
 Minimum principal curvature.
 
MbVector3D normal
 Normal (calculated by curvature operator).
 
MbVector3D meanNormal
 Normal (calculated as weighted mean of the normals of neighboring faces).
 
MbVector3D cdir1
 Maximum principal curvature direction.
 
MbVector3D cdir2
 Minimum principal curvature direction.
 

Detailed Description

Curvature and principal curvature direction data.

Structure for store curvature and principal curvature direction data calculated at the polygon vertex.


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