API Reference > OdGe Classes > OdGeRay2d Class > OdGeRay2d Constructor > OdGeRay2d::OdGeRay2d Constructor (OdGePoint2d&, OdGePoint2d&)
OdGeRay2d::OdGeRay2d Constructor (OdGePoint2d&, OdGePoint2d&)
Syntax
C++
OdGeRay2d(const OdGePoint2d& point1, const OdGePoint2d& point2);
Parameters 
Description 
const OdGePoint2d& point1 
[in] A 2D point from which the ray is casted.  
const OdGePoint2d& point2 
[in] A 2D point through which the ray passes. 

Constructor for the OdGeRay2d class. 

 

The constructor constructs a ray that is casted from the specified point, the ray passes through the point2.

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