27#include <Inventor/C/basic.h>
29#include <Inventor/C/errors/debugerror.h>
37#error You are not compiling C++ - maybe your source file is named <file>.c
59inline Type SbAbs( Type
Val ) {
64inline Type SbMax(
const Type A,
const Type B ) {
65 return (A < B) ? B : A;
69inline Type SbMin(
const Type A,
const Type B ) {
70 return (A < B) ? A : B;
74inline Type SbClamp(
const Type
Val,
const Type
Min,
const Type
Max ) {
79inline void SbSwap( Type & A, Type & B ) {
80 Type T; T = A; A = B; B = T;
84inline Type SbSqr(
const Type
val) {
98template <
typename Type>
101 if (!(
divider !=
static_cast<Type
>(0)))
146#define SUN_CC_4_0_SOTYPE_INIT_BUG 0
148#if SUN_CC_4_0_SOTYPE_INIT_BUG
149#define STATIC_SOTYPE_INIT
151#define STATIC_SOTYPE_INIT = SoType::badType()
The SbList class is a template container class for lists.
Definition SbList.h:61