BRL-CAD

#include <ray.h>

Public Member Functions

 ON_Ray (ON_3dPoint &origin, ON_3dVector &dir)
 
 ON_Ray (ON_2dPoint &origin, ON_2dVector &dir)
 
 ON_Ray (const ON_Ray &r)
 
ON_Rayoperator= (const ON_Ray &r)
 
ON_3dPoint PointAt (double t) const
 
double DistanceTo (const ON_3dPoint &pt, double *out_t=NULL) const
 
bool IntersectRay (const ON_Ray &v, ON_2dPoint &isect) const
 

Data Fields

ON_3dPoint m_origin
 
ON_3dVector m_dir
 

Detailed Description

These definitions were added to opennurbs_curve.h - they are extensions of openNURBS, so add them to libbrep instead.

Definition at line 58 of file ray.h.

Field Documentation

◆ m_origin

ON_3dPoint m_origin

Definition at line 60 of file ray.h.

Referenced by DistanceTo(), IntersectRay(), operator=(), and PointAt().

◆ m_dir

ON_3dVector m_dir

Definition at line 61 of file ray.h.

Referenced by DistanceTo(), IntersectRay(), operator=(), and PointAt().


The documentation for this class was generated from the following file: