12 #ifndef __GEO_Profiles_h__
13 #define __GEO_Profiles_h__
44 float vmin,
float vmax,
int unif,
60 float vmin,
float vmax,
int unif,
67 float vmin,
float vmax,
int unif)
72 int remap(
int profileidx,
float umin,
float umax,
73 float vmin,
float vmax,
int unif);
83 float &
u1,
float &
v1)
const override;
94 int64 mem = inclusive ?
sizeof(*this) : 0;
105 int getUVRange(
float umin,
float umax,
float vmin,
106 float vmax,
int unif,
float &uka,
107 float &ukb,
float &vka,
float &vkb,
113 float uka,
float ulen,
float vka,
float vlen,
119 float uka,
float ulen,
float vka,
float vlen,
127 bool and_points =
false)
override;
134 bool and_points =
false)
override;
const GEO_TPSurf & getSurf() const
GA_Size destroyPrimitiveOffsets(const GA_Range &it, bool and_points=false) override
virtual GA_Detail * cloneEmptyDetail(bool clone_attributes) const =0
int remap(GD_Primitive &profile, float umin, float umax, float vmin, float vmax, int unif)
void countMemory(UT_MemoryCounter &counter, bool inclusive) const override
exint GA_Size
Defines the bit width for index and offset types in GA.
friend std::ostream & operator<<(std::ostream &os, const GEO_Profiles &d)
A range of elements in an index-map.
Bezier or NURBS basis classes which maintain knot vectors.
IOStatus save(const char *filename, const GA_SaveOptions *options, UT_StringArray *errors=0) const
SYS_FORCE_INLINE GA_Index getMapIndex() const
Gets the index of this primitive in the detail containing it.
int64 getMemoryUsage(bool inclusive) const override
Compute memory usage (includes all shared memory)
bool destroyPrimitiveOffset(GA_Offset offset, bool and_points=false) override
virtual void getDomainBBox(float &u0, float &v0, float &u1, float &v1) const =0
Container class for all geometry.
int64 getMemoryUsage(bool inclusive) const override
Compute memory usage (includes all shared memory)