Class for creating the mesh structure by adding facets. More...
#include <Builder.h>
Classes | |
struct | Private |
Public Types | |
typedef int | size_type |
Public Member Functions | |
void | AddFacet (const Base::Vector3f *facetPoints) |
Add new facet. More... | |
void | AddFacet (const MeshGeomFacet &facetPoints) |
Add new facet. More... | |
void | Finish () |
Finishes building up the mesh structure. More... | |
void | Initialize (size_type ctFacets) |
Initializes the class. More... | |
MeshFastBuilder (MeshKernel &rclM) | |
~MeshFastBuilder () | |
Class for creating the mesh structure by adding facets.
Building the structure needs 3 steps:
MeshFastBuilder::MeshFastBuilder | ( | MeshKernel & | rclM | ) |
MeshFastBuilder::~MeshFastBuilder | ( | ) |
void MeshFastBuilder::AddFacet | ( | const Base::Vector3f * | facetPoints | ) |
Add new facet.
References Base::Vector3< _Precision >::x, MeshCore::MeshFastBuilder::Private::Vertex::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
void MeshFastBuilder::AddFacet | ( | const MeshGeomFacet & | facetPoints | ) |
Add new facet.
References MeshCore::MeshFastBuilder::Private::Vertex::x.
void MeshFastBuilder::Finish | ( | ) |
Finishes building up the mesh structure.
Must be done after adding facets.
References MeshCore::parallel_sort().
void MeshFastBuilder::Initialize | ( | size_type | ctFacets | ) |
Initializes the class.
Must be done before adding facets
ctFacets | count of facets. |