DGtal
2.2.0
Toggle main menu visibility
Loading...
Searching...
No Matches
testlibigl.cpp
Go to the documentation of this file.
1
16
29
31
#include <iostream>
32
#include "DGtal/base/Common.h"
33
#include "ConfigTest.h"
34
#include "DGtalCatch.h"
35
#include "DGtal/helpers/StdDefs.h"
36
37
#include <igl/readOFF.h>
38
39
40
42
43
using namespace
std
;
44
using namespace
DGtal
;
45
using namespace
Z3i
;
46
48
// Functions for testing libIGL io.
50
51
TEST_CASE
(
"Testing LibIGL"
)
52
{
53
Eigen::MatrixXd V;
54
Eigen::MatrixXi F;
55
56
SECTION
(
"Simple test with OBJ IO"
)
57
{
58
igl::readOFF(testPath +
"samples/box.off"
, V, F);
59
REQUIRE
( V.rows() == 8);
60
REQUIRE
( F.rows() == 6);
61
}
62
};
63
DGtal::Z3i
Z3i this namespace gathers the standard of types for 3D imagery.
DGtal
DGtal is the top-level namespace which contains all DGtal functions and types.
Definition
ClosedIntegerHalfPlane.h:49
std
STL namespace.
TEST_CASE
TEST_CASE("int container traits", "[int][traits]")
Definition
testContainerTraits.cpp:53
SECTION
SECTION("Testing constant forward iterators")
Definition
testSimpleRandomAccessRangeFromPoint.cpp:66
REQUIRE
REQUIRE(domain.isInside(aPoint))
tests
shapes
testlibigl.cpp
Generated on
for DGtal by
1.18.0