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

Last change on this file since 187 was 187, checked in by sz, 10 years ago

all text files should have svn:eol-style=native

  • Property svn:eol-style set to native
File size: 847 bytes
Line 
1// This file is a part of the Framsticks GDK.
2// Copyright (C) 2002-2014  Maciej Komosinski and Szymon Ulatowski.  See LICENSE.txt for details.
3// Refer to http://www.framsticks.com/ for further information.
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.