#include <opennurbs_mesh.h>
Public Member Functions | |
ON_MeshNgonAllocator () ON_NOEXCEPT | |
~ON_MeshNgonAllocator () | |
ON_MeshNgon * | AllocateNgon (unsigned int Vcount, unsigned int Fcount) |
ON_MeshNgon * | CopyNgon (const ON_MeshNgon *ngon) |
Returns a copy of ngon. More... | |
void | DeallocateAllNgons () |
Deallocate every n-gon managed by this allocator. More... | |
bool | DeallocateNgon (ON_MeshNgon *ngon) |
ON_MeshNgon * | ReallocateNgon (ON_MeshNgon *ngon, unsigned int Vcount, unsigned int Fcount) |
ON_MeshNgonAllocator::ON_MeshNgonAllocator | ( | ) |
ON_MeshNgonAllocator::~ON_MeshNgonAllocator | ( | ) |
ON_MeshNgon* ON_MeshNgonAllocator::AllocateNgon | ( | unsigned int | Vcount, |
unsigned int | Fcount | ||
) |
Vcount | [in] >= 3 |
Fcount | [in] >= 0 |
ON_MeshNgon* ON_MeshNgonAllocator::CopyNgon | ( | const ON_MeshNgon * | ngon | ) |
Returns a copy of ngon.
ngon | [in] |
void ON_MeshNgonAllocator::DeallocateAllNgons | ( | ) |
Deallocate every n-gon managed by this allocator.
bool ON_MeshNgonAllocator::DeallocateNgon | ( | ON_MeshNgon * | ngon | ) |
ngon | in] An ngon pointer value that was previously returned by this allocator's AllocateNgon() or CopyNgon() function. |
ON_MeshNgon* ON_MeshNgonAllocator::ReallocateNgon | ( | ON_MeshNgon * | ngon, |
unsigned int | Vcount, | ||
unsigned int | Fcount | ||
) |
Vcount | [in] >= 3 |
Fcount | [in] >= 0 |