Brief Index      Full Index      Events Index      I.M. Reference

Show_Grid


Functions

void Show_Grid (HC_KEY key, char *type, HC_POINT *origin, HC_POINT *ref1, HC_POINT *ref2, int *count1, int *count2)
void DShow_Grid (HC_KEY key, char *type, HCD_POINT *origin, HCD_POINT *ref1, HCD_POINT *ref2, int *count1, int *count2)

Function Documentation

void Show_Grid ( HC_KEY  key,
char *  type,
HC_POINT *  origin,
HC_POINT *  ref1,
HC_POINT *  ref2,
int *  count1,
int *  count2 
)

Retrieves the original definition of a grid.

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.

DETAILS

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() .

NOTES

RESTRICTIONS

See also:
Insert_Grid, Insert_Mesh, Show_Selection_Element, Get_Selection, Begin_Contents_Search, Compute_Coordinates.

void DShow_Grid ( HC_KEY  key,
char *  type,
HCD_POINT *  origin,
HCD_POINT *  ref1,
HCD_POINT *  ref2,
int *  count1,
int *  count2 
)

Similar to Show_Grid(), but accepts and/or returns double-precision values. This command can only be used when the application source includes the HOOPS double-precision header, hcd.h.

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.

DETAILS

No additional details. See Show_Grid().

Brief Index      Full Index      Events Index      I.M. Reference