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

#include <GD_TrimQuadTree.h>

Public Types

enum  GD_TrimState { GD_TRIM_OUT, GD_TRIM_IN, GD_TRIM_MIX }
 

Public Member Functions

 GD_TrimQuadTree (const GD_TrimLoop &loops, const UT_BoundingRect &rect)
 
 ~GD_TrimQuadTree ()
 
int isTrimmedIn (const UT_Vector2 &pt)
 
int isTrimmedIn (float u, float v)
 
GD_TrimState isTrimmedOut (const UT_BoundingRect &rect)
 
GD_TrimState isTrimmedOut (float u0, float u1, float v0, float v1)
 

Detailed Description

Definition at line 25 of file GD_TrimQuadTree.h.

Member Enumeration Documentation

Enumerator
GD_TRIM_OUT 
GD_TRIM_IN 
GD_TRIM_MIX 

Definition at line 36 of file GD_TrimQuadTree.h.

Constructor & Destructor Documentation

GD_TrimQuadTree::GD_TrimQuadTree ( const GD_TrimLoop loops,
const UT_BoundingRect rect 
)
GD_TrimQuadTree::~GD_TrimQuadTree ( )

Member Function Documentation

int GD_TrimQuadTree::isTrimmedIn ( const UT_Vector2 pt)
int GD_TrimQuadTree::isTrimmedIn ( float  u,
float  v 
)
GD_TrimState GD_TrimQuadTree::isTrimmedOut ( const UT_BoundingRect rect)
GD_TrimState GD_TrimQuadTree::isTrimmedOut ( float  u0,
float  u1,
float  v0,
float  v1 
)

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