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 a start of a segment.  
const OdGePoint2d& point2 
[in] Second 2D point that represents an end of a segment. 

Constructor for the OdGeLineSeg2d class. 

 

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