Last change
on this file since 178 was
178,
checked in by Maciej Komosinski, 11 years ago
|
Changed cryptic double[4] into a meaningful struct
|
File size:
878 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 |
|
---|
9 | fF_chamber3d::~fF_chamber3d()
|
---|
10 | {
|
---|
11 | delete[] points;
|
---|
12 | }
|
---|
13 |
|
---|
14 | fF_chamber3d::fF_chamber3d(float centerX, float centerY, float centerZ,
|
---|
15 | float radius, float holeX, float holeY, float holeZ,
|
---|
16 | float vectorTfX, float vectorTfY, float vectorTfZ, float beta, float phi)
|
---|
17 | {
|
---|
18 | points = NULL;
|
---|
19 | this->centerX = centerX;
|
---|
20 | this->centerY = centerY;
|
---|
21 | this->centerZ = centerZ;
|
---|
22 | this->radius = radius;
|
---|
23 | this->holeX = holeX;
|
---|
24 | this->holeY = holeY;
|
---|
25 | this->holeZ = holeZ;
|
---|
26 | this->vectorTfX = vectorTfX;
|
---|
27 | this->vectorTfY = vectorTfY;
|
---|
28 | this->vectorTfZ = vectorTfZ;
|
---|
29 | this->beta = beta;
|
---|
30 | this->phi = phi;
|
---|
31 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.