VGM Version 5.3
Loading...
Searching...
No Matches
VGM::IExtrudedSolid Class Referenceabstract

The VGM interface to extruded solids. More...

#include <IExtrudedSolid.h>

Inheritance diagram for VGM::IExtrudedSolid:

Public Member Functions

virtual ~IExtrudedSolid ()
 
virtual SolidType Type () const =0
 Return the type of this solid.
 
virtual std::string Name () const =0
 Return the name of this solid.
 
virtual int NofVertices () const =0
 Return the number of vertices of outline polygon.
 
virtual TwoVector Vertex (int index) const =0
 Return the index-th vertex of outline polygon.
 
virtual int NofZSections () const =0
 Return the number of planes perpendicular to the z axis.
 
virtual double ZPosition (int iz) const =0
 Return the z position of the iz-th plane in mm.
 
virtual TwoVector Offset (int iz) const =0
 Return the polygon offset in iz-th side.
 
virtual double Scale (int iz) const =0
 Return the polygon scale in iz-th side.
 
virtual std::ostream & Put (std::ostream &out) const =0
 Put the printing of the solid parameters in the out stream.
 
- Public Member Functions inherited from VGM::ISolid
virtual ~ISolid ()
 

Detailed Description

The VGM interface to extruded solids.

Author
Ivana Hrivnacova; IPN Orsay

Definition at line 30 of file IExtrudedSolid.h.

Constructor & Destructor Documentation

◆ ~IExtrudedSolid()

virtual VGM::IExtrudedSolid::~IExtrudedSolid ( )
inlinevirtual

Definition at line 33 of file IExtrudedSolid.h.

Member Function Documentation

◆ Type()

virtual SolidType VGM::IExtrudedSolid::Type ( ) const
pure virtual

Return the type of this solid.

Implements VGM::ISolid.

Implemented in BaseVGM::VExtrudedSolid.

◆ Name()

virtual std::string VGM::IExtrudedSolid::Name ( ) const
pure virtual

Return the name of this solid.

Implements VGM::ISolid.

Implemented in Geant4GM::ExtrudedSolid, and RootGM::ExtrudedSolid.

◆ NofVertices()

virtual int VGM::IExtrudedSolid::NofVertices ( ) const
pure virtual

Return the number of vertices of outline polygon.

Implemented in Geant4GM::ExtrudedSolid, and RootGM::ExtrudedSolid.

◆ Vertex()

virtual TwoVector VGM::IExtrudedSolid::Vertex ( int index) const
pure virtual

Return the index-th vertex of outline polygon.

Implemented in Geant4GM::ExtrudedSolid, and RootGM::ExtrudedSolid.

◆ NofZSections()

virtual int VGM::IExtrudedSolid::NofZSections ( ) const
pure virtual

Return the number of planes perpendicular to the z axis.

Implemented in Geant4GM::ExtrudedSolid, and RootGM::ExtrudedSolid.

◆ ZPosition()

virtual double VGM::IExtrudedSolid::ZPosition ( int iz) const
pure virtual

Return the z position of the iz-th plane in mm.

Implemented in Geant4GM::ExtrudedSolid, and RootGM::ExtrudedSolid.

◆ Offset()

virtual TwoVector VGM::IExtrudedSolid::Offset ( int iz) const
pure virtual

Return the polygon offset in iz-th side.

Implemented in Geant4GM::ExtrudedSolid, and RootGM::ExtrudedSolid.

◆ Scale()

virtual double VGM::IExtrudedSolid::Scale ( int iz) const
pure virtual

Return the polygon scale in iz-th side.

Implemented in Geant4GM::ExtrudedSolid, and RootGM::ExtrudedSolid.

◆ Put()

virtual std::ostream & VGM::IExtrudedSolid::Put ( std::ostream & out) const
pure virtual

Put the printing of the solid parameters in the out stream.

Implements VGM::ISolid.

Implemented in BaseVGM::VExtrudedSolid.


The documentation for this class was generated from the following file: