20 #ifndef GDMLAPI_ConeSegment_H_
21 #define GDMLAPI_ConeSegment_H_
25 #include <GDMLPlugin_ConeSegment.h>
27 #include <ModelHighAPI_Interface.h>
28 #include <ModelHighAPI_Macro.h>
Definition: GDMLAPI_ConeSegment.h:36
virtual std::shared_ptr< ModelAPI_AttributeDouble > deltaphi() const
Angle of the segment.
Definition: GDMLAPI_ConeSegment.h:71
virtual std::shared_ptr< ModelAPI_AttributeDouble > rmax1() const
Outer radius at base of cone.
Definition: GDMLAPI_ConeSegment.h:71
virtual std::shared_ptr< ModelAPI_AttributeDouble > rmin2() const
Inner radius at top of cone.
Definition: GDMLAPI_ConeSegment.h:71
virtual std::shared_ptr< ModelAPI_AttributeDouble > z() const
Height of the cone segment.
Definition: GDMLAPI_ConeSegment.h:71
virtual ~GDMLAPI_ConeSegment()
Destructor.
Definition: GDMLAPI_ConeSegment.cpp:48
virtual void dump(ModelHighAPI_Dumper &theDumper) const
Dump wrapped feature.
Definition: GDMLAPI_ConeSegment.cpp:73
virtual std::shared_ptr< ModelAPI_AttributeDouble > rmax2() const
Outer radius at top of cone.
Definition: GDMLAPI_ConeSegment.h:71
virtual std::shared_ptr< ModelAPI_AttributeDouble > startphi() const
Start angle of the segment.
Definition: GDMLAPI_ConeSegment.h:71
GDMLAPI_ConeSegment(const std::shared_ptr< ModelAPI_Feature > &theFeature)
Constructor without values.
Definition: GDMLAPI_ConeSegment.cpp:26
void setAttributes(const ModelHighAPI_Double &theRMin1, const ModelHighAPI_Double &theRMax1, const ModelHighAPI_Double &theRMin2, const ModelHighAPI_Double &theRMax2, const ModelHighAPI_Double &theZ, const ModelHighAPI_Double &theStartPhi, const ModelHighAPI_Double &theDeltaPhi)
Set dimensions.
Definition: GDMLAPI_ConeSegment.cpp:53
virtual std::shared_ptr< ModelAPI_AttributeDouble > rmin1() const
Inner radius at base of cone.
Definition: GDMLAPI_ConeSegment.h:71
static const std::string & RMIN2_ID()
attribute name of the inner radius at top of cone
Definition: GDMLPlugin_ConeSegment.h:56
static const std::string & DELTAPHI_ID()
attribute name of the angle of the segment
Definition: GDMLPlugin_ConeSegment.h:80
static const std::string & ID()
Cone segment kind.
Definition: GDMLPlugin_ConeSegment.h:38
static const std::string & RMIN1_ID()
attribute name of the inner radius at base of cone
Definition: GDMLPlugin_ConeSegment.h:44
static const std::string & STARTPHI_ID()
attribute name of the start angle of the segment
Definition: GDMLPlugin_ConeSegment.h:74
static const std::string & Z_ID()
attribute name of the height of the cone segment
Definition: GDMLPlugin_ConeSegment.h:68
static const std::string & RMAX2_ID()
attribute name of the outer radius at top of cone
Definition: GDMLPlugin_ConeSegment.h:62
static const std::string & RMAX1_ID()
attribute name of the outer radius at base of cone
Definition: GDMLPlugin_ConeSegment.h:50
Attribute that contains real value with double precision.
Definition: ModelAPI_AttributeDouble.h:34
Document for internal data structure of any object storage.
Definition: ModelAPI_Document.h:52
Class for filling ModelAPI_AttributeDouble.
Definition: ModelHighAPI_Double.h:37
Dump engine for the model.
Definition: ModelHighAPI_Dumper.h:81
Base class for feature interfaces.
Definition: ModelHighAPI_Interface.h:42
ConeSegmentPtr addConeSegment(const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Double &theRMin1, const ModelHighAPI_Double &theRMax1, const ModelHighAPI_Double &theRMin2, const ModelHighAPI_Double &theRMax2, const ModelHighAPI_Double &theZ, const ModelHighAPI_Double &theStartPhi, const ModelHighAPI_Double &theDeltaPhi)
Create GDML ConeSegment feature.
Definition: GDMLAPI_ConeSegment.cpp:95