public

Inheritance Graph

graph BT
	_Ray
	_Ray --> _LineBase
	click _Ray "classGeometry_1_1__Ray"
	click _LineBase "classGeometry_1_1__LineBase"

Description

Ray defined by anoriginand adirection. Points p on the ray fulfill the equation p =origin+*direction** t for t >= 0.

Public Functions

   
   
  _Ray(const vec_t & _origin, const vec_t & _direction)
   
  _Ray()
   
std::pair< value_t, value_t > getClosestValues(const _Line < vec_t > & line) const
   
void normalize()
   
void setDirection(const vec_t & newDirection)
   
void setOrigin(const vec_t & newOrigin)

Documentation

function
Geometry::_Ray::_Ray

public inline
     
     
_Ray( const vec_t & _origin,
  const vec_t & _direction
)    

Defined in Geometry/Line.h:278


function
Geometry::_Ray::_Ray

public inline
   
   
_Ray( )

Defined in Geometry/Line.h:281


function
Geometry::_Ray::getClosestValues

public const inline
     
     
std::pair< value_t, value_t > getClosestValues( const _Line < vec_t > & line ) const

See also: _Line::getClosestValues(Ray)

Defined in Geometry/Line.h:284


function
Geometry::_Ray::normalize

public inline
   
   
void normalize( )

Defined in Geometry/Line.h:288


function
Geometry::_Ray::setDirection

public inline
     
     
void setDirection( const vec_t & newDirection )

Defined in Geometry/Line.h:291


function
Geometry::_Ray::setOrigin

public inline
     
     
void setOrigin( const vec_t & newOrigin )

Defined in Geometry/Line.h:294