HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GU_PolyKnit Class Reference

#include <GU_PolyKnit.h>

Public Member Functions

 GU_PolyKnit (GU_Detail *gdp)
 
 ~GU_PolyKnit ()
 
bool buildPolygons (GU_Detail *destgdp, const UT_IntArray &ptarray, const UT_IntArray &typearray, const GU_PolyKnitParms &parms, GA_PrimitiveGroup *resultprims)
 
bool getShortestPath (GA_Offset srcpt, GA_Offset destpt, UT_Array< GA_Offset > &ptlist)
 
bool arePointsConnected (GA_Offset srcpt, GA_Offset destpt)
 

Detailed Description

Definition at line 47 of file GU_PolyKnit.h.

Constructor & Destructor Documentation

GU_PolyKnit::GU_PolyKnit ( GU_Detail gdp)
GU_PolyKnit::~GU_PolyKnit ( )
inline

Definition at line 52 of file GU_PolyKnit.h.

Member Function Documentation

bool GU_PolyKnit::arePointsConnected ( GA_Offset  srcpt,
GA_Offset  destpt 
)

Returns true if the two points are connected, and false otherwise. It uses and adds to our point connector

bool GU_PolyKnit::buildPolygons ( GU_Detail destgdp,
const UT_IntArray ptarray,
const UT_IntArray typearray,
const GU_PolyKnitParms parms,
GA_PrimitiveGroup resultprims 
)

Builds the polygons in destgdp form the arrays of points and types Returns true if completely successful, false otherwise

bool GU_PolyKnit::getShortestPath ( GA_Offset  srcpt,
GA_Offset  destpt,
UT_Array< GA_Offset > &  ptlist 
)

The documentation for this class was generated from the following file: