API Reference > OdIfc Namespace > Classes > OdIfcEntity Class > OdIfcEntity Methods > OdIfcEntity::asMatrix2d Method
OdIfcEntity::asMatrix2d Method
Syntax
C++
static OdGeMatrix2d* asMatrix2d(const OdIfcEntity * pEnt);
Parameters 
Description 
const OdIfcEntity * pEnt 
[in] A smart pointer to an entity to be resolved.  

Returns a raw pointer to an instance of the OdGeMatrix2d class.

Returns the result of the entity resolution represented as a two-dimensional matrix.

The method returns a valid raw pointer to the OdMatrix2d object if the resolution result is equal to kResMatrix2d; otherwise, the method returns a NULL pointer.

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