CONFIG LIB 1.5
Configuration Files Library (by TGG 2020)
Loading...
Searching...
No Matches
conect_data.h
1/*********************************************************************/
2/* */
3/* Config files library - (C) TGG 2015 */
4/* */
5/*********************************************************************/
6/* Warszawa, 2015 */
7/*********************************************************************/
8/* */
9/* File: conect_data.h */
10/* */
11/* Author: T.Grabowski */
12/* */
13/* Contents - CONNECT_DATA class */
14/* */
15/* */
16/*********************************************************************/
17/* */
18/* */
19
20#ifndef _CONECT_DATA_H_
21#define _CONECT_DATA_H_
22
23#include <fstream>
24
25#include "iofun.h"
26#include "ms2data_struct.h"
27
29
32
33class CONNECT_DATA : public IOFUN
34{
35 private :
36 char* TypeStr[3];
37
38 public:
39
40 CONNECT_DATA( void );
41 ~CONNECT_DATA( void );
42
43 int iTyp;
44 int iActive;
45 int CP1;
46 int CP2;
47 int Czeb1;
48 int Czeb2;
49 int Cstart;
50 int Cend;
51 int Csurf;
52
54 std::string ConName;
55
57 int Read( FILE *f, int typ, int version = 2 );
59 int Write( std::ostream &fout );
60};
61
62#endif
63
Structure, which defines connection of two wings.
Definition conect_data.h:34
int Czeb1
number of wing 1 rib connected to wing 2
Definition conect_data.h:47
int Cend
number of wing 2 longeron connected to trailing point of wing 1
Definition conect_data.h:50
int Czeb2
number of wing 2 rib connected to wing 1
Definition conect_data.h:48
int CP2
number of the 2nd wing (horizontal in case of vertical connection)
Definition conect_data.h:46
int iActive
is connection section active ( 1- active, 2 - not active)
Definition conect_data.h:44
int iTyp
Type of connection ( horizontal, vertical, parallel )
Definition conect_data.h:43
std::string ConName
Name of connection.
Definition conect_data.h:54
int Csurf
surface of wing 2 which will be modified (0-bottom or exterior, 1-top or interior)
Definition conect_data.h:51
int CP1
number of the 1st wing (vertical in case of horizontal connection)
Definition conect_data.h:45
int Cstart
number of wing 2 longeron connected to leading point of wing 1
Definition conect_data.h:49
int Read(FILE *f, int typ, int version=2)
Read connection section (within MS2 file reading)
int Write(std::ostream &fout)
Write connection section (within MS2 file saving)
Simple I/O functions class.
Definition iofun.h:42
This file contains some smart I/O functions.
This file contains ms2 (geometry info) data structure.