Extends the MNMeshUtilities class, adding new functionality applied on a MNMesh.
Usage:
IMNMeshUtilities10* l_mesh10 = static_cast<IMNMeshUtilities10*>(mesh.GetInterface( IMNMESHUTILITIES10_INTERFACE_ID ));
See IMNMeshUtilities8 for details on using this interface.
#include <mnmesh.h>
Public Member Functions |
|
Interface_ID | GetID () |
virtual bool | ChamferEdges (const DWORD in_flag, MNChamferData10 &in_mcd, const bool in_open, const int in_segments)=0 |
Chamfers mesh edges like
MNMesh::ChamferEdges. |
|
virtual bool | ConstrainDeltaToNormals (Tab< Point3 > *deltaIn, Tab< Point3 > *deltaOut)=0 |
Constrains the positional offsets given for
each vertex so that they are limited to travel along each
corresponding vertex normal. |
Interface_ID GetID | ( | ) | [inline, virtual] |
Reimplemented from BaseInterface.
{ return IMNMESHUTILITIES10_INTERFACE_ID; }
virtual bool ChamferEdges | ( | const DWORD | in_flag, |
MNChamferData10 & | in_mcd, | ||
const bool | in_open, | ||
const int | in_segments | ||
) | [pure virtual] |
Chamfers mesh edges like MNMesh::ChamferEdges.
[in] | in_flag | the edge flag used. See MNEdge for a description of flag values. |
[in] | in_mcd | the chamfer data. |
[in] | in_open | If true, the newly created faces are removed, creating a hole between chamfered edges. |
[in] | in_segments | The number of new edges to create per selected edge. If in_segments < 1, then behave as though in_segments = 1. |
virtual bool ConstrainDeltaToNormals | ( | Tab< Point3 > * | deltaIn, |
Tab< Point3 > * | deltaOut | ||
) | [pure virtual] |
Constrains the positional offsets given for each vertex so that they are limited to travel along each corresponding vertex normal.
[in] | deltaIn | A tab of positional changes for each vertex in the mesh. If the count of deltaIn is different than the number of vertices in the mesh, the function will return false. |
[out] | deltaOut | A tab of the resulting positional changes for each vertex in the mesh after the incoming changes in deltaIn are constrained by the vertex normal. The deltaOut parameter maybe equal to deltaIn parameter. The count of the deltaOut parameter will get modified so that it's the same as number of vertices in the mesh. |