25 #ifndef WGEGEOMETRYUTILS_TEST_H
26 #define WGEGEOMETRYUTILS_TEST_H
30 #include <cxxtest/TestSuite.h>
32 #include "../WGEGeometryUtils.h"
46 std::vector< WPosition > points( 4 );
55 TS_ASSERT_EQUALS( mesh->triangleSize(), 2 );
Tests for the GeometryUtils.
void testTriangulate(void)
Test triangulate()
This only is a 3d double vector.
std::shared_ptr< WTriangleMesh > SPtr
Shared pointer.
WTriangleMesh::SPtr triangulate(const std::vector< WPosition > &points, double transformationFactor=0.0)
Calculate the Delaunay Triangulation of the given points.