API Reference > OdDb Classes > OdDbSubDMesh Class > OdDbSubDMesh Methods > OdDbSubDMesh::setWedge Method
OdDbSubDMesh::setWedge Method
Syntax
C++
OdResult setWedge(double xLen, double yLen, double zLen, OdInt32 divLength, OdInt32 divWidth, OdInt32 divHeight, OdInt32 divSlope, OdInt32 divCap, OdInt32 subDLevel);
Parameters 
Description 
double xLen 
[in] Wedge depth.  
double yLen 
[in] Wedge width.  
double zLen 
[in] Wedge height.  
OdInt32 divLength 
[in] Specify how many divisions are made along the depth direction.  
OdInt32 divWidth 
[in] Specify how many divisions are made along the width direction.  
OdInt32 divHeight 
[in] Specify how many divisions are made along the height direction.  
OdInt32 divSlope 
[in] Specify how many divisions are made along the slope direction.  
OdInt32 divCap 
[in] Specify how many radial divisions are made for the base face.  
OdInt32 subDLevel 
[in] Level of smoothness.  

Returns eOk if the operation completed successfully, or an appropriate error code otherwise.

Creates a mesh of a wedge. 

 

Copyright © 2002–2021. Open Design Alliance. All rights reserved.