DsCompBoundingVol(3D) — Kubota Pacfic Computer Inc. (\*(Dd)
NAME
DsCompBoundingVol − Compute dimensions of a bounding volume for an object
SYNOPSIS
C:
DtVolume ∗DsCompBoundingVol(volume, object)
DtVolume ∗volume;
DtObject object;
FORTRAN:
INTEGER∗4 DSCBV(VOLUME, OBJECT)
INTEGER∗4 OBJECT
REAL∗8 VOLUME(6)
DESCRIPTION
DsCompBoundingVol computes a bounding volume for an object, usually a primitive object or a group. The function computes a right rectangular volume that tightly encloses the given object and is parallel to the object’s modeling coordinate system. The computed volume is returned in the parameter volume. The parameter object specifies the object whose bounding volume is to be computed.
The function returns the same pointer (now pointing to the computed volume) that was passed with the function call.
ERRORS
DsCompBoundingVol will fail if the object handle is invalid.
[WARNING - invalid or deleted object]
DsCompBoundingVol will fail if Doré is already performing a traversal of the database.
[WARNING - traversal already in progress]
SEE ALSO
DoBoundingVol(3D), DoBoundingVolSwitch(3D), DoMinBoundingVolExt(3D)
September 02, 1992