GAMS  1.2.2
gams::pose::undefined_transform Class Reference

Thrown when an attempt is made to transform between two frame types, and there's not transform defined. More...

#include <ReferenceFrame.h>

Inheritance diagram for gams::pose::undefined_transform:

Public Member Functions

 undefined_transform (const ReferenceFrameType *parent_frame, const ReferenceFrameType *child_frame, bool is_child_to_parent, bool unsupported_angular=false)
 The only Constructor. More...
 
 ~undefined_transform () throw ()
 

Public Attributes

const ReferenceFrameTypechild_frame
 
bool is_child_to_parent
 
const ReferenceFrameTypeparent_frame
 
bool unsupported_angular
 

Detailed Description

Thrown when an attempt is made to transform between two frame types, and there's not transform defined.

Note that between two frame types A and B, there are four different kinds of transforms, which must be defined individually: 1) From A as parent to B as its child 2) From A as child to B as its parent 3) From B as parent to A as its child 4) From B as child to A as its parent

Definition at line 1138 of file ReferenceFrame.h.

Constructor & Destructor Documentation

gams::pose::undefined_transform::undefined_transform ( const ReferenceFrameType parent_frame,
const ReferenceFrameType child_frame,
bool  is_child_to_parent,
bool  unsupported_angular = false 
)

The only Constructor.

Parameters
parent_frameof the two involved frames, the parent frame
child_frameof the two involved frames, the child frame
is_child_to_parentindicates direction of transformation
unsupported_angulartrue if the error was due to orientd reference frames not being supported for this transformation. Defaults to false;
gams::pose::undefined_transform::~undefined_transform ( )
throw (
)

Member Data Documentation

const ReferenceFrameType* gams::pose::undefined_transform::child_frame

Definition at line 1159 of file ReferenceFrame.h.

bool gams::pose::undefined_transform::is_child_to_parent

Definition at line 1160 of file ReferenceFrame.h.

const ReferenceFrameType* gams::pose::undefined_transform::parent_frame

Definition at line 1158 of file ReferenceFrame.h.

bool gams::pose::undefined_transform::unsupported_angular

Definition at line 1161 of file ReferenceFrame.h.


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