41 std::string(
"The \"LOCAL_CARTESIAN_OFFSET\" element defines an offset")+
42 std::string(
"in cartesian coordinates, relative to the last placed ")+
43 std::string(
"element.");
47 "LOCAL_CARTESIAN_OFFSET",
50 "x component of position of end of the offset in coordinate system of the end of the upstream element [m].");
52 "y component of position of end of the offset in coordinate system of the end of the upstream element [m].");
54 "x component of normal of end of the offset in coordinate system of the end of the upstream element [m].");
56 "y component of normal of end of the offset in coordinate system of the end of the upstream element [m].");
double getReal(const Attribute &attr)
Return real value.
Attribute makeReal(const std::string &name, const std::string &help)
Make real attribute.
ElementBase * getElement() const
Return the embedded CLASSIC element.
void setElement(ElementBase *)
Assign new CLASSIC element.
const std::string & getOpalName() const
Return object name.
std::vector< Attribute > itsAttr
The object attributes.
static Offset localCartesianOffset(std::string name, Vector_t end_position, Vector_t end_direction)
virtual void print(std::ostream &) const
Print the object.
void registerOwnership() const
OpalLocalCartesianOffset()
virtual ~OpalLocalCartesianOffset()
virtual void print(std::ostream &) const
virtual OpalLocalCartesianOffset * clone()
static const std::string doc_string