12 #ifndef __UT_QuickHull__
13 #define __UT_QuickHull__
26 void reset() { myPoints.entries(0); }
84 eqn.
x() = list[
a].
y() - list[
b].
y();
85 eqn.
y() = list[
b].
x() - list[
a].
x();
86 eqn.
z() = -(eqn.
x()*list[
a].
x() + eqn.
y()*list[
a].
y());
GLdouble GLdouble GLint GLint const GLdouble * points
UT_Array< UT_Vector3T< T > > myPoints
GA_API const UT_StringHolder rot
constexpr SYS_FORCE_INLINE T & z() noexcept
GLboolean GLboolean GLboolean GLboolean a
static void swap2(UT_Vector2T< T > *list, uint a, uint b)
static void makeLineEqn(UT_Vector3T< T > &eqn, const UT_Vector2T< T > *list, uint a, uint b)
UT_QuickHullT< fpreal32 > UT_QuickHullF
constexpr SYS_FORCE_INLINE T & x() noexcept
UT_QuickHullT< fpreal64 > UT_QuickHullD
void reset()
Clear out points.
UT_QuickHullT< fpreal > UT_QuickHullR
GLboolean GLboolean GLboolean b
GA_API const UT_StringHolder N
UT_QuickHullT< float > UT_QuickHull
constexpr SYS_FORCE_INLINE T & y() noexcept
constexpr SYS_FORCE_INLINE T & y() noexcept
constexpr SYS_FORCE_INLINE T & x() noexcept