Documentation Talk:Reference Section 8.2
Poly section need updating:
- order now range from 2 to 35
- the alternative syntax with polynomial should be presented.
Hereafter a proposal (following the mesh / mesh2 approach: same object, two syntaxes)
- thanks ... it's been done --jholsenback 13:55, 22 January 2011 (UTC)
Infinite Solid Objects
- Describe a solid, possibly infinite, shape:
- INFINITE_SOLID_OBJECT:
PLANE | POLY | POLYNOMIAL | CUBIC | QUARTIC | QUADRIC
- The poly object:
- POLY:
- Jump to SDL
poly { ORDER, < POLY_COEFFICIENTS > [POLY_MODIFIERS] }
- ORDER:
- An integer value between 2 and 35 inclusive.
- POLY_COEFFICIENTS:
- A quantity n of FLOATs separated by commas, where n is
((ORDER+1)*(ORDER+2)*(ORDER+3))/6.
- POLY_MODIFIERS:
[sturm [BOOL]] & [OBJECT_MODIFIERS]
- The polynomial object:
- POLYNOMIAL:
- Jump to SDL
polynomial { ORDER, [POLYNOMIAL_COEFFICIENTS]... [POLY_MODIFIERS] }
- ORDER:
- An integer value between 2 and 35 inclusive. The sum of X_POWER, Y_POWER and Z_POWER of any xyz(): coefficient must never be greater than this integer.
- POLYNOMIAL_COEFFICIENTS:
xyz( X_POWER , Y_POWER , Z_POWER):VALUE [,]
- X_POWER
- The power of x for that coefficient. It's a positive or null integer.
- Y_POWER
- The power of y for that coefficient. It's a positive or null integer.
- Z_POWER
- The power of z for that coefficient. It's a positive or null integer.
- VALUE
- The value as a FLOAT of the coefficient of the polynomial equation for that powers of x,y and z. If a coefficient is not specified, its value defaults to 0.
- POLY_MODIFIERS:
[sturm [BOOL]] & [OBJECT_MODIFIERS]