Class BaseApertureShape#

Inheritance Relationships#

Base Type#

Derived Types#

Class Documentation#

class BaseApertureShape : public OrbitUtils::CppPyWrapper#

The base class for BaseApertureShapes. It defines the interface for BaseApertureShape subclasses.

Subclassed by CircleApertureShape, CompositeApertureShape, ConvexApertureShape, EllipseApertureShape, PyBaseApertureShape, RectangularApertureShape

Public Functions

BaseApertureShape()#

BaseApertureShape constructor

virtual ~BaseApertureShape()#

BaseApertureShape decstructor

virtual int inside(Bunch *bunch, int count)#

Return 1 if the particular macro-particle is inside this shape

void setCenterX(double x_center)#

Sets the center of shape in X direction

double getCenterX()#

Returns the center of shape in X direction

void setCenterY(double y_center)#

Sets the center of shape in Y direction

double getCenterY()#

Returns the center of shape in Y direction

string getName()#

Returns the shape name

void setName(string shapeName)#

Sets the shape name

string getTypeName()#

Returns the shape type name

Protected Attributes

string shapeName#
string typeName#
double x_center#
double y_center#