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