aimstil  5.0.5
til::geo::IsIncludedIn::PointInTriangle2D< TArray > Class Template Reference

Checks if a 2D point lies within a 2D triangle. More...

#include <cathier/geometrics.h>

Inheritance diagram for til::geo::IsIncludedIn::PointInTriangle2D< TArray >:

Public Types

typedef TArray::value_type prec_type
 

Public Member Functions

bool operator() (const TArray &P, const TArray &A, const TArray &B, const TArray &C)
 

Detailed Description

template<typename TArray>
class til::geo::IsIncludedIn::PointInTriangle2D< TArray >

Checks if a 2D point lies within a 2D triangle.

Definition at line 213 of file geometrics.h.

Member Typedef Documentation

◆ prec_type

template<typename TArray>
typedef TArray::value_type til::geo::IsIncludedIn::PointInTriangle2D< TArray >::prec_type

Definition at line 216 of file geometrics.h.

Member Function Documentation

◆ operator()()

template<typename TArray>
bool til::geo::IsIncludedIn::PointInTriangle2D< TArray >::operator() ( const TArray &  P,
const TArray &  A,
const TArray &  B,
const TArray &  C 
)
inline
Parameters
Pa point
Afirst triangle vertex
Bsecond triangle vertex
Cthird triangle vertex

Definition at line 219 of file geometrics.h.


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