API Reference > Classes > Geometry Classes > OdBmModelerGeometry Class > OdBmModelerGeometry Methods > OdBmModelerGeometry::worldDraw Method
OdBmModelerGeometry::worldDraw Method
Syntax
C++
virtual bool worldDraw(OdGiCommonDraw* pWd, OdUInt32 geomType, const NumIsolines * pNumIsolines = 0) = 0;
Parameters 
Description 
OdGiCommonDraw* pWd 
[in] Input pointer to the OdGiCommonDraw interface.  
OdUInt32 geomType 
[in] Input geometry type.  
const NumIsolines * pNumIsolines = 0 
[in] Input number of isolines in U and V directions. 

Returns true if and only if the geometric representation can be generated *in* a viewport-independent manner.

Creates a viewport-independent geometric representation of this BmModelerGeometry object.

geomType must be a combination of one or more of the following: 

table Name Value kNothing 0 kIsolines 1 kEdges 2 kShells 4 kOrderedEdges 8 kSurfIsolines 16

A return value of false indicates that viewportDraw() must be called of this object. 

The 3D GS will call this function at least once, but may cache subsequent *display* updates. 

 

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.