Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdModelerGeometry::worldDraw Method
Syntax
C++
virtual bool worldDraw(OdGiCommonDraw* pWd, OdUInt32 geomType, const NumIsolines * pNumIsolines = 0) = 0;

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

 

Parameters
Description
pWd
[in] Pointer to the OdGiCommonDraw interface.
geomType
[in] Geometry type.
pNumIsolines
[in] Number of isolines in U and V directions.

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

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
0
kIsolines
1
kEdges
2
kShells
4
kOrderedEdges
8
kSurfIsolines
16
Copyright © 2002-2022. Open Design Alliance All rights reserved.