HC_Show_Grid
-
void
HC_Show_Grid(Key key, char *type, Point *origin, Point *ref1, Point *ref2, int *count1, int *count2) - void HC_Show_Grid(Key key, char type, Point origin, Point ref1, Point ref2, int count1, int count2)
Retrieves the original definition of a grid.
This routine retrieves the information used to define the grid that corresponds to the given key. You could use this ability, for example, to figure the locations of the offset1 and offset2 returned by Show_Selection_Element() .
HC_Insert_Grid, HC_Insert_Mesh, HC_Show_Selection_Element, HC_Get_Selection, HC_Begin_Contents_Search, HC_Compute_Coordinates.Parameters
key: Unique numeric identifier pointing to a grid in the database.
type: Special constant. Returned to caller. Passed by reference always.
origin: The x-y-z triplet for the coordinates of the “start point” of the grid. Returned to caller. Passed by reference always.
ref1: The x-y-z triplet for the coordinates of the first point “to the right of” origin. Returned to caller. Passed by reference always.
ref2: The x-y-z triplet for the coordinates of the first point “above” origin. Returned to caller. Passed by reference always.
count1: Number of grid units in the primary direction. Returned to caller. Passed by reference always.
count2: Number of units in the secondary direction. Returned to caller. Passed by reference always.