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

miget_dimension_start/miset_dimension_start

NAME

miget_dimension_start, miset_dimension_start - get or set the origin
of a MINC dimension

SYNOPSIS

#include <minc2.h>

int miget_dimension_start ( midimhandle_t       dimension, 
                            mivoxel_order_t     voxel_order,
                            double              *start_ptr);

int miset_dimension_start ( midimhandle_t       dimension,
                            mivoxel_order_t     voxel_order,
                            double              start);

DESCRIPTION

These functions get or set the origin of the dimension in world
coordinates. While a "start" value may be legally associated with any
dimension, it is considered meaningless when associated with an
irregularly sampled dimension.   

RETURN VALUE

Returns MI_NOERROR on success, or MI_ERROR on failure.



Robert VINCENT 2005-03-09