TGeoCompositeShape

From: OKUMURA, Akira <oxon_at_astro.isas.jaxa.jp>
Date: Tue, 13 Apr 2010 21:15:14 +0900


Hello ROOTers,

I am trying to create a composite shape using TGeoCompositeShape with ROOT 5.26.00b on Mac OS X Leopard. The attached are a macro, and screen captures of its resultant wireframe and OpenGL canvases.

The wireframe seems that I wrote geometries properly as I expected. I put a box of which all 12 edges are chamfered off.

However, when I look the geometry in OpenGL, the image is collapsed. I suppose this is due to my wrong usage of boolean operations in a TGeoCompositeShape. But I cannot figure out which operation is wrong.

Could anyone kindly point out which part of the macro I should modify, please?

$ root
root [0] .x Chamfer.C(30, 100, 50, 5)

Regards,

OKUMURA, Akira oxon_at_astro.isas.jaxa.jp
Institute of Space and Astronautical Science (ISAS/JAXA) Yoshinodai 3-1-1, Chuo, Sagamihara, Kanagawa 252-5210 TEL/FAX +81 42-759-8510/8546
Skype : okumura.akira

geom2.gif geom1.gif
Received on Tue Apr 13 2010 - 14:15:27 CEST

This archive was generated by hypermail 2.2.0 : Mon Apr 26 2010 - 11:50:01 CEST