76 const Int_t maxbuf = 155;
78 pFile->getline(
buf, maxbuf);
80 sscanf(
buf,
"%i", &
n);
88 volu->
setPoint(0,
static_cast<Double_t
>(
n), 0.0, 0.0);
90 pFile->getline(
buf, maxbuf);
91 sscanf(
buf,
"%lf%lf%lf", &
x, &
y, &
z);
107 sprintf(
buf,
"%9.3f%10.3f%10.3f\n",
v(0),
v(1),
v(2));
109 sprintf(
buf,
"%3i\n",
static_cast<Int_t
>(
v(0)));
111 pFile->write(
buf, strlen(
buf));
122 printf(
"%9.3f%10.3f%10.3f\n",
v(0),
v(1),
v(2));
124 printf(
"%3i\n",
static_cast<Int_t
>(
v(0)));
150 param->AddAt(
v(0) / fac, k++);
151 param->AddAt(
v(1) / fac, k++);
152 param->AddAt(
v(2) / fac, k++);
FairGeoTransform * center
void posInMother(const FairGeoTransform &, const FairGeoTransform &)
FairGeoTransform * position
Int_t readPoints(std::fstream *, FairGeoVolume *)
Bool_t writePoints(std::fstream *, FairGeoVolume *)
void calcVoluPosition(FairGeoVolume *, const FairGeoTransform &, const FairGeoTransform &)
void printPoints(FairGeoVolume *volu)
TArrayD * calcVoluParam(FairGeoVolume *)
FairGeoVector * getPoint(const Int_t n)
void setPoint(const Int_t, const Double_t, const Double_t, const Double_t)
void createPoints(const Int_t)
GLenum GLuint GLenum GLsizei const GLchar * buf
GLdouble GLdouble GLdouble z