Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Macros
SoTrap.h File Reference
#include <Inventor/nodes/SoShape.h>
#include <Inventor/fields/SoSFNode.h>
#include <Inventor/fields/SoSFBool.h>
#include <Inventor/fields/SoSFFloat.h>
Include dependency graph for SoTrap.h:

Go to the source code of this file.

Classes

class  SoTrap
 

Macros

#define SoTrap   Geant4_SoTrap
 SoTrap - Inventor version of the G4Trap Geant Geometry entity. More...
 

Macro Definition Documentation

#define SoTrap   Geant4_SoTrap

SoTrap - Inventor version of the G4Trap Geant Geometry entity.

Node: SoTrap

Description: Inventor version of the G4Trap Geant Geometry entity

Author: Joe Boudreau Nov 11 1996

A G4Trap is a general trapezoid: The faces perpendicular to the z planes are tapezia, and their centres are not necessarily on a line parallel to the z axis.

Note that of the 11 parameters desribed below, only 9 are really independent - a check for planarity is made in the calculation of the equation for each plane. If the planes are not parallel, a call to G4Exception is made.

Always use Inventor Fields. This allows Inventor to detect a change to the data field and take the appropriate action; e.g., redraw the scene.

Definition at line 80 of file SoTrap.h.