API Reference > OdIfc Namespace > Classes > OdIfcEntity Class > OdIfcEntity Methods > OdIfcEntity::asPoint2d Method
OdIfcEntity::asPoint2d Method
Syntax
C++
static OdGePoint2d* asPoint2d(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 OdGePoint2d class.

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

The method returns a valid raw pointer to the OdGePoint2d object if the resolution result is equal to kResPoint3d or kResPoint2d; otherwise, the method returns a NULL pointer.

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