0022048: Visualization, AIS_InteractiveContext - single object selection should alway...
[occt.git] / src / AdvApp2Var / AdvApp2Var_Data.hxx
CommitLineData
973c2be1 1// Copyright (c) 1999-2014 OPEN CASCADE SAS
b311480e 2//
973c2be1 3// This file is part of Open CASCADE Technology software library.
b311480e 4//
d5f74e42 5// This library is free software; you can redistribute it and/or modify it under
6// the terms of the GNU Lesser General Public License version 2.1 as published
973c2be1 7// by the Free Software Foundation, with special exception defined in the file
8// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
9// distribution for complete text of the license and disclaimer of any warranty.
b311480e 10//
973c2be1 11// Alternatively, this file may be used under the terms of Open CASCADE
12// commercial license or contractual agreement.
7fd59977 13
14#ifndef AdvApp2Var_Data_HeaderFile
15#define AdvApp2Var_Data_HeaderFile
16
7fd59977 17#include <Standard_Macro.hxx>
7fd59977 18#include <AdvApp2Var_Data_f2c.hxx>
19//
20struct mdnombr_1_ {
21 doublereal pi,
22 deuxpi,
23 pisur2,
24 pis180,
25 c180pi,
26 zero,
27 one,
28 a180,
29 a360,
30 a90;
31};
32//
33struct minombr_1_ {
34 integer nbr[1001];
35};
36//
37struct maovpar_1_ {
38 doublereal r8und, r8ovr, x4und, x4ovr;
39 real r4und, r4ovr;
40 integer r4nbe, r8nbm, r8nbe, i4ovr, i4ovn, r4exp, r8exp, r4exn, r8exn,
41 r4ncs, r8ncs, r4nbm;
42 shortint i2ovr, i2ovn;
43};
44//
45struct maovpch_1_ {
46 char cnmmac[16], frmr4[8], frmr8[8], cdcode[8];
47};
48//
49struct mlgdrtl_1_ {
50 doublereal rootab[930],// was [465][2]
51 hiltab[930],// was [465][2]
52 hi0tab[31];
53 };
54//
55struct mmjcobi_1_ {
56 doublereal plgcan[3968];// was [496][2][4]
57 doublereal canjac[3968];// was [496][2][4]
58};
59//
60struct mmcmcnp_1_ {
61 doublereal cnp[3721]; // was [61][61] ;
62};
63//
64struct mmapgss_1_ {
65 doublereal gslxjs[5017],
66 gsl0js[52];
67};
68//
69struct mmapgs0_1_ {
70 doublereal gslxj0[4761], gsl0j0[49];
71};
72//
73struct mmapgs1_1_ {
74 doublereal gslxj1[4505], gsl0j1[46];
75};
76//
77struct mmapgs2_1_ {
78 doublereal gslxj2[4249], gsl0j2[43];
79};
80////
81class AdvApp2Var_Data {
82 public:
83
84 Standard_EXPORT static mdnombr_1_& Getmdnombr();
85 Standard_EXPORT static minombr_1_& Getminombr();
86 Standard_EXPORT static maovpar_1_& Getmaovpar();
87 Standard_EXPORT static maovpch_1_& Getmaovpch();
88 Standard_EXPORT static mlgdrtl_1_& Getmlgdrtl();
89 Standard_EXPORT static mmjcobi_1_& Getmmjcobi();
90 Standard_EXPORT static mmcmcnp_1_& Getmmcmcnp();
91 Standard_EXPORT static mmapgss_1_& Getmmapgss();
92 Standard_EXPORT static mmapgs0_1_& Getmmapgs0();
93 Standard_EXPORT static mmapgs1_1_& Getmmapgs1();
94 Standard_EXPORT static mmapgs2_1_& Getmmapgs2();
95
96};
97//
98#define mdnombr_ AdvApp2Var_Data::Getmdnombr()
99#define minombr_ AdvApp2Var_Data::Getminombr()
100#define maovpar_ AdvApp2Var_Data::Getmaovpar()
101#define maovpch_ AdvApp2Var_Data::Getmaovpch()
102#define mlgdrtl_ AdvApp2Var_Data::Getmlgdrtl()
103#define mmjcobi_ AdvApp2Var_Data::Getmmjcobi()
104#define mmcmcnp_ AdvApp2Var_Data::Getmmcmcnp()
105#define mmapgss_ AdvApp2Var_Data::Getmmapgss()
106#define mmapgs0_ AdvApp2Var_Data::Getmmapgs0()
107#define mmapgs1_ AdvApp2Var_Data::Getmmapgs1()
108#define mmapgs2_ AdvApp2Var_Data::Getmmapgs2()
109//
110#endif