Public Member Functions | Public Attributes

MeshCapPoly Class Reference

This reference page is linked to from the following overview topics: Capping a Shape with a Mesh.


Search for all occurrences

Detailed Description

See also:
Class MeshCapInfo.

Description:
A support class for the mesh capper. There is one of these for each polygon in a shape to be capped. All methods of this class are implemented by the system.
Data Members:
int numVerts;

The number of vertices.

int *verts;

List of the verts in the mesh corresponding to the verts in the PolyLine (1 per vertex).

#include <captypes.h>

Inheritance diagram for MeshCapPoly:
Inheritance graph
[legend]

List of all members.

Public Member Functions

  MeshCapPoly ()
CoreExport void  Init (PolyLine &line)
CoreExport  ~MeshCapPoly ()
CoreExport void  SetVert (int index, int vertex)

Public Attributes

int  numVerts
int *  verts

Constructor & Destructor Documentation

MeshCapPoly ( ) [inline]
Remarks:
Constructor. The verts pointer is set to NULL.
{ verts = NULL; }
CoreExport ~MeshCapPoly ( )
Remarks:
Destructor.

Member Function Documentation

CoreExport void Init ( PolyLine line )
Remarks:
This method is used internally.
CoreExport void SetVert ( int  index,
int  vertex 
)
Remarks:
This establishes the corresponding Mesh vertex for a vertex in the PolyLine. This should be called for each vertex in the PolyLine.
Parameters:
int index

The index into the shape.

int vertex

The corresponding index into the mesh.

Member Data Documentation

int numVerts
int* verts

MeshCapPoly MeshCapPoly MeshCapPoly MeshCapPoly MeshCapPoly MeshCapPoly MeshCapPoly MeshCapPoly MeshCapPoly MeshCapPoly
MeshCapPoly MeshCapPoly MeshCapPoly MeshCapPoly MeshCapPoly MeshCapPoly MeshCapPoly MeshCapPoly MeshCapPoly MeshCapPoly