[CIG-LONG] [Gale] PolygonShape rotation with Euler angles?

Guillaume.Duclaux at csiro.au Guillaume.Duclaux at csiro.au
Tue Sep 9 22:36:53 PDT 2008


G'day all,

Gale's user manual indicates that every shape accepts translation and
rotation, using translation variables and Euler angles respectively.
Indeed, I use it for box rotation and that works fine.  

I attempt to apply Euler angles to rotate a PolygonShape around y axis;
unfortunately it doesn't seem to work. Here is the related part of the
input script:

	<struct name="continent2Shape">
      <param name="Type">PolygonShape</param>
      <param name="CentreX">0</param>
      <param name="CentreY">0</param>
      <param name="CentreZ">0</param>
      <param name="startZ">-100000</param>
      <param name="endZ">700000</param>
      <param name="alpha">0</param>
      <param name="beta">-0.25</param>
      <param name="gamma">0</param>
      <param name="invert">False</param>
      <list name="verticies">
	    <asciidata>
		<columnDefinition name="x" type="double"/>
		<columnDefinition name="y" type="double"/>
					1000000		110000
					1000000		148000
					800000		148000
					800000		133000
					850000		110000
		</asciidata>
	  </list>
	</struct>

Gale builds the "correct" shape geometry but without rotating it by an
angle beta around y axis.  

So, I'm wondering if the Euler angles are available for PolygonShape,
and if they are, how to use them? 

Thanks for your help!

Cheers,

Guilly

Dr Guillaume Duclaux
Structural Geologist/Modeller
CSIRO Exploration and Mining
Visiting address: 6G13, ARRC, 26 Dick Perry Avenue, Kensington, Western
Australia, 6151
Postal address: PO Box 1130, Bentley, Western Australia, 6102, Australia
Ph: + 61 8 6436 8728  Fax: + 61 8 6436 8555  Web: www. csiro.au 



More information about the CIG-LONG mailing list