Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
Od2dGeometryBlock::addLine Method (const OdGePoint2d&, const OdGePoint2d&)
Syntax
C++
void addLine(const OdGePoint2d& start, const OdGePoint2d& end);

Adds a new line to the geometry block object.

Parameters
Description
start
[in] A starting point of the line.
end
[in] An ending point of the line.

Any line can be defined with its two points (passed through start and end parameters).

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