xmsmesh
1.0
|
Class to convert 2D grid of triangles to quads. More...
Public Member Functions | |
MeQuadBlossom () | |
Constructor. | |
virtual | ~MeQuadBlossom () |
Destructor. | |
Static Public Member Functions | |
static BSHP< MeQuadBlossom > | New (BSHP< XmUGrid > a_ugrid) |
Create new MeQuadBlossom. More... | |
static double | EstimatedRunTimeInMinutes (int a_numPoints) |
Get the estimated time to run the Quad Blossom algorithm in minutes. More... | |
static BSHP< XmUGrid > | SplitToQuads (BSHP< XmUGrid > a_ugrid) |
Splits UGrid with 2D cells into quads by adding midpoints for each edge and creating a quad by attaching adjacent midsides to the centroid. More... | |
Class to convert 2D grid of triangles to quads.
Definition at line 34 of file MeQuadBlossom.h.
|
static |
Get the estimated time to run the Quad Blossom algorithm in minutes.
[in] | a_numPoints | The number of mesh points. |
Definition at line 949 of file MeQuadBlossom.cpp.
Referenced by TutMeshingIntermediateTests::test_Example_QuadBlossom_BadQuadRemover(), and MeQuadBlossomUnitTests::testEstimatedRunTime().
|
static |
Create new MeQuadBlossom.
[in] | a_ugrid | The UGrid to be converted from triangles to quads. |
Definition at line 925 of file MeQuadBlossom.cpp.
Referenced by TutMeshingIntermediateTests::test_Example_QuadBlossom_BadQuadRemover().
Splits UGrid with 2D cells into quads by adding midpoints for each edge and creating a quad by attaching adjacent midsides to the centroid.
[in] | a_ugrid | The input UGrid that contains only 2D cells. |
centroidIdx -------— midside | | midsideLast ---------— currentIdx
Definition at line 960 of file MeQuadBlossom.cpp.
References gmComputeCentroid(), and xms::XmUGrid::New().
Referenced by MeQuadBlossomUnitTests::testSplitToQuads().