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

Last change on this file since 275 was 197, checked in by Maciej Komosinski, 11 years ago

GDK used by developers since 1999, distributed on the web since 2002

  • Property svn:eol-style set to native
File size: 847 bytes
RevLine 
[187]1// This file is a part of the Framsticks GDK.
[197]2// Copyright (C) 1999-2014  Maciej Komosinski and Szymon Ulatowski.  See LICENSE.txt for details.
[187]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.