API Reference > OdGe Classes > OdGeLineSeg2d Class > OdGeLineSeg2d Constructor > OdGeLineSeg2d::OdGeLineSeg2d Constructor (OdGePoint2d&, OdGePoint2d&)
OdGeLineSeg2d::OdGeLineSeg2d Constructor (OdGePoint2d&, OdGePoint2d&)
Syntax
C++
OdGeLineSeg2d(const OdGePoint2d& point1, const OdGePoint2d& point2);
Parameters 
Description 
const OdGePoint2d& point1 
[in] First 2D point that represents the start of the segment.  
const OdGePoint2d& point2 
[in] Second 2D point that represents the end of the segment. 

Constructor for objects of the OdGeLineSeg2d class. 

 

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