API Reference > OdGe Classes > OdGeLineSeg3d Class > OdGeLineSeg3d Constructor > OdGeLineSeg3d::OdGeLineSeg3d Constructor (OdGePoint3d&, OdGePoint3d&)
OdGeLineSeg3d::OdGeLineSeg3d Constructor (OdGePoint3d&, OdGePoint3d&)
Syntax
C++
OdGeLineSeg3d(const OdGePoint3d& point1, const OdGePoint3d& point2);
Parameters 
Description 
const OdGePoint3d& point1 
[in] Start point of a line segment.  
const OdGePoint3d& point2 
[in] Second point of a line segment. 

Constructor for the OdGeLineSeg3d class. 

 

Points point1 and point2 can be coincident. Constructs a line segment between the specified points.

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