HE_Mesh
5.1.2
|
Public Member Functions | |
HEM_FaceExpand () | |
HEM_FaceExpand | setDistance (final double d) |
HEM_FaceExpand | setCutoff (final double f) |
HEM_FaceExpand | setDistance (final WB_ScalarParameter d) |
![]() | |
HEM_Modifier () | |
HE_Mesh | apply (final HE_Mesh mesh) |
HE_Mesh | apply (final HE_Selection selection) |
![]() | |
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) |
![]() | |
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 final WB_ProgressTracker | tracker = WB_ProgressTracker.instance() |
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°.
wblut.hemesh.HEM_FaceExpand.HEM_FaceExpand | ( | ) |
|
protected |
HEM_FaceExpand wblut.hemesh.HEM_FaceExpand.setCutoff | ( | final double | f | ) |
HEM_FaceExpand wblut.hemesh.HEM_FaceExpand.setDistance | ( | final double | d | ) |
d |
HEM_FaceExpand wblut.hemesh.HEM_FaceExpand.setDistance | ( | final WB_ScalarParameter | d | ) |
|
private |