Open Inventor
Release 2024.2.1
Loading...
Searching...
No Matches
PbBasic.h
1
/*=======================================================================
2
*** THE CONTENT OF THIS WORK IS PROPRIETARY TO FEI S.A.S, (FEI S.A.S.), ***
3
*** AND IS DISTRIBUTED UNDER A LICENSE AGREEMENT. ***
4
*** ***
5
*** REPRODUCTION, DISCLOSURE, OR USE, IN WHOLE OR IN PART, OTHER THAN AS ***
6
*** SPECIFIED IN THE LICENSE ARE NOT TO BE UNDERTAKEN EXCEPT WITH PRIOR ***
7
*** WRITTEN AUTHORIZATION OF FEI S.A.S. ***
8
*** ***
9
*** RESTRICTED RIGHTS LEGEND ***
10
*** USE, DUPLICATION, OR DISCLOSURE BY THE GOVERNMENT OF THE CONTENT OF THIS ***
11
*** WORK OR RELATED DOCUMENTATION IS SUBJECT TO RESTRICTIONS AS SET FORTH IN ***
12
*** SUBPARAGRAPH (C)(1) OF THE COMMERCIAL COMPUTER SOFTWARE RESTRICTED RIGHT ***
13
*** CLAUSE AT FAR 52.227-19 OR SUBPARAGRAPH (C)(1)(II) OF THE RIGHTS IN ***
14
*** TECHNICAL DATA AND COMPUTER SOFTWARE CLAUSE AT DFARS 52.227-7013. ***
15
*** ***
16
*** COPYRIGHT (C) 1996-2014 BY FEI S.A.S, ***
17
*** BORDEAUX, FRANCE ***
18
*** ALL RIGHTS RESERVED ***
19
**=======================================================================*/
20
/*=======================================================================
21
** Author : VSG (MMM YYYY)
22
**=======================================================================*/
23
24
#ifndef _PB_BASIC_
25
#define _PB_BASIC_
26
27
#include <Inventor/SbBasic.h>
28
#include <MeshViz/PoMeshViz.h>
29
30
/*----------------------------------------------------------------------------*/
31
// These symbols are used in MeshViz header files to distinguish
32
// between varying levels of use of classes and members.
33
//
34
// Types of classes are:
35
//
36
// "
37
// MeshViz developers at VSG.
38
//
39
// Types of member variables and methods are :
40
//
41
// "public:" members are used by everybody.
42
// "private:" members are for VSG developers only.
43
//
44
/*----------------------------------------------------------------------------*/
45
46
#define PoINTERNAL
47
48
#define PPI 3.141592654f
49
#define PPIDIV2 1.570796327f
50
#define PPIDIV4 0.785398163f
51
#define PDEUXPI 6.283185307f
52
#define PSQRT2 1.414213562f
53
#define PSQRT3 1.732050808f
54
55
/*----------------------------------------------------------------------------*/
57
58
{
59
float
xmin ;
60
float
xmax ;
61
float
ymin ;
62
float
ymax ;
63
float
zmin ;
64
float
zmax ;
65
} Plimit3 ;
66
67
{
68
float
xmin ;
69
float
xmax ;
70
float
ymin ;
71
float
ymax ;
72
} Plimit ;
73
74
/*----------------------------------------------------------------------------*/
75
76
#ifdef _WIN32
77
# include <float.h>
78
#else
79
# include <limits.h>
80
#endif
/* _WIN32 */
81
82
#endif
/* _PB_BASIC_ */
83
84
MeshViz
PbBasic.h
Generated by
1.9.8