fastest 3D software for linux

Linux 3D
interactive ray-tracing
[1 introduction] [2 overview] [3 reference] [4 GUI]

Index

 E3dModel_GetBoundingSphere


E3dModel_GetBoundingSphere

Compute minimum enclosing sphere of a Model

Syntax
EBool E3dModel_GetBoundingSphere(E3dModel* PModel, E3dCoord3* PCenterPtr, E3dCoordinate* PRadiusPtr, unsigned int PWhatToInclude)

Arguments
E3dModel* PModel Pointer to the Model E3dCoord3* PCenterPtr Center of the sphere E3dCoordinate* PRadiusPtr Radius of the sphere unsigned int PWhatToInclude Flags to indicate what components to consider
Description
Computes the minimum enclosing sphere of a Model. PWhatToInclude may be E3dBB_SELECTED_GEOMETRY or E3dBB_ALL.

Return value
TRUE if there is a valid sphere, FALSE otherwise (e.g. the Model has no Geometries).
© 1996-2022 By Gabor Nagy