API Reference > OdGe Classes > OdGeLineSeg3d Class > OdGeLineSeg3d Methods > set Method > OdGeLineSeg3d::set Method (OdGePoint3d&, OdGeVector3d&)
OdGeLineSeg3d::set Method (OdGePoint3d&, OdGeVector3d&)
Syntax
C++
OdGeLineSeg3d& set(const OdGePoint3d& point, const OdGeVector3d& vect);
Parameters 
Description 
const OdGePoint3d& point 
[in] Start point of a line segment.  
const OdGeVector3d& vect 
[in] A 3D vector that defines the line direction and second point. 

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

 

point and vect construct a line segment between the points: point and point + vect. vect can have a zero length.

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