next up previous contents
Next: miget_dimension_sizes Up: DIMENSION FUNCTIONS (39) Previous: miget_dimension_separations/miset_dimension_separations   Contents

miget_dimension_size/miset_dimension_size

NAME

miget_dimension_size, miset_dimension_size - get or set the length of a
MINC dimension

SYNOPSIS

#include <minc2.h>

int miget_dimension_size ( midimhandle_t        dimension, 
                           unsigned long        *size_ptr );

int miset_dimension_size ( midimhandle_t        dimension, 
                           unsigned long        size );

DESCRIPTION

These functions get or set the size (or length) of a MINC 2 dimension
object used in creating a new volume.  The size of a dimension
associated with an existing volume cannot be changed.  One can, however,
make a copy of an existing dimension and set the size of the copy. 

RETURN VALUE

Returns MI_NOERROR on success, MI_ERROR on failure.



Robert VINCENT 2005-03-09