OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
vec_mat_predicates.hh File Reference
#include <boost/version.hpp>
#include <boost/test/unit_test.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

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

Definition at line 132 of file vec_mat_predicates.hh.

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

Definition at line 139 of file vec_mat_predicates.hh.

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

Definition at line 146 of file vec_mat_predicates.hh.

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

Definition at line 94 of file vec_mat_predicates.hh.

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

Definition at line 72 of file vec_mat_predicates.hh.

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

Definition at line 79 of file vec_mat_predicates.hh.

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

Definition at line 86 of file vec_mat_predicates.hh.

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

Definition at line 35 of file vec_mat_predicates.hh.