API Reference > OdDb Classes > OdDb3dSolid Class > OdDb3dSolid Methods > OdDb3dSolid::createWedge Method
OdDb3dSolid::createWedge Method
Syntax
C++
virtual void createWedge(double xLen, double yLen, double zLen);
Parameters 
Description 
double xLen 
[in] Dimension along the WCS X-axis.  
double yLen 
[in] Dimension along the WCS Y-axis.  
double zLen 
[in] Dimension along the WCS Z-axis.
 

Returns eOk if successful or an appropriate error code if not.

Creates a WCS aligned wedge centered about the world origin. 

 

The inclined face is defined by the points 

( xLen/2, -yLen/2, -zLen/2) (-xLen/2, -yLen/2, zLen/2) ( xLen/2, yLen/2, -zLen/2) (-xLen/2, +yLen/2, zLen/2) 

The following constraints are applied: 

 

  • xLen >= 1e-6.
  • yLen >= 1e-6.
  • zLen >= 1e-6.
Copyright © 2002–2020. Open Design Alliance. All rights reserved.