MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/TriangleMeshDistance / WithinAbsMatcher

Class WithinAbsMatcher

tests/catch.hpp:3026–3033  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3024 enum class FloatingPointKind : uint8_t;
3025
3026 struct WithinAbsMatcher : MatcherBase<double> {
3027 WithinAbsMatcher(double target, double margin);
3028 bool match(double const& matchee) const override;
3029 std::string describe() const override;
3030 private:
3031 double m_target;
3032 double m_margin;
3033 };
3034
3035 struct WithinUlpsMatcher : MatcherBase<double> {
3036 WithinUlpsMatcher(double target, int ulps, FloatingPointKind baseType);

Callers 1

WithinAbsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected