![]() |
OpenWalnut
1.5.0dev
|
Unit tests our WFiber class. More...
#include <WFiber_test.h>
Inheritance diagram for WFiberTest:
Collaboration diagram for WFiberTest:Public Member Functions | |
| void | testEqualityOperator (void) |
| Two fibers are equal if they have equal WPositions in same order. More... | |
| void | testDLTisSymmetric (void) |
| dLt(Q,R) chooses just the maximum out come of either dt(Q,r) or dt(R,Q) and hence it is a symmetric metric. More... | |
| void | testDSTisSymmetric (void) |
| dSt(Q,R) chooses just the minimum outcome of either dt(Q,r) or dt(R,Q) and hence it is a symmetric metric. More... | |
| void | testDTMeasure (void) |
| The dt(Q,R) measure (mean closest point distance) is not symmetric. More... | |
Unit tests our WFiber class.
Definition at line 40 of file WFiber_test.h.
|
inline |
dLt(Q,R) chooses just the maximum out come of either dt(Q,r) or dt(R,Q) and hence it is a symmetric metric.
Definition at line 61 of file WFiber_test.h.
References WFiber::distDLT(), and WMixinVector< ValueT >::push_back().
Here is the call graph for this function:
|
inline |
dSt(Q,R) chooses just the minimum outcome of either dt(Q,r) or dt(R,Q) and hence it is a symmetric metric.
Definition at line 78 of file WFiber_test.h.
References WFiber::distDST(), and WMixinVector< ValueT >::push_back().
Here is the call graph for this function:
|
inline |
The dt(Q,R) measure (mean closest point distance) is not symmetric.
distances below a certain threshold will be omitted.
Definition at line 95 of file WFiber_test.h.
References WFiber::distDLT(), WFiber::distDST(), and WMixinVector< ValueT >::push_back().
Here is the call graph for this function:
|
inline |
Two fibers are equal if they have equal WPositions in same order.
Definition at line 46 of file WFiber_test.h.
References WMixinVector< ValueT >::push_back().
Here is the call graph for this function: