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

#include <GU_SurfaceDistance.h>

Public Member Functions

 GU_SurfaceDistance (const GEO_Detail &gdp, bool as_polylines)
 
bool getAsPolylines () const
 
exint getNumPrimitives () const
 
void getVertexRange (exint pr, exint &start, exint &end) const
 
exint firstVertex (GA_Offset pt) const
 
exint nextVertex (exint vtx) const
 
GA_Offset vertexPoint (exint vtx) const
 
exint vertexPrimitive (exint vtx) const
 
void findDistances (const GA_ROHandleV3 &p_attr, fpreal max_dist, const GA_OffsetArray &pts, const UT_FloatArray &dists, const UT_Function< void(GA_Offset, fpreal)> &func) const
 
void findDistances (const GA_ROHandleV3 &p_attr, fpreal max_dist, const GA_OffsetArray &pts, const UT_FloatArray &dists, const UT_Array< exint > &src, const UT_Function< void(GA_Offset, fpreal, exint)> &func) const
 
int64 getMemoryUsage (bool inclusive) const
 

Detailed Description

Definition at line 43 of file GU_SurfaceDistance.h.

Constructor & Destructor Documentation

GU_SurfaceDistance::GU_SurfaceDistance ( const GEO_Detail gdp,
bool  as_polylines 
)

Member Function Documentation

void GU_SurfaceDistance::findDistances ( const GA_ROHandleV3 p_attr,
fpreal  max_dist,
const GA_OffsetArray pts,
const UT_FloatArray dists,
const UT_Function< void(GA_Offset, fpreal)> &  func 
) const
void GU_SurfaceDistance::findDistances ( const GA_ROHandleV3 p_attr,
fpreal  max_dist,
const GA_OffsetArray pts,
const UT_FloatArray dists,
const UT_Array< exint > &  src,
const UT_Function< void(GA_Offset, fpreal, exint)> &  func 
) const
exint GU_SurfaceDistance::firstVertex ( GA_Offset  pt) const
inline

Definition at line 62 of file GU_SurfaceDistance.h.

bool GU_SurfaceDistance::getAsPolylines ( ) const
inline

Definition at line 49 of file GU_SurfaceDistance.h.

int64 GU_SurfaceDistance::getMemoryUsage ( bool  inclusive) const
exint GU_SurfaceDistance::getNumPrimitives ( ) const
inline

Definition at line 52 of file GU_SurfaceDistance.h.

void GU_SurfaceDistance::getVertexRange ( exint  pr,
exint start,
exint end 
) const
inline

Definition at line 55 of file GU_SurfaceDistance.h.

exint GU_SurfaceDistance::nextVertex ( exint  vtx) const
inline

Definition at line 65 of file GU_SurfaceDistance.h.

GA_Offset GU_SurfaceDistance::vertexPoint ( exint  vtx) const
inline

Definition at line 68 of file GU_SurfaceDistance.h.

exint GU_SurfaceDistance::vertexPrimitive ( exint  vtx) const
inline

Definition at line 71 of file GU_SurfaceDistance.h.


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