HC_DInsert_Grid
-
Key
HC_DInsert_Grid(char const *type, DPoint const *origin, DPoint const *ref1, DPoint const *ref2, int count1, int count2) - Key HC_DInsert_Grid(char const type, DPoint const origin, DPoint const ref1, DPoint const ref2, int count1, int count2)
Similar to Insert_Grid(), but accepts parameters of type double for increased precision.
HC_Insert_Grid().Parameters
type: Special constant.
origin: An x-y-z triplet for the coordinates of the “start point” of the grid. (A simple array of three elements may also be used in most languages.) Passed by reference always.
ref1: An x-y-z triplet for the coordinates of the first point “to the right of” origin. Passed by reference always.
ref2: An x-y-z triplet for the coordinates of the first point “above” origin. Passed by reference always.
count1: The number of grid units along the ref1 dimension.
count2: The number of grid units along the ref2 dimension.
Returns
The key to the inserted geometry, or -1 if an error occurred.