API Reference > Classes > Main Classes > OdBmDirectShape Class > OdBmDirectShape Methods > OdBmDirectShape::isValidGeometry Method
OdBmDirectShape::isValidGeometry Method
Syntax
C++
OdResult isValidGeometry(const OdBmGeometryPtr& pGeometry) const;
Parameters 
Description 
const OdBmGeometryPtr& pGeometry 
[in] A smart pointer to an OdBmGeometry object that contains the geometry to be validated.  

eOk if the geometry is valid; otherwise the method returns an appropriate error code illustrating errors found in the geometry.

Validates the geometry stored in the DirectShape element.

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