63 ON_Ray(ON_3dPoint &origin, ON_3dVector &dir);
64 ON_Ray(ON_2dPoint &origin, ON_2dVector &dir);
68 ON_3dPoint
PointAt(
double t)
const;
69 double DistanceTo(
const ON_3dPoint &pt,
double *out_t = NULL)
const;
82 : m_origin(origin), m_dir(dir)
88 : m_origin(origin), m_dir(dir)
94 : m_origin(r.m_origin), m_dir(r.m_dir)
120 double c1 = w *
m_dir;
130 return p.DistanceTo(pt);
149BREP_EXPORT
void brep_r(
const ON_Surface* surf,
const plane_ray& pr, pt2d_t uv, ON_3dPoint& pt, ON_3dVector& su, ON_3dVector& sv, pt2d_t R);
Header file for the BRL-CAD common definitions.
void brep_newton_iterate(const plane_ray &pr, pt2d_t R, const ON_3dVector &su, const ON_3dVector &sv, pt2d_t uv, pt2d_t out_uv)
void utah_ray_planes(const ON_Ray &r, ON_3dVector &p1, double &p1d, ON_3dVector &p2, double &p2d)
ON_3dPoint PointAt(double t) const
ON_Ray(ON_3dPoint &origin, ON_3dVector &dir)
double DistanceTo(const ON_3dPoint &pt, double *out_t=NULL) const
ON_Ray & operator=(const ON_Ray &r)
int brep_get_plane_ray(const ON_Ray &r, plane_ray &pr)
bool IntersectRay(const ON_Ray &v, ON_2dPoint &isect) const
void brep_r(const ON_Surface *surf, const plane_ray &pr, pt2d_t uv, ON_3dPoint &pt, ON_3dVector &su, ON_3dVector &sv, pt2d_t R)
fastf_t vect_t[ELEMENTS_PER_VECT]
3-tuple vector
double fastf_t
fastest 64-bit (or larger) floating point type