36#include <Inventor/C/basic.h>
38#include <Inventor/C/errors/debugerror.h>
46#error You are not compiling C++ - maybe your source file is named <file>.c
67template <
typename Type>
68inline Type SbAbs( Type
Val ) {
72template <
typename Type>
73inline Type SbMax(
const Type A,
const Type B ) {
74 return (A < B) ? B : A;
77template <
typename Type>
78inline Type SbMin(
const Type A,
const Type B ) {
79 return (A < B) ? A : B;
82template <
typename Type>
83inline Type SbClamp(
const Type
Val,
const Type
Min,
const Type
Max ) {
87template <
typename Type>
88inline void SbSwap( Type & A, Type & B ) {
89 Type T; T = A; A = B; B = T;
92template <
typename Type>
93inline Type SbSqr(
const Type
val) {
104template <
typename Type>
106 if (!(
divider !=
static_cast<Type
>(0)))
110template <
typename Type>
111inline void SbDividerChk(
const char *, Type) {}
154#define SUN_CC_4_0_SOTYPE_INIT_BUG 0
156#if SUN_CC_4_0_SOTYPE_INIT_BUG
157#define STATIC_SOTYPE_INIT
159#define STATIC_SOTYPE_INIT = SoType::badType()
172 __pragma(warning(push)) \
173 __pragma(warning(disable:4127)) \
175 __pragma(warning(pop))
177#define WHILE_0 while (0)
The SbList class is a template container class for lists.
Definition SbList.h:70