40 std::string(
"The \"GLOBAL_CARTESIAN_OFFSET\" element defines an offset")+
41 std::string(
"in cartesian coordinates, relative to the last placed ")+
42 std::string(
"element.");
46 "GLOBAL_CARTESIAN_OFFSET",
49 "x component of position of end of the offset in coordinate system of the end of the upstream element.");
51 "y component of position of end of the offset in coordinate system of the end of the upstream element.");
53 "x component of normal of end of the offset in coordinate system of the end of the upstream element.");
55 "y component of normal of end of the offset in coordinate system of the end of the upstream element.");
double getReal(const Attribute &attr)
Return real value.
Attribute makeReal(const std::string &name, const std::string &help)
Make real attribute.
void setElement(ElementBase *)
Assign new CLASSIC element.
const std::string & getOpalName() const
Return object name.
std::vector< Attribute > itsAttr
The object attributes.
static Offset globalCartesianOffset(std::string name, Vector_t end_position, Vector_t end_direction)
virtual void print(std::ostream &) const
Print the object.
void registerOwnership() const
virtual void print(std::ostream &) const
OpalGlobalCartesianOffset()
static const std::string doc_string
virtual ~OpalGlobalCartesianOffset()
virtual OpalGlobalCartesianOffset * clone(const std::string &name)