Added code to expose the persistence_diagram class, the bottleneck_distance function and the point class to python.
Most of the commonly used methods for each class have been exported.
The constructor for point now requires that a data argument be provided along with x and y coord. This needs to be made optional.
The constructor for persistence_diagram could possibly be rewritten as well.
set (targets
test-grid2D
test-grid2D-vineyard
combustion-vineyard)
if (use_dsrpdb)
set (targets ${targets}
pdbdistance-vineyard)
endif (use_dsrpdb)
if (CGAL_FOUND)
# add_definitions (${CGAL_CXX_FLAGS_INIT})
add_definitions (-frounding-math)
include_directories (${CGAL_INCLUDE_DIRS})
foreach (t ${targets})
add_executable (${t} ${t}.cpp)
target_link_libraries (${t} ${libraries} ${CGAL_LIBRARY} ${dsrpdb_LIBRARY} ${Boost_PROGRAM_OPTIONS_LIBRARY})
endforeach (t ${targets})
# Extra special for program_options
add_executable (pl-vineyard pl-vineyard.cpp)
target_link_libraries (pl-vineyard ${libraries} ${CGAL_LIBRARY} ${Boost_PROGRAM_OPTIONS_LIBRARY})
endif (CGAL_FOUND)