Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdGeRay2d::set Method (const OdGePoint2d&, const OdGeVector2d&)
Syntax
C++
OdGeRay2d& set(const OdGePoint2d& point, const OdGeVector2d& vect);

Sets the parameters for this ray according to the arguments. 

 

Parameters
Description
point
[in] A 2D point from which the ray is casted.
vect
[in] The direction of ray.

Reference to this ray.

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

Copyright © 2002-2022. Open Design Alliance All rights reserved.