Last change
on this file since 182 was
181,
checked in by Maciej Komosinski, 11 years ago
|
Cosmetic change in order
|
File size:
878 bytes
|
Rev | Line | |
---|
[176] | 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 |
|
---|
| 9 | fF_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 | }
|
---|
[181] | 27 |
|
---|
| 28 | fF_chamber3d::~fF_chamber3d()
|
---|
| 29 | {
|
---|
| 30 | delete[] points;
|
---|
| 31 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.