15 #ifndef __GU_PrimPoly_h__
16 #define __GU_PrimPoly_h__
60 { myVertexList = vertex_list; }
74 int order,
int interphull = 1);
76 int order,
int interphull = 1);
89 int &ind1,
int &ind2,
int keep);
98 bool nonrational)
const;
101 float tmax = 1E17F,
float tol = 1E-12F,
104 float *u = 0,
float *
v = 0,
105 int ignoretrim=1)
const override;
113 int ignoretrim=1)
const override;
143 return removeEdges(edgemap, dummy, del_bridges);
151 bool del_bridges=
true);
156 bool del_bridges=
true);
171 int outputGroups = 0,
176 void computeVertices(
GEO_Face &face)
const;
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 override
#define SYS_DEPRECATED_PUSH_DISABLE()
#define SYS_DEPRECATED_POP_DISABLE()
int intersect(const GEO_Primitive &prim, UT_Array< GU_RayInfoHit > &hit_list, float tol=0.01F, int ignoretrim=1) const override
#define GA_INVALID_OFFSET
int removeEdges(const UT_BitArray &edgemap, UT_IntArray &, bool del_bridges=true)
static GU_PrimPoly * build(GA_Detail *gdp, int npts, int open=0, int appendpts=1)
constexpr enabler dummy
An instance to use in EnableIf.
GLdouble GLdouble GLint GLint order
GEO_Primitive * convertNew(GEO_ConvertParms &parms) override
void clip(UT_Vector3 normal, float distance=0, GA_PrimitiveGroup *clipgrp=NULL) override
ImageBuf OIIO_API cut(const ImageBuf &src, ROI roi={}, int nthreads=0)
SYS_FORCE_INLINE GU_PrimPoly(GA_Detail *gdp, GA_Offset offset=GA_INVALID_OFFSET)
NOTE: This constructor should only be called via GU_PrimitiveFactory.
SYS_FORCE_INLINE GU_PrimPoly(GA_Detail *gdp, GA_Offset offset, const GA_OffsetListRef &vertex_list)
Container class for all geometry.
GEO_Primitive * convert(GEO_ConvertParms &parms, GA_PointGroup *usedpts=0) override
SIM_API const UT_StringHolder distance
constexpr T normalize(UT_FixedVector< T, D > &a) noexcept
static GEO_PrimPoly * build(GA_Detail *gdp, GA_Size nvertices, bool open=false, bool appendpts=true)