00001 /*======================================================================= 00002 *** THE CONTENT OF THIS WORK IS PROPRIETARY TO FEI S.A.S, (FEI S.A.S.), *** 00003 *** AND IS DISTRIBUTED UNDER A LICENSE AGREEMENT. *** 00004 *** *** 00005 *** REPRODUCTION, DISCLOSURE, OR USE, IN WHOLE OR IN PART, OTHER THAN AS *** 00006 *** SPECIFIED IN THE LICENSE ARE NOT TO BE UNDERTAKEN EXCEPT WITH PRIOR *** 00007 *** WRITTEN AUTHORIZATION OF FEI S.A.S. *** 00008 *** *** 00009 *** RESTRICTED RIGHTS LEGEND *** 00010 *** USE, DUPLICATION, OR DISCLOSURE BY THE GOVERNMENT OF THE CONTENT OF THIS *** 00011 *** WORK OR RELATED DOCUMENTATION IS SUBJECT TO RESTRICTIONS AS SET FORTH IN *** 00012 *** SUBPARAGRAPH (C)(1) OF THE COMMERCIAL COMPUTER SOFTWARE RESTRICTED RIGHT *** 00013 *** CLAUSE AT FAR 52.227-19 OR SUBPARAGRAPH (C)(1)(II) OF THE RIGHTS IN *** 00014 *** TECHNICAL DATA AND COMPUTER SOFTWARE CLAUSE AT DFARS 52.227-7013. *** 00015 *** *** 00016 *** COPYRIGHT (C) 1996-2020 BY FEI S.A.S, *** 00017 *** BORDEAUX, FRANCE *** 00018 *** ALL RIGHTS RESERVED *** 00019 **=======================================================================*/ 00020 /*======================================================================= 00021 ** Author : VSG (MMM YYYY) 00022 **=======================================================================*/ 00023 00024 #ifndef _PB_BASIC_ 00025 #define _PB_BASIC_ 00026 00027 #include <Inventor/SbBasic.h> 00028 #include <MeshViz/PoMeshViz.h> 00029 00030 /*----------------------------------------------------------------------------*/ 00031 // These symbols are used in MeshViz header files to distinguish 00032 // between varying levels of use of classes and members. 00033 // 00034 // Types of classes are: 00035 // 00036 // "PoINTERNAL class" : means that the class is used only by 00037 // MeshViz developers at VSG. 00038 // 00039 // Types of member variables and methods are : 00040 // 00041 // "public:" members are used by everybody. 00042 // "private:" members are for VSG developers only. 00043 // 00044 /*----------------------------------------------------------------------------*/ 00045 00046 #define PoINTERNAL 00047 00048 #define PPI 3.141592654f 00049 #define PPIDIV2 1.570796327f 00050 #define PPIDIV4 0.785398163f 00051 #define PDEUXPI 6.283185307f 00052 #define PSQRT2 1.414213562f 00053 #define PSQRT3 1.732050808f 00054 00055 /*----------------------------------------------------------------------------*/ 00057 00058 { 00059 float xmin ; 00060 float xmax ; 00061 float ymin ; 00062 float ymax ; 00063 float zmin ; 00064 float zmax ; 00065 } Plimit3 ; 00066 00067 { 00068 float xmin ; 00069 float xmax ; 00070 float ymin ; 00071 float ymax ; 00072 } Plimit ; 00073 00074 /*----------------------------------------------------------------------------*/ 00075 00076 #ifdef _WIN32 00077 # include <float.h> 00078 #else 00079 # include <limits.h> 00080 #endif /* _WIN32 */ 00081 00082 #endif /* _PB_BASIC_ */ 00083 00084 00085