MeshCore::MeshRemoveNeedles Class Reference

The MeshRemoveNeedles class tries to fix degenerations by removing needles. More...

#include <Degeneration.h>

Public Member Functions

bool Fixup ()
 Removes all facets with an edge smaller than fMinEdgeLength without leaving holes or gaps in the mesh. More...
 
 MeshRemoveNeedles (MeshKernel &rclM, float fMinEdgeLen=0.05f)
 Construction. More...
 
 ~MeshRemoveNeedles ()
 Destruction. More...
 
- Public Member Functions inherited from MeshCore::MeshValidation
virtual bool Fixup ()=0
 This function attempts to change the mesh kernel to be valid according to the checked criterion: True is returned if the errors could be fixed, false otherwise. More...
 
 MeshValidation (MeshKernel &rclB)
 
virtual ~MeshValidation ()
 

Detailed Description

The MeshRemoveNeedles class tries to fix degenerations by removing needles.

Needles are triangles where its longest edge is much longer than its shortest edge. https://graphics.uni-bielefeld.de/publications/vmv01.pdf

See also
MeshFixDegeneratedFacets
MeshFixCaps
Author
Werner Mayer

Constructor & Destructor Documentation

◆ MeshRemoveNeedles()

MeshCore::MeshRemoveNeedles::MeshRemoveNeedles ( MeshKernel rclM,
float  fMinEdgeLen = 0.05f 
)

Construction.

The

  • fMinEdgeLen must be in the range of 0.0 and 0.25. It defines the amount of perimeter of a triangle for which the shortest edge is considered for removal.

◆ ~MeshRemoveNeedles()

MeshCore::MeshRemoveNeedles::~MeshRemoveNeedles ( )

Destruction.

Member Function Documentation

◆ Fixup()


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