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

Method setMargin

tests/catch.hpp:5728–5733  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5726 }
5727
5728 void Approx::setMargin(double margin) {
5729 CATCH_ENFORCE(margin >= 0,
5730 "Invalid Approx::margin: " << margin << '.'
5731 << " Approx::Margin has to be non-negative.");
5732 m_margin = margin;
5733 }
5734
5735 void Approx::setEpsilon(double epsilon) {
5736 CATCH_ENFORCE(epsilon >= 0 && epsilon <= 1.0,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected