OGLplus  (0.59.0) a C++ wrapper for rendering APIs

eagine::math::basic_line< T, N, V > Class Template Reference

Basic template for lines in N-dimensional space. More...

#include <eagine/math/primitives.hpp>

Public Member Functions

constexpr basic_line () noexcept=default
 Default constructor.
 
constexpr basic_line (tvec< T, N, V > orig, tvec< T, N, V > dir) noexcept
 Construction from origin point and direction vector.
 
constexpr auto origin () const noexcept -> vector< T, N, V >
 Returns the line origin.
 
constexpr auto direction () const noexcept -> vector< T, N, V >
 Returns the line direction.
 
constexpr auto point_at (T t) const noexcept -> vector< T, N, V >
 Returns a point on the line at the specified parameter t.
 

Detailed Description

template<typename T, int N, bool V>
class eagine::math::basic_line< T, N, V >

Basic template for lines in N-dimensional space.


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

Copyright © 2015-2021 Matúš Chochlík.
<chochlik -at -gmail.com>
Documentation generated on Tue Apr 13 2021 by Doxygen (version 1.8.17).