MRPT
1.9.9
|
#include <gtest/gtest.h>
#include <mrpt/math/CPolygon.h>
#include <mrpt/math/TLine3D.h>
#include <mrpt/math/TObject2D.h>
#include <mrpt/math/TObject3D.h>
#include <mrpt/math/geometry.h>
#include <algorithm>
Go to the source code of this file.
Functions | |
TEST (Geometry, Line2DIntersect) | |
TEST (Geometry, Line2DAngle) | |
TEST (Geometry, Line3DAngle) | |
TEST (Geometry, Segment2DIntersect) | |
TEST (Geometry, Intersection3D) | |
TEST (Geometry, IntersectionPlanePlane) | |
void | myTestPolygonContainsPoint (std::vector< TPoint2D > &vs, bool convex) |
TEST (Geometry, PolygonConvexContainsPoint) | |
TEST (Geometry, PolygonConcaveContainsPoint) | |
Definition at line 238 of file geometry_unittest.cpp.
References mrpt::math::TPolygon2D::contains(), and mrpt::math::TPolygon2D::isConvex().
Referenced by TEST().
TEST | ( | Geometry | , |
Line2DIntersect | |||
) |
Definition at line 22 of file geometry_unittest.cpp.
References mrpt::math::GEOMETRIC_TYPE_POINT, mrpt::math::TObject2D::getPoint(), mrpt::math::TObject2D::getType(), and mrpt::math::intersect().
TEST | ( | Geometry | , |
Line2DAngle | |||
) |
Definition at line 40 of file geometry_unittest.cpp.
References mrpt::math::getAngle(), and mrpt::RAD2DEG().
TEST | ( | Geometry | , |
Line3DAngle | |||
) |
Definition at line 57 of file geometry_unittest.cpp.
References mrpt::DEG2RAD(), mrpt::math::getAngle(), and mrpt::RAD2DEG().
TEST | ( | Geometry | , |
Segment2DIntersect | |||
) |
Definition at line 79 of file geometry_unittest.cpp.
References mrpt::math::GEOMETRIC_TYPE_POINT, mrpt::math::TObject2D::getPoint(), mrpt::math::TObject2D::getType(), and mrpt::math::intersect().
TEST | ( | Geometry | , |
Intersection3D | |||
) |
Definition at line 122 of file geometry_unittest.cpp.
References mrpt::math::GEOMETRIC_TYPE_POINT, mrpt::math::GEOMETRIC_TYPE_SEGMENT, and mrpt::math::intersect().
TEST | ( | Geometry | , |
IntersectionPlanePlane | |||
) |
Definition at line 184 of file geometry_unittest.cpp.
References mrpt::math::GEOMETRIC_TYPE_LINE, mrpt::math::GEOMETRIC_TYPE_PLANE, and mrpt::math::intersect().
TEST | ( | Geometry | , |
PolygonConvexContainsPoint | |||
) |
Definition at line 256 of file geometry_unittest.cpp.
References myTestPolygonContainsPoint().
TEST | ( | Geometry | , |
PolygonConcaveContainsPoint | |||
) |
Definition at line 280 of file geometry_unittest.cpp.
References myTestPolygonContainsPoint().
Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 8fe78517f Sun Jul 14 19:43:28 2019 +0200 at lun oct 28 02:10:00 CET 2019 |