API Reference > OdGe Classes > OdGeRay3d Class > OdGeRay3d Methods > set Method > OdGeRay3d::set Method (OdGePoint3d&, OdGeVector3d&)
OdGeRay3d::set Method (OdGePoint3d&, OdGeVector3d&)
Syntax
C++
OdGeRay3d& set(const OdGePoint3d& point, const OdGeVector3d& vect);
Parameters 
Description 
const OdGePoint3d& point 
[in] A 3D point from which the ray is casted.  
const OdGeVector3d& vect 
[in] The direction of ray. 

Returns a reference to this ray.

Sets the parameters for this ray according to the arguments. 

 

point and vect construct a semi-infinite line starting point with a direction of vect. vect cannot have a zero length.

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