OpenStructure
Functions
vec_mat_predicates.hh File Reference
#include <boost/test/unit_test.hpp>
#include <boost/version.hpp>
#include <boost/test/floating_point_comparison.hpp>
#include <ost/geom/geom.hh>

Go to the source code of this file.

Functions

template<class V >
boost::test_tools::predicate_result vec_is_close (const V &v1, const V &v2, Real tolerance, unsigned int dim)
 
boost::test_tools::predicate_result vec2_is_close (const geom::Vec2 &v1, const geom::Vec2 &v2, Real tolerance=geom::EPSILON)
 
boost::test_tools::predicate_result vec3_is_close (const geom::Vec3 &v1, const geom::Vec3 &v2, Real tolerance=geom::EPSILON)
 
boost::test_tools::predicate_result vec4_is_close (const geom::Vec4 &v1, const geom::Vec4 &v2, Real tolerance=geom::EPSILON)
 
template<class M >
boost::test_tools::predicate_result mat_is_close (const M &m1, const M &m2, Real tolerance, unsigned int dim)
 
boost::test_tools::predicate_result mat2_is_close (const geom::Mat2 &m1, const geom::Mat2 &m2, Real tolerance=geom::EPSILON)
 
boost::test_tools::predicate_result mat3_is_close (const geom::Mat3 &m1, const geom::Mat3 &m2, Real tolerance=geom::EPSILON)
 
boost::test_tools::predicate_result mat4_is_close (const geom::Mat4 &m1, const geom::Mat4 &m2, Real tolerance=geom::EPSILON)
 

Function Documentation

◆ mat2_is_close()

boost::test_tools::predicate_result mat2_is_close ( const geom::Mat2 m1,
const geom::Mat2 m2,
Real  tolerance = geom::EPSILON 
)

Definition at line 136 of file vec_mat_predicates.hh.

◆ mat3_is_close()

boost::test_tools::predicate_result mat3_is_close ( const geom::Mat3 m1,
const geom::Mat3 m2,
Real  tolerance = geom::EPSILON 
)

Definition at line 143 of file vec_mat_predicates.hh.

◆ mat4_is_close()

boost::test_tools::predicate_result mat4_is_close ( const geom::Mat4 m1,
const geom::Mat4 m2,
Real  tolerance = geom::EPSILON 
)

Definition at line 150 of file vec_mat_predicates.hh.

◆ mat_is_close()

boost::test_tools::predicate_result mat_is_close ( const M &  m1,
const M &  m2,
Real  tolerance,
unsigned int  dim 
)

Definition at line 98 of file vec_mat_predicates.hh.

◆ vec2_is_close()

boost::test_tools::predicate_result vec2_is_close ( const geom::Vec2 v1,
const geom::Vec2 v2,
Real  tolerance = geom::EPSILON 
)

Definition at line 76 of file vec_mat_predicates.hh.

◆ vec3_is_close()

boost::test_tools::predicate_result vec3_is_close ( const geom::Vec3 v1,
const geom::Vec3 v2,
Real  tolerance = geom::EPSILON 
)

Definition at line 83 of file vec_mat_predicates.hh.

◆ vec4_is_close()

boost::test_tools::predicate_result vec4_is_close ( const geom::Vec4 v1,
const geom::Vec4 v2,
Real  tolerance = geom::EPSILON 
)

Definition at line 90 of file vec_mat_predicates.hh.

◆ vec_is_close()

boost::test_tools::predicate_result vec_is_close ( const V &  v1,
const V &  v2,
Real  tolerance,
unsigned int  dim 
)

Definition at line 39 of file vec_mat_predicates.hh.