API Reference > Other Classes > OdModelerGeometry Class > OdModelerGeometry Methods > OdModelerGeometry::worldDraw Method
OdModelerGeometry::worldDraw Method
Syntax
C++
virtual bool worldDraw(OdGiCommonDraw* pWd, OdUInt32 geomType, const NumIsolines * pNumIsolines = 0) = 0;
Parameters 
Description 
OdGiCommonDraw* pWd 
[in] Pointer to the OdGiCommonDraw interface.  
OdUInt32 geomType 
[in] Geometry type.  
const NumIsolines * pNumIsolines = 0 
[in] 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 ModelerGeometry object.

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

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

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

 

Name 
Value 
kNothing 
kIsolines 
kEdges 
kShells 
kOrderedEdges 
kSurfIsolines 
16 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.