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 the line segment.  
const OdGePoint3d& point2 
[in] Second point of the line segment. 

Reference to this OdGeLineSeg3d object.

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

 

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

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