API Reference > OdGe Classes > OdGeLine2d Class > OdGeLine2d Constructor > OdGeLine2d::OdGeLine2d Constructor (OdGePoint2d&, OdGeVector2d&)
OdGeLine2d::OdGeLine2d Constructor (OdGePoint2d&, OdGeVector2d&)
Syntax
C++
OdGeLine2d(const OdGePoint2d& point, const OdGeVector2d& vect);
Parameters 
Description 
const OdGePoint2d& point 
[in] A 2D point on a line.  
const OdGeVector2d& vect 
[in] Defines the direction of the line. 

Constructor for the OdGeLine2d class. 

 

Constructs an infinite line coincident with the passed vector direction. Vector must have non-zero length.

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