Class CoordinateConstraintVars#

Inheritance Relationships#

Base Type#

Class Documentation#

class CoordinateConstraintVars : public Karana::Dynamics::BilateralConstraintBaseVars#

The Vars for the CoordinateConstraint class.

Public Functions

CoordinateConstraintVars(const kc::ks_ptr<CoordinateConstraint> &cc)#

CoordinateConstraintVars constructor. The constructor is not meant to be called directly. Please use the create(…) method instead to create an instance.

Parameters:

cc – The constraint associated with this CoordinateConstraintVars.

~CoordinateConstraintVars()#

Destructor.

virtual kc::NestedVars getAllVars() const override#

Get all the Vars that this VarHolder has.

Returns:

A map of Vars, where the Var name is the key and the Var is the value.

Public Members

kc::ks_ptr<Karana::Core::Var_T<double>> scale_ratio#

The scale ratio for the CoordinateConstraint.

Public Static Functions

static kc::ks_ptr<CoordinateConstraintVars> create(const kc::ks_ptr<CoordinateConstraint> &cc)#

Create an instance of the CoordinateConstraintVars.

Parameters:

cc – The constraint associated with this CoordinateConstraintVars.

Returns:

A pointer to the newly created instance of CoordinateConstraintVars.