Registry
ug4Bridge::promesh::Remeshing::Refinement Namespace Reference

Functions

void HangingNodeRefine (Mesh *mesh, bool anisotropic)
 Refines selected elements using hanging nodes. More...
 
void InsertCenter (Mesh *mesh)
 Inserts a central vertex in all selected elements. More...
 
void PlaneCut (Mesh *mesh, const Vec *plane_center, const Vec *plane_normal)
 Cuts selected edges along the given plane. More...
 
void Refine (Mesh *mesh)
 Refines selected elements and builds a regular closure. More...
 
void RefineSmooth (Mesh *mesh)
 Refines selected elements using piecewise smooth refinement. More...
 
void RefineWithSnapPoints (Mesh *mesh)
 Refines selected elements so that new edges are built between midpoints of selected edges and selected vertices, if possible. More...
 
void RefineWithSnapPointsOrtho (Mesh *mesh)
 Refines selected elements so that new edges are built between midpoints of selected edges and selected vertices, if possible. New vertices are placed so that their connecting edge to the snap point is orthogonal to their parent edge. More...
 
void RegularizingRefinement (Mesh *mesh, double aspect_ratio)
 Marks and refines elements with small aspect ratios, trying to improves said aspect ratios. More...
 

Function Documentation

◆ HangingNodeRefine()

void ug4Bridge::promesh::Remeshing::Refinement::HangingNodeRefine ( Mesh mesh,
bool  anisotropic 
)

Refines selected elements using hanging nodes.

Parameters
[in]mesh
[in]anisotropic

◆ InsertCenter()

void ug4Bridge::promesh::Remeshing::Refinement::InsertCenter ( Mesh mesh)

Inserts a central vertex in all selected elements.

Parameters
[in]mesh

◆ PlaneCut()

void ug4Bridge::promesh::Remeshing::Refinement::PlaneCut ( Mesh mesh,
const Vec *  plane_center,
const Vec *  plane_normal 
)

Cuts selected edges along the given plane.

Parameters
[in]mesh
[in]plane_center
[in]plane_normal

◆ Refine()

void ug4Bridge::promesh::Remeshing::Refinement::Refine ( Mesh mesh)

Refines selected elements and builds a regular closure.

Parameters
[in]mesh

◆ RefineSmooth()

void ug4Bridge::promesh::Remeshing::Refinement::RefineSmooth ( Mesh mesh)

Refines selected elements using piecewise smooth refinement.

Parameters
[in]mesh

◆ RefineWithSnapPoints()

void ug4Bridge::promesh::Remeshing::Refinement::RefineWithSnapPoints ( Mesh mesh)

Refines selected elements so that new edges are built between midpoints of selected edges and selected vertices, if possible.

Parameters
[in]mesh

◆ RefineWithSnapPointsOrtho()

void ug4Bridge::promesh::Remeshing::Refinement::RefineWithSnapPointsOrtho ( Mesh mesh)

Refines selected elements so that new edges are built between midpoints of selected edges and selected vertices, if possible. New vertices are placed so that their connecting edge to the snap point is orthogonal to their parent edge.

Parameters
[in]mesh

◆ RegularizingRefinement()

void ug4Bridge::promesh::Remeshing::Refinement::RegularizingRefinement ( Mesh mesh,
double  aspect_ratio 
)

Marks and refines elements with small aspect ratios, trying to improves said aspect ratios.

Parameters
[in]mesh
[in]aspect_ratio