HyperFun is intended for describing both object's geometry in the form
and object's attributes at any point of n-dimensional space in the form
where is a continuous real function and 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 with additionally provided attribute library functions.
HyperFun model for this object