-
Notifications
You must be signed in to change notification settings - Fork 215
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- replace BOOST_FOREACH - replace Boost.Assign - replace typedef with using - other minor changes
- Loading branch information
1 parent
966567f
commit 38adce6
Showing
144 changed files
with
670 additions
and
563 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Boost.Geometry | ||
|
||
# Copyright (c) 2024 Barend Gehrels, Amsterdam, the Netherlands. | ||
|
||
# Use, modification and distribution is subject to the Boost Software License, | ||
# Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at | ||
# http://www.boost.org/LICENSE_1_0.txt) | ||
|
||
function(boost_geometry_add_example prefix item) | ||
set(example_name "boost_geometry_example_${prefix}_${item}") | ||
add_executable(${example_name} ${item}.cpp) | ||
|
||
# Add a dependency to Boost.Geometry | ||
target_link_libraries(${example_name} | ||
PRIVATE | ||
Boost::geometry | ||
) | ||
|
||
# Include the main Geometry test folder and the current folder | ||
target_include_directories(${example_name} | ||
PRIVATE | ||
.) | ||
|
||
# To compile with C++14 | ||
target_compile_features(${example_name} PRIVATE cxx_std_14) | ||
|
||
endfunction() | ||
|
||
foreach(item IN ITEMS | ||
quick_start | ||
) | ||
boost_geometry_add_example("example" ${item}) | ||
endforeach() | ||
|
||
add_subdirectory(algorithms) | ||
add_subdirectory(core) | ||
add_subdirectory(geometries) | ||
add_subdirectory(io) | ||
add_subdirectory(strategies) | ||
add_subdirectory(views) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
# Boost.Geometry | ||
# Copyright (c) 2024 Barend Gehrels, Amsterdam, the Netherlands. | ||
# Use, modification and distribution is subject to the Boost Software License, | ||
# Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at | ||
# http://www.boost.org/LICENSE_1_0.txt) | ||
|
||
foreach(item IN ITEMS | ||
append | ||
area | ||
area_with_strategy | ||
assign | ||
assign_2d_point | ||
assign_3d_point | ||
assign_inverse | ||
assign_points | ||
buffer_with_strategies | ||
centroid | ||
clear | ||
closest_points | ||
closest_points_strategy | ||
comparable_distance | ||
convert | ||
convex_hull | ||
correct | ||
densify | ||
densify_strategy | ||
discrete_frechet_distance | ||
discrete_frechet_distance_strategy | ||
discrete_hausdorff_distance | ||
discrete_hausdorff_distance_strategy | ||
difference | ||
distance | ||
envelope | ||
equals | ||
expand | ||
for_each_point | ||
for_each_point_const | ||
for_each_segment_const | ||
intersection_ls_ls_point | ||
intersection_segment | ||
intersects_linestring | ||
is_simple | ||
is_valid | ||
is_valid_failure | ||
is_valid_message | ||
length | ||
length_with_strategy | ||
line_interpolate | ||
line_interpolate_strategy | ||
make_2d_point | ||
make_3d_point | ||
make_inverse | ||
num_geometries | ||
num_interior_rings | ||
num_points | ||
num_segments | ||
return_envelope | ||
relate | ||
relation | ||
reverse | ||
simplify | ||
sym_difference | ||
transform | ||
transform_with_strategy | ||
union | ||
unique | ||
within | ||
) | ||
|
||
boost_geometry_add_example("algorithms" ${item}) | ||
|
||
endforeach() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.