Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbMline::element Method
Syntax
C++
int element(const OdGePoint3d & pt) const;

Attempts to find which element of the Mline object contains the point.

Parameters
Description
pt
[in] Point to find intersection with Mline elements.

If an element is not found that directly contains the point and the Mline object is not closed, then the ends of the MLine object are virtually extended to see if point lies in the path of any element. If successful, the index number of the element that contains point is returned. If not successful, then -1 is returned.

Copyright © 2002-2022. Open Design Alliance All rights reserved.