mirror of https://github.com/CGAL/cgal
Add empty locate test
This commit is contained in:
parent
e730c72814
commit
5205b51e8d
|
|
@ -11,6 +11,7 @@ find_package(CGAL REQUIRED QUIET OPTIONAL_COMPONENTS Core)
|
|||
|
||||
create_single_source_cgal_program("test_octree_equality.cpp")
|
||||
create_single_source_cgal_program("test_octree_refine.cpp")
|
||||
create_single_source_cgal_program("test_octree_locate.cpp")
|
||||
|
||||
create_single_source_cgal_program("test_nearest_neighbor.cpp")
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,25 @@
|
|||
|
||||
#define CGAL_TRACE_STREAM std::cerr
|
||||
|
||||
#include <iostream>
|
||||
#include <CGAL/Octree.h>
|
||||
#include <CGAL/Octree/IO.h>
|
||||
#include <CGAL/Simple_cartesian.h>
|
||||
#include <CGAL/Point_set_3.h>
|
||||
|
||||
#include <cassert>
|
||||
|
||||
typedef CGAL::Simple_cartesian<double> Kernel;
|
||||
typedef Kernel::Point_3 Point;
|
||||
typedef Kernel::FT FT;
|
||||
typedef CGAL::Point_set_3<Point> Point_set;
|
||||
typedef CGAL::Octree::Octree
|
||||
<Point_set, typename Point_set::Point_map>
|
||||
Octree;
|
||||
|
||||
|
||||
int main(void) {
|
||||
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
Loading…
Reference in New Issue