Public Member Functions | Public Attributes | Friends | List of all members
ion::SLine3< T, Vector > Class Template Reference

3D line segment More...

#include <SLine3.h>

Public Member Functions

 SLine3 (Vector const &start, Vector const &end)
 
Vector GetMiddle () const
 
Vector GetVector () const
 
T Length () const
 

Public Attributes

Vector Start
 
Vector End
 

Friends

T Length (Type const &Line)
 

Detailed Description

template<typename T, typename Vector = vec3<T>>
class ion::SLine3< T, Vector >

3D line segment

Constructor & Destructor Documentation

template<typename T , typename Vector = vec3<T>>
ion::SLine3< T, Vector >::SLine3 ( Vector const &  start,
Vector const &  end 
)
inline

Member Function Documentation

template<typename T , typename Vector = vec3<T>>
Vector ion::SLine3< T, Vector >::GetMiddle ( ) const
inline
template<typename T , typename Vector = vec3<T>>
Vector ion::SLine3< T, Vector >::GetVector ( ) const
inline
template<typename T , typename Vector = vec3<T>>
T ion::SLine3< T, Vector >::Length ( ) const
inline

Friends And Related Function Documentation

template<typename T , typename Vector = vec3<T>>
T Length ( Type const &  Line)
friend

Member Data Documentation

template<typename T , typename Vector = vec3<T>>
Vector ion::SLine3< T, Vector >::End
template<typename T , typename Vector = vec3<T>>
Vector ion::SLine3< T, Vector >::Start

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