PrimGenGBOXObject

Section: C Library Functions (3)
Updated: IRIT Version 6.0
Index Return to Main Contents
 

NAME

PrimGenGBOXObject()  

SYNOPSIS

geom_lib/primitiv.c:119

IPObjectStruct *PrimGenGBOXObject(VectorType Pt,
                                  VectorType Dir1,
                                  VectorType Dir2,
                                  VectorType Dir3)
 

DESCRIPTION

Routine to create a GBOX geometric object defined by Pt - the minimum
 3d point, and 3 direction Vectors Dir1, Dir2, Dir3. If two of the direction vectors are parallel the GBOX degenerates to a zero volume object. A NULL pointer is returned in that case.
                                                       4
 Order of vertices is as                           5       7
 follows in the picture:                           |   6   |
                                                   |   |   |
 (Note vertex 0 is hidden behind edge 2-6)         |   |   |
                                                   1   |   3
                                                       2  

PARAMETERS:

Pt: Low end corner of GBOX.

Dir1, Dir2, Dir3: Three independent directional vectors to define GBOX.  

FUNCTION RETURN VALUE

IPObjectStruct *: A GBOX primitive.

 

ORIGIN

(C) Copyright 1989/90-95 Gershon Elber, Technion, IIT


 

Index

NAME
SYNOPSIS
DESCRIPTION
PARAMETERS:
FUNCTION RETURN VALUE
ORIGIN

This document was created by man2html, using the manual pages.
Time: 07:27:50 GMT, July 20, 2024