14 #ifndef __GU_SurfaceDistance_h__
15 #define __GU_SurfaceDistance_h__
58 start = pr ? myPrimEnd(pr - 1) : 0;
90 int64 getMemoryUsage(
bool inclusive)
const;
93 void internalEndPrimitive() { myPrimEnd.append(myVtxPt.entries()); }
139 {
return myAffectedGroup.get(); }
154 const char *p_attr =
"P",
158 int64 getMemoryUsage(
bool inclusive)
const;
160 bool hasSameTopology(
const GEO_Detail &gdp)
const;
162 void updateSurfAndEdgeDistances(
const GEO_Detail &gdp,
185 bool myHasSymmetryParms;
GA_ROHandleF getDistances() const
void GU_API GU_FindDistancesToPointGroups(const GU_SurfaceDistance &sdist, const GEO_Detail &gdp, const GA_ROHandleV3 &p_attrib, const GA_Offset &pt, const UT_Array< GA_PointGroupUPtr > &psubset, int k, UT_Array< GA_PointGroupUPtr > &affectedgroups, GA_RWHandleF &h_dists)
void getVertexRange(exint pr, exint &start, exint &end) const
exint nextVertex(exint vtx) const
~GU_SurfaceDistanceCache()
const GA_PointGroup * getAffectedGroup() const
GA_ROHandleT< int64 > GA_ROHandleID
GU_SurfaceDistanceCache()
exint vertexPrimitive(exint vtx) const
#define GA_INVALID_OFFSET
std::unique_ptr< T, Deleter > UT_UniquePtr
A smart pointer for unique ownership of dynamically allocated objects.
GA_ROHandleID getSourcePoints() const
exint firstVertex(GA_Offset pt) const
GA_ROHandleT< fpreal32 > GA_ROHandleF
bool getAsPolylines() const
GA_Offset vertexPoint(exint vtx) const
std::function< T > UT_Function
UT_UniquePtr< GA_Attribute > GA_AttributeUPtr
UT_UniquePtr< GA_PointGroup > GA_PointGroupUPtr
exint getNumPrimitives() const