aimstil  5.0.5
til::geo::Triangle2Segment< TArray > Class Template Reference

Approximate an ill-conditionned triangle by a segment. More...

#include <cathier/geometrics.h>

Public Types

typedef TArray::value_type prec_type
 

Public Member Functions

bool operator() (const TArray &A, const TArray &B, const TArray &C, TArray &X, TArray &Y)
 Return true if successfull. More...
 

Detailed Description

template<typename TArray>
class til::geo::Triangle2Segment< TArray >

Approximate an ill-conditionned triangle by a segment.

Basically, it figures out which triangle vertices to keep in order to approximate the triangle. NB: this doesn't include the condition test. Callers have to decide when to call this class.

Definition at line 95 of file geometrics.h.

Member Typedef Documentation

◆ prec_type

template<typename TArray >
typedef TArray::value_type til::geo::Triangle2Segment< TArray >::prec_type

Definition at line 98 of file geometrics.h.

Member Function Documentation

◆ operator()()

template<typename TArray >
bool til::geo::Triangle2Segment< TArray >::operator() ( const TArray &  A,
const TArray &  B,
const TArray &  C,
TArray &  X,
TArray &  Y 
)

Return true if successfull.

Parameters
AInput: first triangle vertex
BInput: second triangle vertex
CInput: third triangle vertex
XOutput: first segment end
YOutput: second segment end

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