API Reference > OdGe Classes > OdGeLine3d Class > OdGeLine3d Methods > set Method > OdGeLine3d::set Method (OdGePoint3d&, OdGeVector3d&)
OdGeLine3d::set Method (OdGePoint3d&, OdGeVector3d&)
Syntax
C++
OdGeLine3d& set(const OdGePoint3d& point, const OdGeVector3d& vect);
Parameters 
Description 
const OdGePoint3d& point 
[in] A 3D point on a line.  
const OdGeVector3d& vect 
[in] Any 3D vector. 

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

 

point and vect construct an infinite line passing through point with a direction of vect. vect cannot have a zero length.

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