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);
92 sscanf(
buf,
"%lf%lf%lf", &
x, &
y, &
z);
95 sscanf(
buf,
"%lf%lf", &
x, &
y);
113 sprintf(
buf,
"%3i\n",
static_cast<Int_t
>(
v(0)));
116 sprintf(
buf,
"%9.3f%10.3f\n",
v(0),
v(1));
119 sprintf(
buf,
"%9.3f%10.3f%10.3f\n",
v(0),
v(1),
v(2));
121 pFile->write(
buf, strlen(
buf));
133 printf(
"%3i\n",
static_cast<Int_t
>(
v(0)));
136 printf(
"%9.3f%10.3f\n",
v(0),
v(1));
139 printf(
"%9.3f%10.3f%10.3f\n",
v(0),
v(1),
v(2));
164 param->AddAt(
v(0) / fac, k++);
165 param->AddAt(
v(1) / fac, k++);
166 param->AddAt(
v(2) / fac, k++);
FairGeoTransform * center
void posInMother(const FairGeoTransform &, const FairGeoTransform &)
FairGeoTransform * position
void calcVoluPosition(FairGeoVolume *, const FairGeoTransform &, const FairGeoTransform &)
TArrayD * calcVoluParam(FairGeoVolume *)
Bool_t writePoints(std::fstream *, FairGeoVolume *)
void printPoints(FairGeoVolume *volu)
Int_t readPoints(std::fstream *, 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