Introduction

Getting Started

Programming Guides

API Reference

Additional Resources

Show_Grid

Functions

void DShow_Grid (HC_KEY key, char *type, HC_DPOINT *origin, HC_DPOINT *ref1, HC_DPOINT *ref2, int *count1, int *count2)
 Similar to Show_Grid(), but returns double-precision values. More...
 
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. More...
 

Detailed Description

Function Documentation

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

Similar to Show_Grid(), but returns double-precision values.

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

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.