Geometry 3D triangle

I’m currently using Pyroot/OpenGL for geometry visualization.
I would like to know what is the best way to define a 3D triangle ?
I know that TGeoArb8 allows to define triangles but it seems to be an heavy tool for defining a triangle.
Thank you in advance

If what you need is a solid triangle that you can put in a 3D scene context for visualization purpose, you can only use TGeo shapes, such as Arb8 or Xtru. If you don’t need the triangle to be “solid” and care only about the lines, you can use TPolyLine3D objects.

Best, Andrei

1 Like

Thank you for your answer one more time :grinning:
Best, Johann

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.