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

Constructor for the OdGeRay3d 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.