aimstil
5.0.5
|
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... | |
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.
typedef TArray::value_type til::geo::Triangle2Segment< TArray >::prec_type |
Definition at line 98 of file geometrics.h.
bool til::geo::Triangle2Segment< TArray >::operator() | ( | const TArray & | A, |
const TArray & | B, | ||
const TArray & | C, | ||
TArray & | X, | ||
TArray & | Y | ||
) |
Return true if successfull.
A | Input: first triangle vertex |
B | Input: second triangle vertex |
C | Input: third triangle vertex |
X | Output: first segment end |
Y | Output: second segment end |