API Reference > OdGe Classes > OdGeLineSeg3d Class > OdGeLineSeg3d Methods > set Method > OdGeLineSeg3d::set Method (OdGePoint3d&, OdGePoint3d&)
OdGeLineSeg3d::set Method (OdGePoint3d&, OdGePoint3d&)
Syntax
C++
OdGeLineSeg3d& set(const OdGePoint3d& point1, const OdGePoint3d& point2);
Parameters 
Description 
const OdGePoint3d& point1 
[in] First point of a line segment.  
const OdGePoint3d& point2 
[in] Second point of a line segment. 

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

 

point1 and point2 construct a line segment between points point1 and point2. The points can be coincident.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.