11 #ifndef __GT_TrimNuCurves__
12 #define __GT_TrimNuCurves__
60 bool isValid()
const {
return myCurves.entries(); }
65 {
return myLoops.getCount(loop); }
67 {
return myLoops.getOffset(loop); }
74 {
return myCurves.getCount(curve); }
77 {
return myOrders->getI32(curve); }
GT_Size getVertexCount(GT_Offset curve) const
Return the number of vertices for the Nth curve.
GT_Size getCurveCount(int loop) const
int getOrder(GT_Offset curve) const
Get the order for the given curve.
GA_API const UT_StringHolder uv
GT_Size getCurveOffset(int loop) const
const GT_DataArrayHandle & getMin() const
ImageBuf OIIO_API min(Image_or_Const A, Image_or_Const B, ROI roi={}, int nthreads=0)
Class which writes ASCII or binary JSON streams.
GT_Size getVertexCount() const
Return the number of cv's.
const GT_CountArray & getCurveCountArray() const
const GT_DataArrayHandle & getMax() const
GT_Size getCurveCount() const
Return the total number of segments.
const GT_CountArray & getLoopCountArray() const
const GT_DataArrayHandle & getKnots() const
const GT_DataArrayHandle & getUV() const
const GT_DataArrayHandle & getOrders() const
ImageBuf OIIO_API max(Image_or_Const A, Image_or_Const B, ROI roi={}, int nthreads=0)
GLubyte GLubyte GLubyte GLubyte w
Trim loops specified by a number of individual NURBS curves.