#include <swiss_gd_knife/math/zero_checker.hpp>
| Parameter | Description | Default |
|---|---|---|
RealNumber | The type of the input value that this class will check. | float |
RealNumber must be a primitive floating-point numerical type.
Public Member Functions | |
| ZeroChecker (const RealNumber zero_tolerance=0.00001f) | |
| The default constructor. | |
| ZeroChecker (const ZeroChecker ©) | |
| The copy constructor. | |
| ZeroChecker & | operator= (const ZeroChecker ©) |
| The assignment operator. | |
| bool | isZero (const RealNumber zero) const |
| RealNumber | getZeroTolerance () const |
| void | setZeroTolerance (const RealNumber zero_tolerance) |
|
|
Constructs a new
|
|
|
Constructs a new
|
|
|
Sets this
|
|
|
Returns
|
|
|
Returns the upper limit of the range specified either during construction or by the last
|
|
|
Sets a subsequent
|
Swiss GD Knife is hosted by .