Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbPolyline::onSegAt Method
Syntax
C++
virtual bool onSegAt(unsigned int segmentIndex, const OdGePoint2d& point2d, double& param) const;

Returns true if and only if the specified OCS point is on the specified segment of this Polyline entity, and returns the parameter of that point on the segment. 

 

Parameters
Description
segmentIndex
[in] Segment index.
point2d
[in] The OCS point to query.
param
[out] The parameter at that point.

The returned parameter will be in the parametric form of the segment (linear or arc).

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