User Tools

Site Tools


hyperfun:language

HyperFun: Language for FRep Volume Modeling

HyperFun is intended for describing both object's geometry in the form
<m>F(x_1, x_2, x_3, …, x_n) >= 0</m>
and object's attributes at any point of n-dimensional space in the form
<m>S_i = S_i(x_1, x_2, x_3, …, x_n)</m>,
where <m>F</m> is a continuous real function and <m>S_i</m> is an arbitrary function of point coordinates representing object's volumetric property (material, color, temperature, and others).

HyperFun allows the user to define a function representing an FRep geometric object with the help of assignment statements (using auxiliary local variables and arrays, if necessary) as well as conditional selection and iteration statements. The functional expressions are built using conventional arithmetic and relational operators, standard functions, built-in special geometric transformations and FRep library functions. The same can be applied to define attributes <m>S_i</m> with additionally provided attribute library functions.

Example

driwood246.jpg
HyperFun model for this object

hyperfun/language.txt · Last modified: 2023/12/19 03:07 by 127.0.0.1