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

Constructor for the OdGeLineSeg3d class. 

 

Constructs 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.