next up previous contents
Next: micreate_dimension Up: DIMENSION FUNCTIONS (39) Previous: miget_volume_from_dimension   Contents

micopy_dimension

NAME

micopy_dimension - create copy of the given dimension

SYNOPSIS

#include <minc2.h>

int micopy_dimension ( midimhandle_t       dim_ptr,
                       midimhandle_t       *new_dim_ptr)

DESCRIPTION

Creates a copy of the specified dimension and returns the handle to the copy

RETURN VALUE

micopy_dimension returns MI_NOERROR if it successfully copies all the 
attributes of the provided dimension and MI_ERROR otherwise



Robert VINCENT 2005-03-09