API Reference > OdGe Classes > OdGeLine3d Class > OdGeLine3d Constructor > OdGeLine3d::OdGeLine3d Constructor (OdGePoint3d&, OdGePoint3d&)
OdGeLine3d::OdGeLine3d Constructor (OdGePoint3d&, OdGePoint3d&)
Syntax
C++
OdGeLine3d(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. 

Constructor for the OdGeLine3d class. 

 

Constructs an infinite line that passes through the first and second points. The passed points should not be coincident.

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