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

Returns the result of the entity resolution represented as a three-dimensional vector.

The method returns a valid raw pointer to the OdVector3d object if the resolution result is equal to kResVector3d or kResVector2d; otherwise, the method returns a NULL pointer.

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