PatchCapVert Class Reference
 
 
 
PatchCapVert Class Reference

#include <captypes.h>

Inheritance diagram for PatchCapVert:
MaxHeapOperators

Class Description

Patch cap vertices.

These can be original vertices from the BezierShape or new free vertices in the center of the BezierShape. All methods of this class are implemented by the system.

See also:
Shape Capping Types.

Public Member Functions

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

Public Attributes

int  type
  Capping types supported. See Shape Capping Types.
int  poly
  The polygon number (ORIGINAL or EDGE)
int  index
  The index of the vertex (ORIGINAL) or the segment for the EDGE vertex.

Constructor & Destructor Documentation

PatchCapVert ( ) [inline]
Remarks:
Constructor. No initialization is performed.
{}
PatchCapVert ( 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 PatchCapVert 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

The polygon number (ORIGINAL or EDGE)

int index

The index of the vertex (ORIGINAL) or the segment for the EDGE vertex.