source: cpp/frams/genetics/fF/fF_chamber3d.h @ 736

Last change on this file since 736 was 667, checked in by Maciej Komosinski, 7 years ago
  • fF foraminifera encoding supports scaling (radius) of the initial chamber (three new parameters added: radii for x,y,z)
  • mutation ignores these three parameters
  • float -> double for consistency everywhere
  • Property svn:eol-style set to native
File size: 865 bytes
Line 
1// This file is a part of Framsticks SDK.  http://www.framsticks.com/
2// Copyright (C) 1999-2017  Maciej Komosinski and Szymon Ulatowski.
3// See LICENSE.txt for details.
4
5#ifndef CHAMBER3D_H
6#define CHAMBER3D_H
7
8struct fF_point;
9
10//Chamber parameters; see http://www.framsticks.com/foraminifera
11class fF_chamber3d
12{
13public:
14        double centerX;
15        double centerY;
16        double centerZ;
17        double radius_x;
18        double radius_y;
19        double radius_z;
20        double holeX;
21        double holeY;
22        double holeZ;
23        double vectorTfX;
24        double vectorTfY;
25        double vectorTfZ;
26        double beta;
27        double phi;
28
29        fF_point *points;
30
31        fF_chamber3d(double centerX, double centerY, double centerZ,
32                double radius_x, double radius_y, double radius_z, double holeX, double holeY, double holeZ,
33                double vectorTfX, double vectorTfY, double vectorTfZ, double beta, double phi);
34        ~fF_chamber3d();
35};
36
37#endif  /* CHAMBER3D_H */
Note: See TracBrowser for help on using the repository browser.