Move Vectormath main
C++20 game and graphics mathematics
Loading...
Searching...
No Matches
mv::math::Line3< T > Class Template Reference

#include <mv/math/geometry/Line3.hpp>

Public Types

using Component = T
 

Public Member Functions

 Line3 () noexcept=default
 
 Line3 (const Point3< T > &origin, const Direction3< T > &direction) noexcept
 
const Point3< T > & Origin () const noexcept
 
const Direction3< T > & Direction () const noexcept
 
Point3< T > PointAt (T signedDistance) const noexcept
 
bool IsFinite () const noexcept
 

Detailed Description

template<typename T>
requires std::is_floating_point_v<T>
class mv::math::Line3< T >

Definition at line 15 of file Line3.hpp.

Member Typedef Documentation

◆ Component

template<typename T >
using mv::math::Line3< T >::Component = T

Definition at line 18 of file Line3.hpp.

Constructor & Destructor Documentation

◆ Line3() [1/2]

template<typename T >
mv::math::Line3< T >::Line3 ( )
defaultnoexcept

◆ Line3() [2/2]

template<typename T >
mv::math::Line3< T >::Line3 ( const Point3< T > &  origin,
const Direction3< T > &  direction 
)
inlinenoexcept

Definition at line 22 of file Line3.hpp.

Member Function Documentation

◆ Direction()

template<typename T >
const Direction3< T > & mv::math::Line3< T >::Direction ( ) const
inlinenoexcept

Definition at line 33 of file Line3.hpp.

◆ IsFinite()

template<typename T >
bool mv::math::Line3< T >::IsFinite ( ) const
inlinenoexcept

Definition at line 43 of file Line3.hpp.

◆ Origin()

template<typename T >
const Point3< T > & mv::math::Line3< T >::Origin ( ) const
inlinenoexcept

Definition at line 28 of file Line3.hpp.

◆ PointAt()

template<typename T >
Point3< T > mv::math::Line3< T >::PointAt ( T  signedDistance) const
inlinenoexcept

Definition at line 38 of file Line3.hpp.


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