aimstil  5.0.5
til::geo::IsIncludedIn::PointInCircumcircle2D_counterclockwise< TPrec, TPoint > Struct Template Reference

Checks if a 2D point lies within the circumcircle of a triangle, whose vertices are given in a counterclockwise fashion. More...

#include <cathier/geometrics.h>

Public Member Functions

bool operator() (const TPoint &p, const TPoint &a, const TPoint &b, const TPoint &c)
 < True iff point lies within circumcircle. More...
 

Detailed Description

template<typename TPrec, typename TPoint>
struct til::geo::IsIncludedIn::PointInCircumcircle2D_counterclockwise< TPrec, TPoint >

Checks if a 2D point lies within the circumcircle of a triangle, whose vertices are given in a counterclockwise fashion.

Definition at line 245 of file geometrics.h.

Member Function Documentation

◆ operator()()

template<typename TPrec , typename TPoint >
bool til::geo::IsIncludedIn::PointInCircumcircle2D_counterclockwise< TPrec, TPoint >::operator() ( const TPoint &  p,
const TPoint &  a,
const TPoint &  b,
const TPoint &  c 
)
inline

< True iff point lies within circumcircle.

Parameters
pa point
afirst triangle vertex
bsecond triangle vertex
cthird triangle vertex.

Definition at line 249 of file geometrics.h.

References til::det(), and til::norm2().


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