double axl_node_annotate_get_double ( axlNode node,
const char *  key,
bool  lookup_in_parent 
)

Allows to retreive the annotated double value stored on the particular node, under the provided key.

Parameters:
node The node that is required to return the annotated data.
key The key to be used to lookup for the data annotated.
lookup_in_parent Once the lookup fails, this variable allows to signal the function to also lookup the value in the parent nodes. This mechanism allows to store data on parent nodes that are shared by child nodes.
NOTE: To make this function work properly you must store double values using axl_node_annotate_double. Storing values using other functions will lead to unpredictable results.

Returns:
The double value stored using axl_node_annotate_double. If the key provided doesn't exists, the function returns 0.0.