karbon
VGlobal Namespace Reference
Function Documentation
int VGlobal::binomialCoeff |
( |
unsigned |
n, |
|
|
unsigned |
k | |
|
) |
| | |
Calculates the binomial coefficient n! / ( k! * ( n - k)! ).
Definition at line 28 of file vglobal.cc.
double VGlobal::factorialLn |
( |
unsigned |
n |
) |
|
Calculates the value ln( n! ).
Definition at line 40 of file vglobal.cc.
double VGlobal::gammaLn |
( |
double |
x |
) |
|
Calculates the value ln| Gamma(x) | for x > 0.
Definition at line 64 of file vglobal.cc.
int VGlobal::sign |
( |
double |
a |
) |
[inline] |
Returns the sign of paramater a.
Definition at line 85 of file vglobal.h.
Variable Documentation
Constants used to decide if a number is equal zero or nearly the same as another number.
Definition at line 47 of file vglobal.h.
A bezier with this flatness is considered "flat".
Used in subdividing.
Definition at line 53 of file vglobal.h.
A tolerance used to approximate bezier lengths.
If the relative difference between chordlength and polylength (length of the controlpolygon) is smaller than this value, the length of the bezier is 1/2 chordlength + 1/2 polylength.
Definition at line 60 of file vglobal.h.
A tolerance used to calculate param t on a segment at a given arc length (counting from t=0).
If the relative difference between a length approximation and the given length is smaller than this value, they are assumed to be identical.
Definition at line 68 of file vglobal.h.
A range for KoPoint::isNear() check, to decide if a KoPoint "is the same" as another.
Definition at line 74 of file vglobal.h.
A tolerance for multiplying normalized (length=1) vectors.
A result of >= parallelTolerance indicates parallel vectors.
Definition at line 80 of file vglobal.h.
|