/usr/include/boost/geometry/strategies/cartesian
NameSizeModeActions
area.hpp39580644editdlrm
area_surveyor.hpp12210644editdlrm
azimuth.hpp12120644editdlrm
box_in_box.hpp106140644editdlrm
buffer_end_flat.hpp37570644editdlrm
buffer_end_round.hpp60840644editdlrm
buffer_join_miter.hpp45400644editdlrm
buffer_join_round.hpp62060644editdlrm
buffer_join_round_by_divide.hpp46590644editdlrm
buffer_point_circle.hpp40160644editdlrm
buffer_point_square.hpp36540644editdlrm
buffer_side_straight.hpp45870644editdlrm
centroid_average.hpp28800644editdlrm
centroid_bashein_detmer.hpp85410644editdlrm
centroid_weighted_length.hpp48550644editdlrm
densify.hpp39020644editdlrm
disjoint_box_box.hpp29850644editdlrm
disjoint_segment_box.hpp89650644editdlrm
distance_projected_point.hpp96350644editdlrm
distance_projected_point_ax.hpp98350644editdlrm
distance_pythagoras.hpp76740644editdlrm
distance_pythagoras_box_box.hpp89930644editdlrm
distance_pythagoras_point_box.hpp92300644editdlrm
distance_segment_box.hpp68930644editdlrm
envelope.hpp42990644editdlrm
envelope_box.hpp34790644editdlrm
envelope_multipoint.hpp14420644editdlrm
envelope_point.hpp29630644editdlrm
envelope_segment.hpp24580644editdlrm
expand_box.hpp18680644editdlrm
expand_point.hpp33400644editdlrm
expand_segment.hpp19000644editdlrm
index.hpp69760644editdlrm
intersection.hpp308550644editdlrm
io.hpp18730644editdlrm
line_interpolate.hpp37720644editdlrm
point_in_box.hpp87610644editdlrm
point_in_point.hpp35430644editdlrm
point_in_poly_crossings_multiply.hpp35930644editdlrm
point_in_poly_franklin.hpp34640644editdlrm
point_in_poly_winding.hpp98890644editdlrm
point_order.hpp10240644editdlrm
side_by_triangle.hpp96690644editdlrm
turn_in_ring_winding.hpp74630644editdlrm
Edit: /usr/include/boost/geometry/strategies/cartesian/index.hpp (6976B)
// Boost.Geometry Index // // R-tree strategies // // Copyright (c) 2019, Oracle and/or its affiliates. // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle // // 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) #ifndef BOOST_GEOMETRY_STRATEGIES_CARTESIAN_INDEX_HPP #define BOOST_GEOMETRY_STRATEGIES_CARTESIAN_INDEX_HPP #include #include //#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include namespace boost { namespace geometry { namespace strategy { namespace index { template < typename CalculationType = void > struct cartesian { typedef cartesian_tag cs_tag; typedef geometry::strategy::envelope::cartesian_point envelope_point_strategy_type; typedef geometry::strategy::envelope::cartesian_box envelope_box_strategy_type; typedef geometry::strategy::envelope::cartesian_segment < CalculationType > envelope_segment_strategy_type; static inline envelope_segment_strategy_type get_envelope_segment_strategy() { return envelope_segment_strategy_type(); } typedef geometry::strategy::expand::cartesian_point expand_point_strategy_type; typedef geometry::strategy::expand::cartesian_box expand_box_strategy_type; typedef geometry::strategy::expand::cartesian_segment expand_segment_strategy_type; static inline expand_segment_strategy_type get_expand_segment_strategy() { return expand_segment_strategy_type(); } typedef geometry::strategy::covered_by::cartesian_point_box covered_by_point_box_strategy_type; typedef geometry::strategy::covered_by::cartesian_box_box covered_by_box_box_strategy_type; typedef geometry::strategy::within::cartesian_point_point within_point_point_strategy_type; /* typedef geometry::strategy::within::cartesian_point_box within_point_box_strategy_type; typedef geometry::strategy::within::cartesian_box_box within_box_box_strategy_type; typedef geometry::strategy::within::cartesian_winding < void, void, CalculationType > within_point_segment_strategy_type; static inline within_point_segment_strategy_type get_within_point_segment_strategy() { return within_point_segment_strategy_type(); } */ // used in equals(Seg, Seg) but only to get_point_in_point_strategy() typedef geometry::strategy::intersection::cartesian_segments < CalculationType > relate_segment_segment_strategy_type; static inline relate_segment_segment_strategy_type get_relate_segment_segment_strategy() { return relate_segment_segment_strategy_type(); } // used in intersection_content typedef geometry::strategy::disjoint::cartesian_box_box disjoint_box_box_strategy_type; typedef geometry::strategy::distance::comparable::pythagoras < CalculationType > comparable_distance_point_point_strategy_type; static inline comparable_distance_point_point_strategy_type get_comparable_distance_point_point_strategy() { return comparable_distance_point_point_strategy_type(); } typedef geometry::strategy::distance::comparable::pythagoras_point_box < CalculationType > comparable_distance_point_box_strategy_type; static inline comparable_distance_point_box_strategy_type get_comparable_distance_point_box_strategy() { return comparable_distance_point_box_strategy_type(); } // TODO: comparable version should be possible typedef geometry::strategy::distance::projected_point < CalculationType, geometry::strategy::distance::pythagoras > comparable_distance_point_segment_strategy_type; static inline comparable_distance_point_segment_strategy_type get_comparable_distance_point_segment_strategy() { return comparable_distance_point_segment_strategy_type(); } typedef geometry::strategy::distance::cartesian_segment_box < CalculationType, geometry::strategy::distance::pythagoras > comparable_distance_segment_box_strategy_type; static inline comparable_distance_segment_box_strategy_type get_comparable_distance_segment_box_strategy() { return comparable_distance_segment_box_strategy_type(); } }; namespace services { template struct default_strategy { typedef cartesian<> type; }; // within and relate (MPt, Mls/MPoly) template struct from_strategy > { typedef strategy::index::cartesian type; static inline type get(within::cartesian_winding const&) { return type(); } }; // distance (MPt, MPt) template struct from_strategy > { typedef strategy::index::cartesian type; static inline type get(distance::comparable::pythagoras const&) { return type(); } }; // distance (MPt, Linear/Areal) template struct from_strategy > { typedef strategy::index::cartesian type; static inline type get(distance::projected_point const&) { return type(); } }; } // namespace services }}}} // namespace boost::geometry::strategy::index #endif // BOOST_GEOMETRY_STRATEGIES_CARTESIAN_INDEX_HPP