Close

Relief for ODA Team in Ukraine

Learn more
ODA IFC SDK
OdIfcInstance::asPoint2d Method
Syntax
C++
static const OdGePoint2d* asPoint2d(const OdIfcInstance * inst);

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

Parameters
Description
inst
[in] A smart pointer to an instance to be resolved.

A raw pointer to an instance of the OdGePoint2d class.

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 © 2002-2022. Open Design Alliance All rights reserved.