API Reference > OdIfc Namespace > Classes > OdIfcModelerGeometry Class > OdIfcModelerGeometry Methods > OdIfcModelerGeometry::rectangularPyramid Method
OdIfcModelerGeometry::rectangularPyramid Method
Syntax
C++
virtual OdResult rectangularPyramid(const OdGePoint3d& ptOrigin, double xLength, double yLength, double height) = 0;
Parameters 
Description 
const OdGePoint3d& ptOrigin 
[in] A point that defines the position of the pyramid.  
double xLength 
[in] A length of the pyramid along the X-axis.  
double yLength 
[in] A length of the pyramid along the Y-axis.  
double height 
[in] A height of the pyramid. 

Returns the operation result code: eOk if the pyramid was successfully created; otherwise, the method returns an appropriate error code.

Creates a rectangular pyramid body in the geometry modeler object. 

 

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.