API Reference > OdGe Classes > OdGeRay2d Class > OdGeRay2d Constructor > OdGeRay2d::OdGeRay2d Constructor (OdGePoint2d&, OdGeVector2d&)
OdGeRay2d::OdGeRay2d Constructor (OdGePoint2d&, OdGeVector2d&)
Syntax
C++
OdGeRay2d(const OdGePoint2d& point, const OdGeVector2d& vect);
Parameters 
Description 
const OdGePoint2d& point 
[in] A 2D point from which the ray is casted.  
const OdGeVector2d& vect 
[in] The direction of ray. 

Constructor for the OdGeRay2d class. 

 

The constructor constructs a ray that is casted from the specified point to a specified direction.

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