P-E-R-R-Y
Utilitaires, contrats et vendors du moteur, en une seule doc
Loading...
Searching...
No Matches
Triangle< T > Struct Template Reference

#include <Shape.hpp>

Public Member Functions

template<typename = typename std::enable_if<std::is_arithmetic<T>::value>::type>
bool isInsideCircumcircle (const Vector2< T > &p)
bool isInside (Vector2< T > P)
bool operator== (const Triangle< T > &other) const
bool same (const Triangle< T > &other) const

Public Attributes

Vector2< T > p1
Vector2< T > p2
Vector2< T > p3

Member Function Documentation

◆ isInside()

template<typename T>
bool Triangle< T >::isInside ( Vector2< T > P)
inline

◆ isInsideCircumcircle()

template<typename T>
template<typename = typename std::enable_if<std::is_arithmetic<T>::value>::type>
bool Triangle< T >::isInsideCircumcircle ( const Vector2< T > & p)
inline

◆ operator==()

template<typename T>
bool Triangle< T >::operator== ( const Triangle< T > & other) const
inline

◆ same()

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

Member Data Documentation

◆ p1

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

◆ p2

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

◆ p3

template<typename T>
Vector2<T> Triangle< T >::p3

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