20#ifndef _CONTOUR_FRAME_H__
21#define _CONTOUR_FRAME_H__
23#include "mbsim/frames/frame.h"
32 virtual const fmatvec::Vec2& evalZeta() {
if(updPos) updatePositions();
return zeta; }
33 virtual const fmatvec::Vec2& getZeta(
bool check=
true) { assert((not check) or (not updPos));
return zeta; }
34 void setZeta(
const fmatvec::Vec2 &zeta_) {
zeta = zeta_; }
35 virtual double evalEta() {
if(updPos) updatePositions();
return zeta(0); }
36 virtual double evalXi() {
if(updPos) updatePositions();
return zeta(1); }
37 virtual double getEta(
bool check=
true) { assert((not check) or (not updPos));
return zeta(0); }
38 virtual double getXi(
bool check=
true) { assert((not check) or (not updPos));
return zeta(1); }
39 void setEta(
double eta) {
zeta(0) = eta; }
40 void setXi(
double xi) {
zeta(1) = xi; }
42 void initializeUsingXML(xercesc::DOMElement *element)
override;
Definition: contour_frame.h:27
fmatvec::Vec2 zeta
contour parameters of the frame
Definition: contour_frame.h:48
std::string name
name of element
Definition: element.h:260
cartesian frame on bodies used for application of e.g. links and loads
Definition: frame.h:39
Frame(const std::string &name="dummy")
constructor
Definition: frame.cc:48
namespace MBSim
Definition: bilateral_constraint.cc:30