Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDb3dSolid::createWedge Method
Syntax
C++
virtual void createWedge(double xLen, double yLen, double zLen);

Creates a WCS aligned wedge centered about the world origin. 

 

Parameters
Description
xLen
[in] Dimension along the WCS X-axis.
yLen
[in] Dimension along the WCS Y-axis.
zLen
[in] Dimension along the WCS Z-axis.

eOk if successful or an appropriate error code if not.

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-2022. Open Design Alliance All rights reserved.