Message: Has anyone tried rotate(angle,axis)? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Has anyone tried rotate(angle,axis)? 

Forum: Geometry
Date: 13 Sep, 2018
From: Huagang Yan <Huagang Yan>

I need to rotate a cylinder around an axis which is different from x, y, and z axis, and perpendicular to the axis of the cylinder. I tried to use the method of rotate(anagle,axis) for G4RotationMatrix. It seems this method does not work correctly at all. Besides, it seems that the method has not been tested in the examples.

The problem I dealt with was first rotating it around y axis, then around that flipped axis. I am completely bewildered now.

Does anyone have experience and advice on that?

Thanks.

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: Has anyone tried rotate(angle,axis)?   (Evgueni Tcherniaev - 13 Sep, 2018)
1 Note: Re: Has anyone tried rotate(angle,axis)?   (Huagang Yan - 13 Sep, 2018)
(_ None: Re: Has anyone tried rotate(angle,axis)?   (Evgueni Tcherniaev - 17 Sep, 2018)
(_ Feedback: Re: Has anyone tried rotate(angle,axis)?   (Huagang Yan - 18 Sep, 2018)
2 None: Re: Has anyone tried rotate(angle,axis)?   (michel maire - 13 Sep, 2018)
1 Question: Re: Has anyone tried rotate(angle,axis)?   (Huagang Yan - 13 Sep, 2018)
(_ None: Re: Has anyone tried rotate(angle,axis)?   (michel maire - 13 Sep, 2018)
 Add Message Add Message
to: "Has anyone tried rotate(angle,axis)?"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]