PatchCapVec Class Reference
 
 
 
PatchCapVec Class Reference

#include <captypes.h>

Inheritance diagram for PatchCapVec:
MaxHeapOperators

Class Description

Patch cap vectors.

When a patch cap is generated, new interior vectors will be generated within the patch, and patch edges within the cap will have new vectors. Patch edges along the edges of the originating bezier shape will use existing vectors. This class provides information on which is which. All methods of this class are implemented by the system.

Public Member Functions

  PatchCapVec ()
  PatchCapVec (int t, int p, int i)
bool  operator== (const PatchCapVec &b) const

Public Attributes

int  type
  Capping types supported. See Shape Capping Types.
int  poly
  Polygon number for ORIGINAL.
int  index
  Index for ORIGINAL or into newVecs table.

Constructor & Destructor Documentation

PatchCapVec ( ) [inline]
Remarks:
Constructor. No initialization is performed.
{}
PatchCapVec ( int  t,
int  p,
int  i 
) [inline]
Remarks:
Constructor. The data members are initialized to the values passed.
{ type=t; poly=p; index=i; }

Member Function Documentation

bool operator== ( const PatchCapVec b ) const [inline]
Remarks:
Compares this class instance to another one
                {
                        return type == b.type && poly == b.poly && index == b.index;
                }

Member Data Documentation

int type

Capping types supported. See Shape Capping Types.

int poly

Polygon number for ORIGINAL.

int index

Index for ORIGINAL or into newVecs table.