#include "SCT_GeoModel/SCT_SkiAux.h"
#include "SCT_GeoModel/SCT_MaterialManager.h"
#include "SCT_GeoModel/SCT_GeometryManager.h"
#include "SCT_GeoModel/SCT_Ski.h"
#include "SCT_GeoModel/SCT_Module.h"
#include "SCT_GeoModel/SCT_Bracket.h"
#include "SCT_GeoModel/SCT_Harness.h"
#include "SCT_GeoModel/SCT_SkiPowerTape.h"
#include "GeoModelKernel/GeoTubs.h"
#include "GeoModelKernel/GeoLogVol.h"
#include "GeoModelKernel/GeoPhysVol.h"
#include "GeoModelKernel/GeoNameTag.h"
#include "GeoModelKernel/GeoTransform.h"
#include "GeoModelKernel/GeoMaterial.h"
#include "GeoModelKernel/GeoDefinitions.h"
#include "GeoModelKernel/Units.h"
#include <cmath>
Go to the source code of this file.
|
double | sqr (double x) |
|
void | calcMinMaxRatioS (double xCenter, double yCenter, double xWidth, double yWidth, double &minRatio, double &maxRatio) |
|
◆ calcMinMaxRatioS()
void calcMinMaxRatioS |
( |
double |
xCenter, |
|
|
double |
yCenter, |
|
|
double |
xWidth, |
|
|
double |
yWidth, |
|
|
double & |
minRatio, |
|
|
double & |
maxRatio |
|
) |
| |
Definition at line 208 of file SCT_SkiAux.cxx.
215 double x = 0.5 * xWidth;
216 double y = 0.5 * yWidth;
218 double r00,r01,r10,r11;
220 r11 = (yCenter +
y) / (xCenter +
x);
221 r00 = (yCenter -
y) / (xCenter -
x);
222 r10 = (yCenter +
y) / (xCenter -
x);
223 r01 = (yCenter -
y) / (xCenter +
x);
◆ sqr()