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

#include <mv/math/queries/QueryTypes.hpp>

Public Member Functions

T Distance () const noexcept
 

Public Attributes

Point3< T > PointOnLine
 
T LineDistance
 
T SquaredDistance
 

Detailed Description

template<typename T>
requires std::is_floating_point_v<T>
struct mv::math::PointLineClosest3< T >

Definition at line 20 of file QueryTypes.hpp.

Member Function Documentation

◆ Distance()

template<typename T >
T mv::math::PointLineClosest3< T >::Distance ( ) const
inlinenoexcept

Definition at line 26 of file QueryTypes.hpp.

Member Data Documentation

◆ LineDistance

template<typename T >
T mv::math::PointLineClosest3< T >::LineDistance

Definition at line 23 of file QueryTypes.hpp.

◆ PointOnLine

template<typename T >
Point3<T> mv::math::PointLineClosest3< T >::PointOnLine

Definition at line 22 of file QueryTypes.hpp.

◆ SquaredDistance

template<typename T >
T mv::math::PointLineClosest3< T >::SquaredDistance

Definition at line 24 of file QueryTypes.hpp.


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