VCG Library
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
vcg::tri::CoM< MeshType >::Param Class Reference

Parameter class controlling the behavior of CoM algorithms. More...

#include <curve_on_manifold.h>

Public Member Functions

 Param (MeshType &m)
 Constructor with default parameter initialization based on mesh size.
 
void SetDefault (MeshType &m)
 Set all parameters to reasonable defaults based on the mesh bounding box.
 
void Dump () const
 Print current parameter values to stdout.
 

Public Attributes

ScalarType surfDistThr
 Max distance between surface and curve; used in simplify and refine.
 
ScalarType minRefEdgeLen
 Minimal admitted edge length (used in refine: never make edges shorter than this)
 
ScalarType maxSimpEdgeLen
 Maximal admitted edge length (used in simplify: never make edges longer than this)
 
ScalarType maxSmoothDelta
 The maximum movement admitted during smoothing (currently unused)
 
ScalarType maxSnapThr
 The maximum distance allowed when snapping a polyline vertex onto a mesh vertex (currently unused)
 
ScalarType gridBailout
 The maximum distance bailout used in grid-based spatial queries.
 
ScalarType barycentricSnapThr
 Threshold for snapping barycentric coords to 0 or 1 (controls vertex/edge snapping)
 

Detailed Description

template<class MeshType>
class vcg::tri::CoM< MeshType >::Param

Parameter class controlling the behavior of CoM algorithms.

This class contains all the thresholds and tolerances used by the various curve-on-manifold operations. Default values are computed relative to the bounding box diagonal of the base mesh.


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