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 std::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 std::function< void(GA_Offset, fpreal, exint)> &func) const
 

Detailed Description

Definition at line 42 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 std::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 std::function< void(GA_Offset, fpreal, exint)> &  func 
) const
exint GU_SurfaceDistance::firstVertex ( GA_Offset  pt) const
inline

Definition at line 61 of file GU_SurfaceDistance.h.

bool GU_SurfaceDistance::getAsPolylines ( ) const
inline

Definition at line 48 of file GU_SurfaceDistance.h.

exint GU_SurfaceDistance::getNumPrimitives ( ) const
inline

Definition at line 51 of file GU_SurfaceDistance.h.

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

Definition at line 54 of file GU_SurfaceDistance.h.

exint GU_SurfaceDistance::nextVertex ( exint  vtx) const
inline

Definition at line 64 of file GU_SurfaceDistance.h.

GA_Offset GU_SurfaceDistance::vertexPoint ( exint  vtx) const
inline

Definition at line 67 of file GU_SurfaceDistance.h.

exint GU_SurfaceDistance::vertexPrimitive ( exint  vtx) const
inline

Definition at line 70 of file GU_SurfaceDistance.h.


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