DOKK / manpages / debian 10 / alliance / GENLIB_HEIGHT.3.en
GENLIB_HEIGHT.3(October 1, 1997) GENLIB_HEIGHT.3(October 1, 1997)

GENLIB_HEIGHT - compute the height of a model

#include <genlib.h>
long GENLIB_HEIGHT(cellname)
char ∗cellname;

See the file buster/alliance/alc_origin.1.en.gz.

Name of the cell which height is needed

HEIGHT looks for the figure called cellname on memory, and then on disk. When found, the figure abutment box height is calculated, and returned.

HEIGHT returns a long int beeing the cell abutment box height.

#include <genlib.h>
long cellHeight;
main()
{
	cellHeight = GENLIB_HEIGHT("mycell");
	GENLIB_DEF_PHFIG("grumf_z");
	GENLIB_PLACE("na2_y","ins1", NOSYM, 3 * cellHeight, 0L);
	/∗ Save all that on disk ∗/
	GENLIB_DEF_AB(0L, 0L, 0L, 0L);
	GENLIB_SAVE_PHFIG();
}

genlib(1), GENLIB_WIDTH(3).

See the file buster/alliance/alc_bug_report.1.en.gz.

ASIM/LIP6 PROCEDURAL GENERATION LANGUAGE