gCAD3D 2.35
ut_geo_const.h
Go to the documentation of this file.
1 /***************************************************************************
2  ut_geo_const.h - description
3  -------------------
4  begin : Fri Aug 25 2000
5  copyright : (C) 2000 by CADCAM-Services Franz Reiter
6  email : franz.reiter@cadcam.co.at
7 
8 ****************************************************************************
9 
10 *//*
26 
27 */
28 
29 
30 // CurvPrcv
31 #define _PRCV_NUL { 0L, 0, 0, 0,\
32  NULL, NULL, NULL,\
33  (short)0, (char)2, (char)0 };
34 // typ, fTmp, uu1
35 
36 // CurvCCV
37 #define _CCV_NUL { FLT_32_MAX, FLT_32_MAX, 0L, 0L, 0L,\
38  (unsigned short)0, (unsigned short)0,\
39  (short)0, (short)0, (char)0, (char)-1, (char)-1, (char)0 };
40 // typ, us1; dir, clo, trm, uc1;
41 
42 //================================================================
43 // constant geometric objects:
44 #ifndef INCLUDE_FULL
45 extern const Point UT3D_PT_NUL;
46 extern const Vector UT3D_VECTOR_NUL;
47 
48 extern const Vector UT3D_VECTOR_X;
49 extern const Vector UT3D_VECTOR_Y;
50 extern const Vector UT3D_VECTOR_Z;
51 
52 extern const Vector UT3D_VECTOR_IX;
53 extern const Vector UT3D_VECTOR_IY;
54 extern const Vector UT3D_VECTOR_IZ;
55 
56 extern const Mat_3x3 UT3D_MAT_3x3;
57 extern const Mat_4x3 UT3D_MAT_4x3;
58 extern const Mat_4x4 UT3D_MAT_4x4;
59 
60 extern const CurvCCV UT3D_CCV_NUL;
61 extern const CurvPrcv UT3D_PRCV_NUL;
62 
63 
64 //----------------------------------------------------------------
65 #else
66 
67 
68 const Point2 UT2D_PT_NUL = { 0.0, 0.0 };
69 const Point UT3D_PT_NUL = { 0.0, 0.0, 0.0 };
70 
72 
73 const Vector2 UT2D_VECTOR_NUL = { 0.0, 0.0 };
74 const Vector2 UT2D_VECTOR_X = { 1.0, 0.0 };
75 const Vector2 UT2D_VECTOR_Y = { 0.0, 1.0 };
76 
77 const Vector UT3D_VECTOR_NUL = { 0.0, 0.0, 0.0 };
78 
79 const Vector UT3D_VECTOR_X = { 1.0, 0.0, 0.0 };
80 const Vector UT3D_VECTOR_Y = { 0.0, 1.0, 0.0 };
81 const Vector UT3D_VECTOR_Z = { 0.0, 0.0, 1.0 };
82 
83 const Vector UT3D_VECTOR_IX = {-1.0, 0.0, 0.0 };
84 const Vector UT3D_VECTOR_IY = { 0.0,-1.0, 0.0 };
85 const Vector UT3D_VECTOR_IZ = { 0.0, 0.0,-1.0 };
86 
87 
88 const Mat_3x3 UT3D_MAT_3x3 = { {1.0, 0.0, 0.0},
89  {0.0, 1.0, 0.0},
90  {0.0, 0.0, 1.0} };
91 
92  // VX VY VZ PO
93 const Mat_4x3 UT3D_MAT_4x3 = { {1.0, 0.0, 0.0, 0.0},
94  {0.0, 1.0, 0.0, 0.0},
95  {0.0, 0.0, 1.0, 0.0} };
96 
97 const Mat_4x4 UT3D_MAT_4x4 = { {1.0, 0.0, 0.0, 0.0},
98  {0.0, 1.0, 0.0, 0.0},
99  {0.0, 0.0, 1.0, 0.0},
100  {0.0, 0.0, 0.0, 1.0} };
101 
102 
103 
104 const CurvCCV UT3D_CCV_NUL = _CCV_NUL;
105 const CurvPrcv UT3D_PRCV_NUL = _PRCV_NUL;
106 
107 #endif
108 
109 
110 //================ EOF =====================
#define _PRCV_NUL
Definition: ut_geo_const.h:31
const Vector UT3D_VECTOR_Y
const Mat_4x3 UT3D_MAT_4x3
const Vector UT3D_VECTOR_Z
const Vector UT3D_VECTOR_IY
#define _CCV_NUL
Definition: ut_geo_const.h:37
const Mat_3x3 UT3D_MAT_3x3
double Mat_4x3[3][4]
Typ_M4x3 size 96.
Definition: ut_geo.h:150
const Point2 UT2D_PT_INFTY
polygonal_representation_of_curve CurvPrcv
Definition: ut_geo.h:585
const CurvCCV UT3D_CCV_NUL
Trimmed curve CurvCCV Typ_CVTRM.
Definition: ut_geo.h:607
double Mat_3x3[3][3]
Typ_M3x3.
Definition: ut_geo.h:149
const Vector2 UT2D_VECTOR_Y
const Vector UT3D_VECTOR_NUL
3D-point, Typ_PT
Definition: ut_geo.h:195
double Mat_4x4[4][4]
Typ_M4x4.
Definition: ut_geo.h:151
3D-vector, Typ_VC
Definition: ut_geo.h:209
2D-vector, Typ_VC2
Definition: ut_geo.h:203
2D-point, Typ_PT2
Definition: ut_geo.h:189
const Mat_4x4 UT3D_MAT_4x4
const Vector UT3D_VECTOR_IZ
const Point UT3D_PT_NUL
#define FLT_32_MAX
Definition: ut_types.h:41
const Vector UT3D_VECTOR_X
const Vector2 UT2D_VECTOR_NUL
const CurvPrcv UT3D_PRCV_NUL
const Vector2 UT2D_VECTOR_X
const Point2 UT2D_PT_NUL
const Vector UT3D_VECTOR_IX