clan::LineRay3x< Type > Class Template Reference

3D line ray More...

#include <line_ray.h>

Public Member Functions

 LineRay3x ()
 
 LineRay3x (const LineRay3x< Type > &copy)=default
 
 LineRay3x (const Vec3< Type > &point_p, const Vec3< Type > &direction_v)
 
bool operator!= (const LineRay3x< Type > &line) const
 != operator.
 
LineRay3x< Type > & operator= (const LineRay3x< Type > &copy)=default
 = operator.
 
bool operator== (const LineRay3x< Type > &line) const
 == operator.
 

Public Attributes

Vec3< Type > p
 Start point on the line ray.
 
Vec3< Type > v
 

Detailed Description

template<typename Type>
class clan::LineRay3x< Type >

3D line ray

A ray has a start point and a direction
These line templates are defined for: int (LineRay3), float (LineRay3f), double (LineRay3d)

Constructor & Destructor Documentation

◆ LineRay3x() [1/3]

template<typename Type>
clan::LineRay3x< Type >::LineRay3x ( )
inline

References p, and v.

Referenced by LineRay3x(), operator!=(), operator=(), and operator==().

◆ LineRay3x() [2/3]

template<typename Type>
clan::LineRay3x< Type >::LineRay3x ( const LineRay3x< Type > & copy)
default

References LineRay3x().

◆ LineRay3x() [3/3]

template<typename Type>
clan::LineRay3x< Type >::LineRay3x ( const Vec3< Type > & point_p,
const Vec3< Type > & direction_v )
inline

References p, and v.

Member Function Documentation

◆ operator!=()

template<typename Type>
bool clan::LineRay3x< Type >::operator!= ( const LineRay3x< Type > & line) const
inline

!= operator.

References LineRay3x(), clan::line, p, and v.

◆ operator=()

template<typename Type>
LineRay3x< Type > & clan::LineRay3x< Type >::operator= ( const LineRay3x< Type > & copy)
default

= operator.

References LineRay3x().

◆ operator==()

template<typename Type>
bool clan::LineRay3x< Type >::operator== ( const LineRay3x< Type > & line) const
inline

== operator.

References LineRay3x(), clan::line, p, and v.

Member Data Documentation

◆ p

template<typename Type>
Vec3<Type> clan::LineRay3x< Type >::p

Start point on the line ray.

Referenced by LineRay3x(), LineRay3x(), operator!=(), and operator==().

◆ v

template<typename Type>
Vec3<Type> clan::LineRay3x< Type >::v

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