API Reference > OdIfc Namespace > Classes > OdIfcModelerGeometry Class > OdIfcModelerGeometry Methods > OdIfcModelerGeometry::box Method
OdIfcModelerGeometry::box Method
Syntax
C++
virtual OdResult box(const OdGePoint3d& ptOrigin, const OdGeVector3d& vSizes) = 0;
Parameters 
Description 
const OdGePoint3d& ptOrigin 
[in] A point that defines the box position.  
const OdGeVector3d& vSizes 
[in] The box sizes. 

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

Creates a box body in the geometry modeler object. 

 

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