eltopo3d/surftrack.cpp
// --------------------------------------------------------
///
/// One pass: split long edges, flip non-delaunay edges, collapse short edges, null-space smoothing
///
// --------------------------------------------------------
One pass: split long edges, flip non-delaunay edges, collapse short edges, null-space smoothing
One pass : split long edges flip non - delaunay edges collapse short edges null - space smoothing
void SurfTrack::improve_mesh( )
{     
    if ( m_perform_improvement )
    {
        m_splitter.process_mesh();
        m_flipper.process_mesh();		
        m_collapser.process_mesh();
        if ( m_allow_vertex_movement )
        {
            m_smoother.process_mesh();
        }
        if ( m_collision_safety )
        {
            m_collision_pipeline.assert_mesh_is_intersection_free( false );
        }      
    }
}
void SurfTrack :: improve_mesh ( ) { if ( m_perform_improvement ) { m_splitter . process_mesh ( ) ; m_flipper . process_mesh ( ) ; m_collapser . process_mesh ( ) ; if ( m_allow_vertex_movement ) { m_smoother . process_mesh ( ) ; } if ( m_collision_safety ) { m_collision_pipeline . assert_mesh_is_intersection_free ( false ) ; } } }
One pass: split long edges, flip non-delaunay edges, collapse short edges, null-space smoothing
One pass : split long edges flip non - delaunay edges collapse short edges null - space smoothing
// edge splitting // edge flipping // edge collapsing // null-space smoothing