Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
VSACURVATURETYPE
Syntax
C++
OdInt16 VSACURVATURETYPE;
Type
OdInt16
Initial value
0
Read-Only
No
Saved In
Database
Versions
2013+

 

The VSACURVATURETYPE variable stores the type of curvature analysis which is applied to surfaces. The value can be: 

 

Value
Description
0
Gaussian curvature type calculates the area of high and low curvature values.
1
Mean curvature calculates the mean of the U and V surface curvature values.
2
Maximum curvature calculates the maximum of the U and V surface curvature values.
3
Minimum curvature calculates the minimum of the U and V surface curvature values.

 

Access Methods
OdDbDatabase::getSysVar()
OdDbDatabase::setSysVar()
 
OdDbDatabase::getVSACURVATURETYPE()
OdDbDatabase::setVSACURVATURETYPE()

 

For example, to get the value:

OdRusBufPtr pRb = pDb->getSysVar(L"VSACURVATURETYPE"); OdInt16 type = pRb->getInt16(); odPrintConsoleString(L"nCurvatture analysis type = %d", type); // or // odPrintConsoleString(L"nCurvatture analysis type = %d", pDb->getVSACURVATURETYPE());

For example, to set the value:

OdRusBufPtr pRb = OdResBuf::newRb(OdResBuf::kRtInt16, 2); pDb->setSysVar(L"VSACURVATURETYPE", pRb); // or // pDb->setVSACURVATURETYPE(3);

 

File: SysVarDefs.h 

Module: API Reference 

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