API Reference > FacetModeler Namespace > Functions > FacetModeler::DrawBody Function
FacetModeler::DrawBody Function
Syntax
C++
void FMGEOMETRY_API DrawBody(OdGiCommonDraw * pDraw, const Body & rBody, const OdGeVector3d * pViewDir = NULL);

FMDrawBody.h

Parameters 
Description 
OdGiCommonDraw * pDraw 
[in/out] Object to draw on.  
const Body & rBody 
[in] Body to draw.  
const OdGeVector3d * pViewDir = NULL 
[in] View direction vector for calculating silhouettes as OdGeVector3d. 

Draws the specified body to OdGiCommonDraw with the view direction specified. 

 

Copyright © 2002-2020. Open Design Alliance. All rights reserved.