system
The vocabulary types everything else shares
Loading...
Searching...
No Matches
Line< T > Struct Template Reference

#include <Shape.hpp>

Public Member Functions

template<typename = typename std::enable_if<std::is_arithmetic<T>::value>::type>
bool operator== (const Line &other) const
 
bool same (const Line &other) const
 

Public Attributes

Vector2< T > p1
 
Vector2< T > p2
 

Member Function Documentation

◆ operator==()

template<typename T >
template<typename = typename std::enable_if<std::is_arithmetic<T>::value>::type>
bool Line< T >::operator== ( const Line< T > &  other) const
inline

◆ same()

template<typename T >
bool Line< T >::same ( const Line< T > &  other) const
inline

Member Data Documentation

◆ p1

template<typename T >
Vector2<T> Line< T >::p1

◆ p2

template<typename T >
Vector2<T> Line< T >::p2

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