GAMS  1.4.0
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 1312 of file ReferenceFrame.h.

Constructor & Destructor Documentation

◆ undefined_transform()

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;

◆ ~undefined_transform()

gams::pose::undefined_transform::~undefined_transform ( )
throw (
)

Member Data Documentation

◆ child_frame

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

Definition at line 1333 of file ReferenceFrame.h.

◆ is_child_to_parent

bool gams::pose::undefined_transform::is_child_to_parent

Definition at line 1334 of file ReferenceFrame.h.

◆ parent_frame

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

Definition at line 1332 of file ReferenceFrame.h.

◆ unsupported_angular

bool gams::pose::undefined_transform::unsupported_angular

Definition at line 1335 of file ReferenceFrame.h.


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