2 #include <gp_Sphere.hxx>
4 #include <BRepPrimAPI_MakeSphere.hxx>
6 #include <TGeoMatrix.h>
7 #include <TGeoSphere.h>
16 mSphere =
new gp_Sphere(sphere);
17 mSolid =
new TopoDS_Shape(BRepPrimAPI_MakeSphere(sphere.Location(), sphere.Radius()).Solid());
26 if (!other)
return false;
34 double dc = sqrt(
SQR(spl->Location().X() - spr->Location().X()) +
35 SQR(spl->Location().Y() - spr->Location().Y()) +
36 SQR(spl->Location().Z() - spr->Location().Z()));
48 new TGeoSphere(vname, 0.0,
mSphere->Radius());
50 return new TGeoCombiTrans(tname,
mSphere->Location().X(),