MCPcopy Create free account
hub / github.com/PointCloudLibrary/pcl / checkSizeData

Function checkSizeData

test/geometry/test_mesh_data.cpp:84–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82
83/** \brief Check if the size of the mesh data is correct. */
84template <class MeshT> void
85checkSizeData (const MeshT& mesh, const std::size_t n_v, const std::size_t n_he, const std::size_t n_e, const std::size_t n_f)
86{
87 ASSERT_EQ (n_v , mesh.getVertexDataCloud ().size ());
88 ASSERT_EQ (n_he, mesh.getHalfEdgeDataCloud ().size ());
89 ASSERT_EQ (n_e , mesh.getEdgeDataCloud ().size ());
90 ASSERT_EQ (n_f , mesh.getFaceDataCloud ().size ());
91}
92
93////////////////////////////////////////////////////////////////////////////////
94

Callers 1

TESTFunction · 0.85

Calls 5

getVertexDataCloudMethod · 0.80
getHalfEdgeDataCloudMethod · 0.80
getEdgeDataCloudMethod · 0.80
getFaceDataCloudMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected