Description Adds a new Polynomial Asphere surface to the associated FRED document.
Syntax n = AddPolynomialAsphere ( entity, curv, conic, coefs )
Parameters n (Long) Node number of the new surface.
entity As T_ENTITY The generic entity data for the new surface.
curv As Double The curvature for the new Polynomial Asphere. (cv=1/radius)
conic As Double The conic constant for the new Polynomial Asphere. 0=sphere, -1=parabola, <-1=hyperbola, etc.
coefs() As Double An array of aspheric coefficients for the new Polynomial Asphere.
Remarks This function adds a new Polynomial Asphere surface to the associated FRED document and returns the identifier of the new surface. If it fails, an error is posted and the function returns a value of -1.
See Also
|