Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
ion::STriangle2< T > Class Template Reference

2D triangle More...

#include <STriangle2.h>

Public Member Functions

 STriangle2 ()
 
 STriangle2 (vec2< T > const &v1, vec2< T > const &v2, vec2< T > const &v3)
 
bool PointInside (vec2< T > const &pt) const
 

Static Public Member Functions

static T Sign (vec2< T > const &p1, vec2< T > const &p2, vec2< T > const &p3)
 

Public Attributes

vec2< TVertices [3]
 

Detailed Description

template<typename T>
class ion::STriangle2< T >

2D triangle

Constructor & Destructor Documentation

template<typename T >
ion::STriangle2< T >::STriangle2 ( )
inline
template<typename T >
ion::STriangle2< T >::STriangle2 ( vec2< T > const &  v1,
vec2< T > const &  v2,
vec2< T > const &  v3 
)
inline

Member Function Documentation

template<typename T >
bool ion::STriangle2< T >::PointInside ( vec2< T > const &  pt) const
inline
template<typename T >
static T ion::STriangle2< T >::Sign ( vec2< T > const &  p1,
vec2< T > const &  p2,
vec2< T > const &  p3 
)
inlinestatic

Member Data Documentation

template<typename T >
vec2<T> ion::STriangle2< T >::Vertices[3]

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