plane::ray Class Reference

A reference point and direction. More...

Public Member Functions

 ray (const point &p, const vector &dir)
 Construct from reference point and direction. More...
 
const pointrefPoint () const noexcept
 Return the reference point. More...
 
const vectordir () const noexcept
 Return the direction. More...
 

Detailed Description

A reference point and direction.

Definition at line 113 of file plane.H.

Constructor & Destructor Documentation

◆ ray()

ray ( const point p,
const vector dir 
)
inline

Construct from reference point and direction.

Definition at line 123 of file plane.H.

Member Function Documentation

◆ refPoint()

const point& refPoint ( ) const
inlinenoexcept

Return the reference point.

Definition at line 132 of file plane.H.

◆ dir()

const vector& dir ( ) const
inlinenoexcept

Return the direction.

Definition at line 137 of file plane.H.


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