Easy3D 2.6.1
Loading...
Searching...
No Matches
SurfaceMeshSubdivision Class Reference

SurfaceMeshSubdivision implement several well-known subdivision algorithms. More...

#include <easy3d/algo/surface_mesh_subdivision.h>

Static Public Member Functions

static bool catmull_clark (SurfaceMesh *mesh)
 The Catmull-Clark subdivision.
 
static bool loop (SurfaceMesh *mesh)
 The Loop subdivision.
 
static bool sqrt3 (SurfaceMesh *mesh)
 The sqrt3 subdivision.
 

Detailed Description

SurfaceMeshSubdivision implement several well-known subdivision algorithms.

Member Function Documentation

◆ catmull_clark()

bool catmull_clark ( SurfaceMesh * mesh)
static

The Catmull-Clark subdivision.

Parameters
meshThe surface mesh to be subdivided.
Returns
True if the subdivision was successful, false otherwise.

◆ loop()

bool loop ( SurfaceMesh * mesh)
static

The Loop subdivision.

Parameters
meshThe surface mesh to be subdivided.
Returns
True if the subdivision was successful, false otherwise.
Examples
Tutorial_203_Viewer_wxWidgets/main.cpp.

◆ sqrt3()

bool sqrt3 ( SurfaceMesh * mesh)
static

The sqrt3 subdivision.

Parameters
meshThe surface mesh to be subdivided.
Returns
True if the subdivision was successful, false otherwise.

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