Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdGeLineSeg2d::set Method (const OdGePoint2d&, const OdGePoint2d&)
Syntax
C++
OdGeLineSeg2d& 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 represents the start of the segment.
point2
[in] Second 2D point that represents the end of the segment.

Reference to this OdGeLineSeg2d object.

Constructs a line segment between points point1 and point2. The points cannot coincide.

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