165 G4double hx = std::sqrt(delY*delY + hh);
166 G4double hy = std::sqrt(delX*delX + hh);
168 2.*(x1 + x2)*hx + 2.*(y1 + y2)*hy + 4.*(x1*y1 + x2*y2);
180 areaX = (U1*std::sqrt(hh + U1*U1) + hh*std::asinh(U1/h) -
181 V1*std::sqrt(hh +
V1*
V1) - hh*std::asinh(
V1/h))/ang;
186 areaX += ((hh + U2*U2)*std::sqrt(hh + U2*U2) -
187 (hh + U1*U1)*std::sqrt(hh + U1*U1))/3.
188 + hh*(U2*std::asinh(U2/h) - U1*std::asinh(U1/h))
189 - hh*(std::sqrt(hh + U2*U2) - std::sqrt(hh + U1*U1));
191 areaX += ((hh +
V2*
V2)*std::sqrt(hh +
V2*
V2) -
192 (hh +
V1*
V1)*std::sqrt(hh +
V1*
V1))/3.
193 + hh*(
V2*std::asinh(
V2/h) -
V1*std::asinh(
V1/h))
194 - hh*(std::sqrt(hh +
V2*
V2) - std::sqrt(hh +
V1*
V1));
195 areaX /= delX*ang*ang;
206 areaY = (U1*std::sqrt(hh + U1*U1) + hh*std::asinh(U1/h) -
207 V1*std::sqrt(hh +
V1*
V1) - hh*std::asinh(
V1/h))/ang;
212 areaY += ((hh + U2*U2)*std::sqrt(hh + U2*U2) -
213 (hh + U1*U1)*std::sqrt(hh + U1*U1))/3.
214 + hh*(U2*std::asinh(U2/h) - U1*std::asinh(U1/h))
215 - hh*(std::sqrt(hh + U2*U2) - std::sqrt(hh + U1*U1));
217 areaY += ((hh +
V2*
V2)*std::sqrt(hh +
V2*
V2) -
218 (hh +
V1*
V1)*std::sqrt(hh +
V1*
V1))/3.
219 + hh*(
V2*std::asinh(
V2/h) -
V1*std::asinh(
V1/h))
220 - hh*(std::sqrt(hh +
V2*
V2) - std::sqrt(hh +
V1*
V1));
221 areaY /= delY*ang*ang;
G4TwistedTrd(const G4String &pName, G4double pDx1, G4double pDx2, G4double pDy1, G4double pDy2, G4double pDz, G4double pPhiTwist)