1GENLIB_HEIGHT.3(October 1, 1997) GENLIB_HEIGHT.3(October 1, 1997)
2
3
4
6 GENLIB_HEIGHT - compute the height of a model
7
9 #include <genlib.h>
10 long GENLIB_HEIGHT(cellname)
11 char ∗cellname;
12
14 cellname Name of the cell which height is needed
15
17 HEIGHT looks for the figure called cellname on memory, and then on
18 disk. When found, the figure abutment box height is calculated, and
19 returned.
20
22 HEIGHT returns a long int being the cell abutment box height.
23
25 #include <genlib.h>
26 long cellHeight;
27 main()
28 {
29 cellHeight = GENLIB_HEIGHT("mycell");
30 GENLIB_DEF_PHFIG("grumf_z");
31 GENLIB_PLACE("na2_y","ins1", NOSYM, 3 * cellHeight, 0L);
32 /∗ Save all that on disk ∗/
33 GENLIB_DEF_AB(0L, 0L, 0L, 0L);
34 GENLIB_SAVE_PHFIG();
35 }
36
38 genlib(1), GENLIB_WIDTH(3).
39
40
41
42
43
44
45PROCEDURAL GENERATION LANGUAGE ASIM/LIP6 GENLIB_HEIGHT.3(October 1, 1997)