source: cpp/frams/genetics/fF/fF_chamber3d.cpp @ 567

Last change on this file since 567 was 286, checked in by Maciej Komosinski, 10 years ago

Updated headers

  • Property svn:eol-style set to native
File size: 809 bytes
Line 
1// This file is a part of Framsticks SDK.  http://www.framsticks.com/
2// Copyright (C) 1999-2015  Maciej Komosinski and Szymon Ulatowski.
3// See LICENSE.txt for details.
4
5#include "fF_chamber3d.h"
6#include "conv_fF.h"
7#include <iostream>
8
9fF_chamber3d::fF_chamber3d(float centerX, float centerY, float centerZ,
10        float radius, float holeX, float holeY, float holeZ,
11        float vectorTfX, float vectorTfY, float vectorTfZ, float beta, float phi)
12{
13        points = NULL;
14        this->centerX = centerX;
15        this->centerY = centerY;
16        this->centerZ = centerZ;
17        this->radius = radius;
18        this->holeX = holeX;
19        this->holeY = holeY;
20        this->holeZ = holeZ;
21        this->vectorTfX = vectorTfX;
22        this->vectorTfY = vectorTfY;
23        this->vectorTfZ = vectorTfZ;
24        this->beta = beta;
25        this->phi = phi;
26}
27
28fF_chamber3d::~fF_chamber3d()
29{
30        delete[] points;
31}
Note: See TracBrowser for help on using the repository browser.