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

#include <GU_WindingNumber.h>

Public Member Functions

void init (const GEO_Detail *const mesh_geo, const GA_PrimitiveGroup *const mesh_prim_group, const int axis0, const int axis1)
 
void clear ()
 
double eval (const UT_Vector2 &query_point, const bool as_angle=false, const bool negate=false) const
 
void eval (const GEO_Detail *const query_points, const GA_SplittableRange &point_range, const GA_RWHandleF &winding_number_attrib, const bool as_angle=false, const bool negate=false) const
 

Detailed Description

Definition at line 69 of file GU_WindingNumber.h.

Member Function Documentation

void GU_WindingNumber2DExact::clear ( )
double GU_WindingNumber2DExact::eval ( const UT_Vector2 query_point,
const bool  as_angle = false,
const bool  negate = false 
) const
void GU_WindingNumber2DExact::eval ( const GEO_Detail *const  query_points,
const GA_SplittableRange point_range,
const GA_RWHandleF winding_number_attrib,
const bool  as_angle = false,
const bool  negate = false 
) const
void GU_WindingNumber2DExact::init ( const GEO_Detail *const  mesh_geo,
const GA_PrimitiveGroup *const  mesh_prim_group,
const int  axis0,
const int  axis1 
)

Initializes WindingNumber2DExact class

NOTE: The class keeps non-owning pointer mesh_geo to the geometry. The pointer has to stay valid as long as you want to call eval


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