Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdGeLine2d::set Method (const OdGePoint2d&, const OdGePoint2d&)
Syntax
C++
OdGeLine2d& set(const OdGePoint2d& point1, const OdGePoint2d& point2);

Sets the parameters for this line according to the arguments, and returns a reference to this line. 

 

Parameters
Description
point1
[in] First 2D point that is used to construct an infinite line.
point2
[in] Second 2D point that is used to construct an infinite line.

point1 and point2 construct an infinite line passing through both points. The points should no be coincident.

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