API Reference > Classes > Database Classes > OdBmElement Class > OdBmElement Methods > OdBmElement::getGeometry Method (OdBmGeometryOptions&, OdBmObjectPtr&)
OdBmElement::getGeometry Method (OdBmGeometryOptions&, OdBmObjectPtr&)
Syntax
C++
OdResult getGeometry(const OdBmGeometryOptions& options, OdBmObjectPtr& pObj) const;
Parameters 
Description 
const OdBmGeometryOptions& options 
[in] Input GeometryOptions which are used for selection of GNodes from GElement.  
OdBmObjectPtr& pObj 
[out] Returns geometry which was collected from OdBmGElement (gometry cache) in accordance with GeometryOptions.
 

eOk if the operation completed successfully, or an appropriate error code otherwise.

Returns the part of geometry which passes the element settings. 

 

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