////////////////////////////////////////////////////////////// Test the basic functionality of G4Axis2Placement3D G4Axis2Placement3D (1,1,1) (1,2,3) (-1,0,0) coordinate vectors: p[1]: (-0.963624,0.14825,0.222375) p[2]: (-2.22532e-17,-0.83205,0.5547) p[3]: (0.267261,0.534522,0.801784) p[1].p[2]: -1.64663e-18 p[3]-(p[1]xp[2]): (0,0,0) coordinate vectors computed from the transformation: p[1]: (0.0363759,1.14825,1.22237) p[2]: (1,0.16795,1.5547) p[3]: (1.26726,1.53452,1.80178) coordinate vectors in placement coordinate system: (1,-1.01718e-16,-4.68782e-17) (-1.40214e-16,1,-1.59893e-16) (-2.22397e-17,2.18196e-17,1) G4Axis2Placement3D (-1,1,1) (-1,2,3) (1,0,0) coordinate vectors: p[1]: (0.963624,0.14825,0.222375) p[2]: (-2.22532e-17,0.83205,-0.5547) p[3]: (-0.267261,0.534522,0.801784) p[1].p[2]: 1.64663e-18 p[3]-(p[1]xp[2]): (0,0,0) coordinate vectors computed from the transformation: p[1]: (-0.0363759,1.14825,1.22237) p[2]: (-1,1.83205,0.4453) p[3]: (-1.26726,1.53452,1.80178) coordinate vectors in placement coordinate system: (1,2.30935e-17,-5.51181e-17) (-1.36921e-16,1,-8.6438e-17) (-7.41323e-18,0,1) ////////////////////////////////////////////////////////////// Test the basic functionality of G4Line G4Line (2,3,4) (-1,-1,-1) GetStartPoint : (12,13,14) GetEndPoint : (-8,-7,-6) GetPStartPoint : -10 GetPEndPoint : 10 GetPMax : -1 u -> GetPoint() -> p -> GetPPoint() -> u2 u : -4.27856 p: (6.27856,7.27856,8.27856) u2: -4.27856 u : -2.67336 p: (4.67336,5.67336,6.67336) u2: -2.67336 u : 8.85978 p: (-6.85978,-5.85978,-4.85978) u2: 8.85978 u : -4.42038 p: (6.42038,7.42038,8.42038) u2: -4.42038 u : -6.3318 p: (8.3318,9.3318,10.3318) u2: -6.3318 BBox: ((-8,-7,-6), (12,13,14)) BBox from random points: ((-8,-7,-6), (12,13,14)) empty space around it when put in BBox: min x: 0 max x: 0 min y: 0 max y: 0 min z: 0 max z: 0 ////////////////////////////////////////////////////////////// Test the basic functionality of G4CircularCurve G4CircularCurve with radius=5 GetStartPoint : (-3.81812,1.74125,2.11187) GetEndPoint : (-3.81812,1.74125,2.11187) GetPStartPoint : 0 GetPEndPoint : 0 GetPMax : 6.28319 u -> GetPoint() -> p -> GetPPoint() -> u2 u : 0.136425 p: (-3.77335,1.16856,2.47875) u2: 0.136425 u : 4.10553 p: (3.74774,3.99467,-1.91236) u2: 4.10553 u : 2.60277 p: (5.13545,-1.77097,1.46883) u2: 2.60277 u : 0.576939 p: (-3.03824,-0.647988,3.44474) u2: 0.576939 u : 3.5896 p: (5.34263,2.134,-1.20354) u2: 3.5896 BBox: ((-3.81812,-3.22577,-1.98807), (5.81812,5.22577,3.98807)) BBox from random points: ((-3.81812,-3.22576,-1.98807), (5.81774,5.22577,3.98807)) empty space around it when put in BBox: min x: 0 max x: 0.000379819 min y: 1.26099e-05 max y: 8.74302e-08 min z: 1.15363e-06 max z: 1.91286e-06 G4CircularCurve again GetStartPoint : (-2.40693,-1.4176,3.74737) GetEndPoint : (4.40693,-2.46588,2.17495) GetPStartPoint : 0.785398 GetPEndPoint : 2.35619 GetPMax : 6.28319 u -> GetPoint() -> p -> GetPPoint() -> u2 u : 1.42586 p: (0.304139,-3.00958,3.90501) u2: 1.42586 u : 1.21713 p: (-0.668683,-2.64606,3.98693) u2: 1.21713 u : 0.893037 p: (-2.0212,-1.77595,3.8577) u2: 0.893037 u : 1.9365 p: (2.72301,-3.15022,3.19248) u2: 1.9365 u : 1.28862 p: (-0.34158,-2.78933,3.97341) u2: 1.28862 BBox: ((-2.40693,-3.22577,2.17495), (4.40693,-1.4176,3.98807)) BBox from random points: ((-2.40693,-3.22577,2.17495), (4.40693,-1.4176,3.98805)) empty space around it when put in BBox: min x: 0 max x: 0 min y: 5.59189e-07 max y: 0 min z: 0 max z: 2.0537e-05 ////////////////////////////////////////////////////////////// Test the basic functionality of G4Ellipse G4Ellipse 2 10 GetStartPoint : (-0.927248,1.2965,1.44475) GetEndPoint : (-0.927248,1.2965,1.44475) GetPStartPoint : 0 GetPEndPoint : 0 GetPMax : 6.28319 u -> GetPoint() -> p -> GetPPoint() -> u2 u : 4.22958 p: (1.89475,8.23178,-4.11944) u2: 4.22958 u : 4.46726 p: (1.46771,8.99981,-4.48911) u2: 4.46726 u : 0.483406 p: (-0.706418,-2.60482,3.97202) u2: 0.483406 u : 3.64023 p: (2.69257,4.71875,-2.04335) u2: 3.64023 u : 2.67925 p: (2.72491,-2.97668,3.07615) u2: 2.67925 BBox: ((-0.927248,-7.32578,-4.5648), (2.92725,9.32578,6.5648)) BBox from random points: ((-0.927248,-7.32564,-4.5648), (2.92722,9.32578,6.5648)) empty space around it when put in BBox: min x: 0 max x: 3.20321e-05 min y: 0.000142599 max y: 3.90136e-06 min z: 7.72637e-06 max z: 5.0979e-08 G4Ellipse again GetStartPoint : (-0.661903,5.46889,-1.4253) GetEndPoint : (-0.661903,5.46889,-1.4253) GetPStartPoint : 100 GetPEndPoint : 125.133 GetPMax : 6.28319 u -> GetPoint() -> p -> GetPPoint() -> u2 u : 110.484 p: (2.66472,4.93633,-2.17913) u2: 110.484 u : 110.17 p: (2.88337,2.47568,-0.611578) u2: 110.17 u : 103.125 p: (2.64594,-3.58164,3.50578) u2: 103.125 u : 109.257 p: (2.47552,-4.57961,4.2279) u2: 109.257 u : 104.666 p: (2.05262,7.80789,-3.88947) u2: 104.666 BBox: ((-0.927248,-7.32578,-4.5648), (2.92725,9.32578,6.5648)) BBox from random points: ((-0.927211,-7.32578,-4.56447), (2.92725,9.32577,6.5648)) empty space around it when put in BBox: min x: 3.71452e-05 max x: 1.60888e-06 min y: 2.09198e-08 max y: 1.337e-05 min z: 0.000329391 max z: 1.05371e-06 G4Ellipse again GetStartPoint : (2.92274,1.27293,0.177131) GetEndPoint : (2.10783,7.63804,-3.79464) GetPStartPoint : 3.21 GetPEndPoint : 4.1 GetPMax : 6.28319 u -> GetPoint() -> p -> GetPPoint() -> u2 u : 3.71184 p: (2.6223,5.24214,-2.36886) u2: 3.71184 u : 3.67509 p: (2.65942,4.97611,-2.20388) u2: 3.67509 u : 3.51463 p: (2.7947,3.75624,-1.43573) u2: 3.51463 u : 3.34159 p: (2.88883,2.36239,-0.53787) u2: 3.34159 u : 3.60771 p: (2.72165,4.47456,-1.89025) u2: 3.60771 BBox: ((2.10783,1.27293,-3.79464), (2.92274,7.63804,0.177131)) BBox from random points: ((2.10783,1.27293,-3.79464), (2.92274,7.63804,0.177131)) empty space around it when put in BBox: min x: 0 max x: 0 min y: 0 max y: 0 min z: 0 max z: 0 ////////////////////////////////////////////////////////////// Test the basic functionality of G4Parabola G4Parabola 6 GetStartPoint : (-57816.4,9894.45,12677.8) GetEndPoint : (-57816.4,7897.53,14009.1) GetPStartPoint : -100 GetPEndPoint : 100 GetPMax : -1 u -> GetPoint() -> p -> GetPPoint() -> u2 u : -2.48322 p: (-34.6526,31.279,-7.30182) u2: -2.48322 u : 54.1079 p: (-16926,2064.91,4267.39) u2: 54.1079 u : 89.8802 p: (-46706.6,6289.36,11377.9) u2: 89.8802 u : 62.5503 p: (-22620.3,2856.67,5637.67) u2: 62.5503 u : 96.561 p: (-53908.2,7330.6,13084.3) u2: 96.561 BBox: ((-57816.4,7897.53,12677.8), (-57816.4,9894.45,14009.1)) BBox from random points: ((-57816.4,-26.9281,-7.28275), (0.987966,9894.45,14009.1)) empty space around it when put in BBox: min x: 0 max x: -57817.4 min y: -7924.46 max y: 0 min z: -12685.1 max z: 0 G4Parabola again GetStartPoint : (-4.78174,11.8741,-4.32215) GetEndPoint : (-577.174,-9.89612,200.989) GetPStartPoint : -1 GetPEndPoint : 10 GetPMax : -1 u -> GetPoint() -> p -> GetPPoint() -> u2 u : 4.9496 p: (-140.644,-26.6284,66.6337) u2: 4.9496 u : 0.517513 p: (-0.548465,-3.92894,4.80211) u2: 0.517513 u : 6.91181 p: (-275.212,-25.5175,110.749) u2: 6.91181 u : 3.16874 p: (-57.054,-21.7072,35.4895) u2: 3.16874 u : -0.473277 p: (-0.295062,5.92473,-1.85146) u2: -0.473277 BBox: ((-577.174,-9.89612,-4.32215), (-4.78174,11.8741,200.989)) BBox from random points: ((-577.174,-27.019,-4.32215), (0.999914,11.8741,200.989)) empty space around it when put in BBox: min x: 0 max x: -5.78166 min y: -17.1228 max y: 0 min z: 0 max z: 0 G4Parabola again GetStartPoint : (-221.25,97.0969,11.0188) GetEndPoint : (-149.383,75.0574,1.75616) GetPStartPoint : -6.2 GetPEndPoint : -5.1 GetPMax : -1 u -> GetPoint() -> p -> GetPPoint() -> u2 u : -5.62865 p: (-182.176,85.3808,5.80475) u2: -5.62865 u : -5.33717 p: (-163.695,79.6272,3.4802) u2: -5.33717 u : -5.78209 p: (-192.298,88.4701,7.11942) u2: -5.78209 u : -5.90628 p: (-200.691,91.0012,8.22952) u2: -5.90628 u : -5.73482 p: (-189.151,87.5139,6.70771) u2: -5.73482 BBox: ((-221.25,75.0574,1.75616), (-149.383,97.0969,11.0188)) BBox from random points: ((-221.25,75.0574,1.75616), (-149.383,97.0969,11.0188)) empty space around it when put in BBox: min x: 0 max x: 0 min y: 0 max y: 0 min z: 0 max z: 0 ////////////////////////////////////////////////////////////// Test the basic functionality of G4Hyperbola G4Hyperbola 5 3 GetStartPoint : (-17.1267,12.8419,-0.852373) GetEndPoint : (-17.1267,-5.26447,11.2185) GetPStartPoint : -2 GetPEndPoint : 2 GetPMax : -1 u -> GetPoint() -> p -> GetPPoint() -> u2 u : -0.159259 p: (-3.87935,2.14989,1.85986) u2: -0.159259 u : 1.51344 p: (-10.4731,-2.62931,7.2439) u2: 1.51344 u : 0.63303 p: (-4.81617,0.206987,3.4674) u2: 0.63303 u : -0.115769 p: (-3.85044,2.03584,1.92625) u2: -0.115769 u : -1.07569 p: (-6.88503,5.44678,0.663824) u2: -1.07569 BBox: ((-17.1267,-5.26447,-0.852373), (-17.1267,12.8419,11.2185)) BBox from random points: ((-17.1267,-5.26447,-0.852373), (-3.8182,12.8419,11.2185)) empty space around it when put in BBox: min x: 0 max x: -13.3085 min y: 0 max y: 0 min z: 0 max z: 0 G4Hyperbola again GetStartPoint : (-6.43475,-0.789672,4.67136) GetEndPoint : (-17.1267,-5.26447,11.2185) GetPStartPoint : 1 GetPEndPoint : 2 GetPMax : -1 u -> GetPoint() -> p -> GetPPoint() -> u2 u : 1.10485 p: (-7.07045,-1.11262,5.09856) u2: 1.10485 u : 1.52051 p: (-10.547,-2.6601,7.28907) u2: 1.52051 u : 1.86711 p: (-14.958,-4.42656,9.93705) u2: 1.86711 u : 1.10619 p: (-7.07913,-1.11689,5.1043) u2: 1.10619 u : 1.33626 p: (-8.79916,-1.91309,6.20845) u2: 1.33626 BBox: ((-17.1267,-5.26447,4.67136), (-6.43475,-0.789672,11.2185)) BBox from random points: ((-17.1267,-5.26447,4.67136), (-6.43475,-0.789672,11.2185)) empty space around it when put in BBox: min x: 0 max x: 0 min y: 0 max y: 0 min z: 0 max z: 0 G4Hyperbola again GetStartPoint : (-6.43475,5.07729,0.760058) GetEndPoint : (-3.81812,1.74125,2.11187) GetPStartPoint : -1 GetPEndPoint : 0 GetPMax : -1 u -> GetPoint() -> p -> GetPPoint() -> u2 u : -0.875132 p: (-5.78391,4.51785,0.916074) u2: -0.875132 u : -0.186876 p: (-3.9025,2.22342,1.81855) u2: -0.186876 u : -0.629993 p: (-4.8063,3.57194,1.22081) u2: -0.629993 u : -0.624731 p: (-4.78933,3.55353,1.22743) u2: -0.624731 u : -0.239157 p: (-3.95657,2.36523,1.74204) u2: -0.239157 BBox: ((-6.43475,1.74125,0.760058), (-3.81812,5.07729,2.11187)) BBox from random points: ((-6.43475,1.74125,0.760058), (-3.81812,5.07729,2.11187)) empty space around it when put in BBox: min x: 0 max x: 0 min y: 0 max y: 0 min z: 0 max z: 0 ////////////////////////////////////////////////////////////// Test the basic functionality of Projection