Message: Re: Geometry coordinates Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Geometry coordinates  

Forum: Geometry
Re: Question Geometry coordinates (Sourav Tarafdar)
Date: 02 Mar, 2015
From: Pedro Arce <Pedro Arce>

It is not easy, as you have to take into account all kind of placements. I developed a code long time ago that you can find in GAMOS (http://fismed.ciemat.es/GAMOS). It is easy to use:

std::vector<GmTouchable*> touchs = GmGeometryUtils::GetTouchables("volB:3/volA:1"), and then ask for the GlobalPosition of the GmTouchable

You can freely use it, Pedro

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

1 None: Re: Geometry coordinates   (John Allison - 02 Mar, 2015)
(_ None: Re: Geometry coordinates   (John Allison - 04 Mar, 2015)
(_ None: Re: Geometry coordinates   (Sourav Tarafdar - 04 Mar, 2015)
(_ None: Re: Geometry coordinates   (John Allison - 04 Mar, 2015)
(_ None: Re: Geometry coordinates   (Sourav Tarafdar - 05 Mar, 2015)
(_ None: Re: Geometry coordinates   (John Allison - 05 Mar, 2015)
 Add Message Add Message
to: "Re: Geometry coordinates "

 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 ]