14 #ifndef __GU_SubDivCurve__
15 #define __GU_SubDivCurve__
48 bool treatasindependent=
false,
89 float startu,
float endu,
exint nus,
140 template<
typename ARRAY,
typename T>
GA_Size GU_API GUcountOpenPolys(const GA_Detail &detail, const GA_PrimitiveGroup *group=nullptr)
Returns the number of open polygons in the given detail.
std::tuple< Types...> UT_Tuple
void GUinterpolateCurveAsSubD(const GEO_Face &face, const GA_RWHandleT< T > &attrib, int component=-1)
exint GA_Size
Defines the bit width for index and offset types in GA.
GLuint GLsizei const GLuint const GLintptr * offsets
GA_Size GU_API GUsubdivideCurves(GA_Detail &dest, const GA_Detail &src, int segmentsperedge, bool treatasindependent=false, const GA_PrimitiveGroup *srcgroup=nullptr)
UT_Tuple< UT_Vector4, UT_Vector4i > GU_API GUcomputeCubicCurveCoeffsAndIndices(float u, exint n, bool closed, const UT_Matrix4 *firstbasis, const UT_Matrix4 *midbasis)
Container class for all geometry.
void GUevaluateCubicCurve(const GEO_Face &face, float u, T &val, const GA_ROHandleT< T > &attrib, const UT_Matrix4 *midbasis=nullptr, const UT_Matrix4 *firstbasis=nullptr, int component=0)