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 the line segment.  
const OdGeVector3d& vect 
[in] A 3D vector that defines the line direction and second point. 

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 the points: point and point + vect. The vect vector can have a zero length.

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