HE_Mesh  5.1.2
wblut.hemesh.HEM_FaceExpand Class Reference
+ Inheritance diagram for wblut.hemesh.HEM_FaceExpand:

Public Member Functions

 HEM_FaceExpand ()
 
HEM_FaceExpand setDistance (final double d)
 
HEM_FaceExpand setCutoff (final double f)
 
HEM_FaceExpand setDistance (final WB_ScalarParameter d)
 
- Public Member Functions inherited from wblut.hemesh.HEM_Modifier
 HEM_Modifier ()
 
HE_Mesh apply (final HE_Mesh mesh)
 
HE_Mesh apply (final HE_Selection selection)
 
- Public Member Functions inherited from wblut.hemesh.HE_Machine
abstract HE_Mesh apply (HE_Mesh mesh)
 
abstract HE_Mesh apply (HE_Selection selection)
 

Protected Member Functions

HE_Mesh applyInt (final HE_Mesh mesh)
 
HE_Mesh applyInt (final HE_Selection selection)
 
- Protected Member Functions inherited from wblut.hemesh.HEM_Modifier
abstract HE_Mesh applyInt (final HE_Mesh mesh)
 
abstract HE_Mesh applyInt (final HE_Selection selection)
 

Private Attributes

WB_ScalarParameter d
 

Additional Inherited Members

- Static Public Attributes inherited from wblut.hemesh.HE_Machine
static final WB_ProgressTracker tracker = WB_ProgressTracker.instance()
 

Detailed Description

Tries to expand a mesh by moving all faces a distance along their normal. No vertices are added. The new position of a vertex is found by displacing all the planes in its star and searching for their intersection. If the planes intersect in a single point,this point is used. Otherwise a least-square approximation of their intersection is used , i.e. the point that minimizes the combined squared distance to the planes. If the least-square approximation fails, the vertex is displaced along the vertex normal instead. A cutoff factor can be specified to limit the movement of the vertices. If a vertex would move more than cutoff*distance, it is displaced along the vertex normal instead. If not specified, the cutoff factor defaults to 4.0, corresponding to the displacement expected in an acute angle of 30°.

Constructor & Destructor Documentation

wblut.hemesh.HEM_FaceExpand.HEM_FaceExpand ( )

Member Function Documentation

HE_Mesh wblut.hemesh.HEM_FaceExpand.applyInt ( final HE_Mesh  mesh)
protected
HE_Mesh wblut.hemesh.HEM_FaceExpand.applyInt ( final HE_Selection  selection)
protected
HEM_FaceExpand wblut.hemesh.HEM_FaceExpand.setCutoff ( final double  f)
HEM_FaceExpand wblut.hemesh.HEM_FaceExpand.setDistance ( final double  d)
Parameters
d
Returns
HEM_FaceExpand wblut.hemesh.HEM_FaceExpand.setDistance ( final WB_ScalarParameter  d)

Member Data Documentation

WB_ScalarParameter wblut.hemesh.HEM_FaceExpand.d
private

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