Public Member Functions

IMNMeshUtilities10 Class Reference

Search for all occurrences

Detailed Description

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>

Inheritance diagram for IMNMeshUtilities10:
Inheritance graph
[legend]

List of all members.

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.

Member Function Documentation

Interface_ID GetID ( ) [inline, virtual]
Remarks:
This method returns the unique interface ID.

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.

Returns:
true if the chamfer operation was successful
false if the chamfer operation failed
Postcondition:
the mesh geometry is valid, even if the operation failed
Parameters:
[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.

Parameters:
[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.
Returns:
Returns true if the function succeeds false if it doesn't for any reason.

IMNMeshUtilities10 IMNMeshUtilities10 IMNMeshUtilities10 IMNMeshUtilities10 IMNMeshUtilities10 IMNMeshUtilities10 IMNMeshUtilities10 IMNMeshUtilities10 IMNMeshUtilities10 IMNMeshUtilities10
IMNMeshUtilities10 IMNMeshUtilities10 IMNMeshUtilities10 IMNMeshUtilities10 IMNMeshUtilities10 IMNMeshUtilities10 IMNMeshUtilities10 IMNMeshUtilities10 IMNMeshUtilities10 IMNMeshUtilities10