#include <patch.h>
Class Description
- See also:
- Class PatchMesh,
Working with
Patches.
- Description:
- This class represents a patch vector. This can be either an
interior vector or an edge vector. All methods of this class are
implemented by the system.
- Data Members:
- Point3
p;
The vertex location.
int vert;
The vertex which owns this vector.
IntTab patches;
These are the patches that share this vector. If the edge is open
there will only be one patch. In this case patches[0] will
be used and patches[1] will be -1. Note: As of R4.0 the
previous array of [2] has been replaced with the IntTab because
vectors can now be used by more than two patches.
DWORD flags;
The patch vector flag:
PVEC_INTERIOR
This indicates the vector is an interior vector. These are the
three vectors inside a tri patch or the four inside a quad
patch.
int aux1;
This data member is available in release 3.0 and later only.
Used to track topology changes during editing (Edit Patch).
int aux2;
This data member is available in release 3.0 and later only.
Used to track topology changes during editing (PatchMesh).
Constructor & Destructor Documentation
- Parameters:
- PatchVec
&from
The vector to copy from.
Member Function Documentation
void ResetData |
( |
|
) |
[inline] |
CoreExport BOOL AddPatch |
( |
int |
index |
) |
|
- Parameters:
- int index
The index in the PatchMesh class patches table
(patches) of the patch to add.
- Returns:
- Returns TRUE if the patch was added; otherwise FALSE.
- Parameters:
- PatchVec&
from
The patch vector to copy from.
void Transform |
( |
Matrix3 & |
tm |
) |
[inline] |
- Parameters:
- Matrix3
&tm
The matrix to transform the vertex.
Member Data Documentation