DIPlib Documentation - ©1995-2014 Quantitative Imaging Group, Delft University of Technology.

CoordinateArrayNew

Array allocation function

SYNOPSIS

dip_Error dip_CoordinateArrayNew ( array, ndims, size, resources )

FUNCTION

This function allocates the size elements of a dip_CoordinateArray and sets the size of the array to size. Each element has ndims values, to store coordinates of an ndims-dimensional image. Each array element is initialized to 0.

ARGUMENTS

Data typeNameDescription
dip_CoordinateArray *arrayArray
dip_intndimsDimensionality
dip_intsizeSize
dip_ResourcesresourcesResources tracking structure. See ResourcesNew

SEE ALSO

CoordinateArrayNew, CoordinateArrayFree

ArrayNew, IntegerArrayNew, FloatArrayNew, ComplexArrayNew, BoundaryArrayNew, FrameWorkProcessArrayNew, DataTypeArrayNew, ImageArrayNew, BooleanArrayNew, VoidPointerArrayNew, StringArrayNew, CoordinateArrayNew