Blender  V3.3
Functions
poly34.h File Reference
#include "LinearMath/btScalar.h"

Go to the source code of this file.

Functions

int SolveP2 (btScalar *x, btScalar a, btScalar b)
 
int SolveP3 (btScalar *x, btScalar a, btScalar b, btScalar c)
 
int SolveP4 (btScalar *x, btScalar a, btScalar b, btScalar c, btScalar d)
 
int SolveP5 (btScalar *x, btScalar a, btScalar b, btScalar c, btScalar d, btScalar e)
 
int SolveP4Bi (btScalar *x, btScalar b, btScalar d)
 
int SolveP4De (btScalar *x, btScalar b, btScalar c, btScalar d)
 
void CSqrt (btScalar x, btScalar y, btScalar &a, btScalar &b)
 
btScalar N4Step (btScalar x, btScalar a, btScalar b, btScalar c, btScalar d)
 
btScalar SolveP5_1 (btScalar a, btScalar b, btScalar c, btScalar d, btScalar e)
 

Function Documentation

◆ CSqrt()

void CSqrt ( btScalar  x,
btScalar  y,
btScalar a,
btScalar b 
)

Definition at line 119 of file poly34.cpp.

References Freestyle::a, usdtokens::b(), r, sqrt(), x, and y.

Referenced by SolveP4Bi(), and SolveP4De().

◆ N4Step()

btScalar N4Step ( btScalar  x,
btScalar  a,
btScalar  b,
btScalar  c,
btScalar  d 
)

Definition at line 287 of file poly34.cpp.

References Freestyle::a, usdtokens::b(), Freestyle::c, and x.

Referenced by SolveP4().

◆ SolveP2()

int SolveP2 ( btScalar x,
btScalar  a,
btScalar  b 
)

Definition at line 52 of file poly34.cpp.

References Freestyle::a, usdtokens::b(), D(), sqrt(), and x.

Referenced by continuousCollisionDetection().

◆ SolveP3()

int SolveP3 ( btScalar x,
btScalar  a,
btScalar  b,
btScalar  c 
)

Definition at line 71 of file poly34.cpp.

References A, Freestyle::a, KDL::acos(), B, usdtokens::b(), Freestyle::c, KDL::cos(), eps, fabs(), r, root3(), sqrt(), t, TwoPi, and x.

Referenced by continuousCollisionDetection(), and SolveP4De().

◆ SolveP4()

int SolveP4 ( btScalar x,
btScalar  a,
btScalar  b,
btScalar  c,
btScalar  d 
)

Definition at line 300 of file poly34.cpp.

References Freestyle::a, usdtokens::b(), Freestyle::c, N4Step(), SolveP4De(), and x.

Referenced by SolveP5().

◆ SolveP4Bi()

int SolveP4Bi ( btScalar x,
btScalar  b,
btScalar  d 
)

Definition at line 143 of file poly34.cpp.

References usdtokens::b(), CSqrt(), D(), sqrt(), x, and x2.

Referenced by SolveP4De().

◆ SolveP4De()

int SolveP4De ( btScalar x,
btScalar  b,
btScalar  c,
btScalar  d 
)

Definition at line 208 of file poly34.cpp.

References usdtokens::b(), Freestyle::c, CSqrt(), dblSort3(), e, fabs(), SolveP3(), SolveP4Bi(), sqrt(), and x.

Referenced by SolveP4().

◆ SolveP5()

int SolveP5 ( btScalar x,
btScalar  a,
btScalar  b,
btScalar  c,
btScalar  d,
btScalar  e 
)

Definition at line 441 of file poly34.cpp.

References Freestyle::a, usdtokens::b(), Freestyle::c, e, r, SolveP4(), SolveP5_1(), and x.

◆ SolveP5_1()

btScalar SolveP5_1 ( btScalar  a,
btScalar  b,
btScalar  c,
btScalar  d,
btScalar  e 
)

Definition at line 341 of file poly34.cpp.

References Freestyle::a, usdtokens::b(), Freestyle::c, e, eps, F5, fabs(), and x2.

Referenced by SolveP5().