Array allocation function
dip_Error dip_CoordinateArrayNew ( array, ndims, size, resources )
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.
Data type | Name | Description |
dip_CoordinateArray * | array | Array |
dip_int | ndims | Dimensionality |
dip_int | size | Size |
dip_Resources | resources | Resources tracking structure. See ResourcesNew |
CoordinateArrayNew, CoordinateArrayFree
ArrayNew, IntegerArrayNew, FloatArrayNew, ComplexArrayNew, BoundaryArrayNew, FrameWorkProcessArrayNew, DataTypeArrayNew, ImageArrayNew, BooleanArrayNew, VoidPointerArrayNew, StringArrayNew, CoordinateArrayNew