Sets the rank and axis lengths of seg to those of the di struct.
- Parameters:
-
| seg | DRMS segment struct whose fields will be set. |
| di | Segment information used to initialized seg. |
- Returns:
- DRMS status (see drms_statuscodes.h). 0 if successful, non-0 otherwise.
Definition at line 497 of file drms_segment.c.