Public Member Functions
towr::NodesVariablesAll Class Reference

Node variables used to construct the base motion spline. More...

#include <nodes_variables_all.h>

Inheritance diagram for towr::NodesVariablesAll:
Inheritance graph
[legend]

List of all members.

Public Member Functions

std::vector< NodeValueInfoGetNodeValuesInfo (int idx) const override
 Node values affected by one specific optimization variable.
 NodesVariablesAll (int n_nodes, int n_dim, std::string variable_id)
virtual ~NodesVariablesAll ()

Detailed Description

Node variables used to construct the base motion spline.

Every node is optimized over, in contrast to PhaseNodes, where multiple nodes in the spline are represented by the same optimization variables.

Definition at line 45 of file nodes_variables_all.h.


Constructor & Destructor Documentation

towr::NodesVariablesAll::NodesVariablesAll ( int  n_nodes,
int  n_dim,
std::string  variable_id 
)
Parameters:
n_nodesNumber of nodes to construct the spline.
n_dimNumber of dimensions of each node.
variable_idName of this variables set in the optimization.

Definition at line 34 of file nodes_variables_all.cc.


Member Function Documentation

std::vector< NodesVariablesAll::NodeValueInfo > towr::NodesVariablesAll::GetNodeValuesInfo ( int  opt_idx) const [override, virtual]

Node values affected by one specific optimization variable.

Parameters:
opt_idxThe index (=row) of the optimization variable.
Returns:
All node values affected by this optimization variable.

This function determines which node values are optimized over, and which nodes values are set by the same optimization variable.

Reverse of GetOptIndex().

Implements towr::NodesVariables.

Definition at line 46 of file nodes_variables_all.cc.


The documentation for this class was generated from the following files:


towr
Author(s): Alexander W. Winkler
autogenerated on Mon Apr 15 2019 02:42:32