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

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

 

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

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