This manual describes the different libraries of the IRIT solid modeling environment. Quite a few libraries can be found to manipulate geometry in general, freeform curves and surfaces, symbolic computation, trimmed surfaces, freeform trivariate functions, Boolean operations, input output data file parsing, and miscelleneous.
All interface to the libraries should be made via the appropriate header files that can be found in the include subdirectory. Most libraries have a single header file that is named the same as the library. Functions and constants that are visible to the users of the libraries are prefixed with a unique prefix, usually derived from the library name itself. External definitions that start with an underscore should not be used, even if found in header files.
The header file include/irit_sm.h must be sourced by every source file in the solid modeller. In most cases, this file is sourced indirectly via local header files.
The following libraries are avaliable in IRIT:
Name of Library | Tasks |
bool | Boolean operations on polygonal models. |
cagd | Low level freeform curves and surfaces. |
geom | General geometry functions. |
misc | memory allocation, configuration files, attributes, etc. |
prsr | input and output for file/sockets of objects of IRIT. |
symb | Symbolic manipulation of curves and surfaces. |
trim | Trimmed surfaces support. |
triv | Freeform trivariate functions. |
xtra | Public domain code that is not part of IRIT. |
The following chapters reference the different function of different
libraries. Chapter provides several examples of
writing C code using the IRIT libraries.