13 #ifndef __GU_PrimRBezCurve_h__
14 #define __GU_PrimRBezCurve_h__
56 return *theDefinition;
76 int nelems,
int order = 4,
int closed=0,
77 int appendPoints = 1);
80 float tmax = 1E17F,
float tol = 1E-12F,
83 float *u = 0,
float *
v = 0,
84 int ignoretrim = 1)
const override;
89 int ignoretrim=1)
const override;
101 bool nonrational)
const override;
109 int &ind1,
int &ind2,
int keep)
override;
112 void openAt(
float u)
override;
126 int order,
int wrapped,
int corner);
128 int order,
int wrapped,
int corner);
139 int create(
int nelems,
int order = 4,
int closed = 0,
140 int appendPoints = 1);
143 friend class GU_PrimitiveFactory;
virtual GEO_Curve * cut(float u1, float u2, int &ind1, int &ind2, int keep)=0
virtual int64 getMemoryUsage() const
#define GA_INVALID_OFFSET
virtual void countMemory(UT_MemoryCounter &counter) const
GLdouble GLdouble GLint GLint order
virtual GEO_Face * reconfigure(unsigned type, int order, bool open, bool interpends, bool nonrational) const =0
virtual void openAt(float u)=0
Open the primitive at the given domain value.
virtual void getRangeBBox(const UT_Interval &u, UT_BoundingBox &bbox, const GA_PwHandleRO &h) const =0
GLfloat GLfloat GLfloat GLfloat h
~GU_PrimRBezCurve() override
virtual int intersectRay(const UT_Vector3 &o, const UT_Vector3 &d, float tmax=1E17F, float tol=1E-12F, float *distance=0, UT_Vector3 *pos=0, UT_Vector3 *nml=0, int accurate=0, float *u=0, float *v=0, int ignoretrim=1) const
GA_PwHandle< true > GA_PwHandleRO
const GA_PrimitiveDefinition & getTypeDef() const override
Container class for all geometry.
virtual GEO_Primitive * convert(GEO_ConvertParms &parms, GA_PointGroup *usedpts=0)=0
GU_PrimRBezCurve(GA_Detail *gdp, GA_Offset offset=GA_INVALID_OFFSET)
NOTE: This constructor should only be called via GU_PrimitiveFactory.
Definition of a geometric primitive.
SIM_API const UT_StringHolder distance
virtual int intersect(const GEO_Primitive &prim, UT_Array< GU_RayInfoHit > &hit_list, float tol=0.01F, int ignoretrim=1) const =0
virtual GEO_Primitive * convertNew(GEO_ConvertParms &parms)=0