Registry
ug4Bridge::promesh::CoordinateTransform Namespace Reference

Namespaces

 Move
 
 Pivot
 
 Rotate
 
 Scale
 
 Smoothing
 
 SubdivisionProjection
 

Functions

void ConeTransform (Mesh *mesh, const Vec *base, const Vec *axis, double scaleAtTip)
 Transforms the vertices with the given cone transformation. More...
 
void FlattenBentQuadrilaterals (Mesh *mesh, double step_size, int num_iterations)
 Flattens bent quadrilaterals using an iterative flattening scheme. More...
 
bool GetSelectionCenter (Mesh *mesh, Vec *centerOut)
 
void Mirror (Mesh *mesh, const Vec *axis, const Vec *origin)
 Mirrors the geometry at the given point along the given axis. More...
 
void ProjectToPlane (Mesh *mesh, const Vec *plane_point, const Vec *plane_normal)
 Projects all selected elements to the specified plane. More...
 
void SnapVerticesToVertices (Mesh *mesh, Mesh *targetMesh)
 Snaps the selected vertices of the specified mesh to the selected vertices of the target mesh. More...
 

Function Documentation

◆ ConeTransform()

void ug4Bridge::promesh::CoordinateTransform::ConeTransform ( Mesh mesh,
const Vec *  base,
const Vec *  axis,
double  scaleAtTip 
)

Transforms the vertices with the given cone transformation.

Parameters
[in]mesh
[in]base
[in]axis
[in]scaleAtTip

◆ FlattenBentQuadrilaterals()

void ug4Bridge::promesh::CoordinateTransform::FlattenBentQuadrilaterals ( Mesh mesh,
double  step_size,
int  num_iterations 
)

Flattens bent quadrilaterals using an iterative flattening scheme.

Parameters
[in]mesh
[in]step_size
[in]num_iterations

◆ GetSelectionCenter()

bool ug4Bridge::promesh::CoordinateTransform::GetSelectionCenter ( Mesh mesh,
Vec *  centerOut 
)
Parameters
[in]mesh
[in]centerOut

◆ Mirror()

void ug4Bridge::promesh::CoordinateTransform::Mirror ( Mesh mesh,
const Vec *  axis,
const Vec *  origin 
)

Mirrors the geometry at the given point along the given axis.

Parameters
[in]mesh
[in]axis
[in]origin

◆ ProjectToPlane()

void ug4Bridge::promesh::CoordinateTransform::ProjectToPlane ( Mesh mesh,
const Vec *  plane_point,
const Vec *  plane_normal 
)

Projects all selected elements to the specified plane.

Parameters
[in]mesh
[in]plane_point
[in]plane_normal

◆ SnapVerticesToVertices()

void ug4Bridge::promesh::CoordinateTransform::SnapVerticesToVertices ( Mesh mesh,
Mesh targetMesh 
)

Snaps the selected vertices of the specified mesh to the selected vertices of the target mesh.

Parameters
[in]mesh
[in]targetMesh