API Reference > Other Classes > OdModelerGeometry Class > OdModelerGeometry Methods > OdModelerGeometry::createWedge Method
OdModelerGeometry::createWedge Method
Syntax
C++
virtual void createWedge(double xLen, double yLen, double zLen) = 0;
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. 

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 apply:

  • xLen >= 1e-6
  • yLen >= 1e-6
  • zLen >= 1e-6

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