SilverScreen Solid Modeler

surface_area

surface_area

Previous topic Next topic  

surface_area

Previous topic Next topic JavaScript is required for the print function  

 

SilverScreenAPI

 

BOOLEAN surface_area(BOS_NODE *bos, double *the_area);

 

BOS_NODE *bos;   // A pointer to a BOS_NODE

double   *area;  // A pointer to a double-precision floating-point value

 

 




Synopsis

#include "silver.h"

 

The surface_area function sums the surface area of all child primitives of the entity bos.

 

 

Parameters

bos is a BOS_NODE pointer to the entity whose total surface area will be calculated

the_area is a pointer to a double that will receive the total surface area of the entity

 

 

Return Value

surface_area returns TRUE if bos and the_area are valid pointers and FALSE otherwise

 

 

See Also

surface_area_prim