|
template<typename Point1 , typename Point2 > |
void | add_point (Point1 &p1, Point2 const &p2) |
| Adds a point to another. More...
|
|
template<typename Point > |
void | add_value (Point &p, typename detail::param< Point >::type value) |
| Adds the same value to each coordinate of a point. More...
|
|
template<typename Geometry , typename RangeOrPoint > |
void | append (Geometry &geometry, RangeOrPoint const &range_or_point, int ring_index=-1, int multi_index=0) |
| Appends one or more points to a linestring, ring, polygon, multi-geometry. More...
|
|
template<typename Geometry > |
default_area_result< Geometry >
::type | area (Geometry const &geometry) |
| Calculates the area of a geometry. More...
|
|
template<typename Geometry , typename Strategy > |
Strategy::return_type | area (Geometry const &geometry, Strategy const &strategy) |
| Calculates the area of a geometry using the specified strategy. More...
|
|
template<typename Geometry , int Dimensions> |
void | assert_dimension () |
| assert_dimension, enables compile-time checking if coordinate dimensions are as expected More...
|
|
template<typename G1 , typename G2 > |
void | assert_dimension_equal () |
| assert_dimension_equal, enables compile-time checking if coordinate dimensions of two geometries are equal More...
|
|
template<typename Geometry , int Dimensions> |
void | assert_dimension_greater_equal () |
|
template<typename Geometry , int Dimensions> |
void | assert_dimension_less_equal () |
| assert_dimension, enables compile-time checking if coordinate dimensions are as expected More...
|
|
template<typename Geometry1 , typename Geometry2 > |
void | assign (Geometry1 &geometry1, Geometry2 const &geometry2) |
| Assigns one geometry to another geometry. More...
|
|
template<typename Geometry > |
void | assign_inverse (Geometry &geometry) |
| assign to a box inverse infinite More...
|
|
template<typename Point1 , typename Point2 > |
void | assign_point (Point1 &p1, Point2 const &p2) |
| Assign a point with another. More...
|
|
template<typename Geometry , typename Range > |
void | assign_points (Geometry &geometry, Range const &range) |
| Assign a range of points to a linestring, ring or polygon. More...
|
|
template<typename Point > |
void | assign_value (Point &p, typename detail::param< Point >::type value) |
| Assign each coordinate of a point the same value. More...
|
|
template<typename Geometry , typename Type > |
void | assign_values (Geometry &geometry, Type const &c1, Type const &c2) |
| Assign two coordinates to a geometry (usually a 2D point) More...
|
|
template<typename Geometry , typename Type > |
void | assign_values (Geometry &geometry, Type const &c1, Type const &c2, Type const &c3) |
| Assign three values to a geometry (usually a 3D point) More...
|
|
template<typename Geometry , typename Type > |
void | assign_values (Geometry &geometry, Type const &c1, Type const &c2, Type const &c3, Type const &c4) |
| Assign four values to a geometry (usually a box or segment) More...
|
|
template<typename Geometry > |
void | assign_zero (Geometry &geometry) |
| assign zero values to a box, point More...
|
|
template<typename Input , typename Output , typename Distance > |
void | buffer (Input const &geometry_in, Output &geometry_out, Distance const &distance, Distance const &chord_length=-1) |
| Calculates the buffer of a geometry. More...
|
|
template<typename GeometryIn , typename MultiPolygon , typename DistanceStrategy , typename SideStrategy , typename JoinStrategy , typename EndStrategy , typename PointStrategy > |
void | buffer (GeometryIn const &geometry_in, MultiPolygon &geometry_out, DistanceStrategy const &distance_strategy, SideStrategy const &side_strategy, JoinStrategy const &join_strategy, EndStrategy const &end_strategy, PointStrategy const &point_strategy) |
| Calculates the buffer of a geometry. More...
|
|
template<typename Geometry , typename Point , typename Strategy > |
void | centroid (Geometry const &geometry, Point &c, Strategy const &strategy) |
| Calculates the centroid of a geometry using the specified strategy. More...
|
|
template<typename Geometry , typename Point > |
void | centroid (Geometry const &geometry, Point &c) |
| Calculates the centroid of a geometry. More...
|
|
template<typename Geometry > |
void | clear (Geometry &geometry) |
| Clears a linestring, ring or polygon (exterior+interiors) or multi*. More...
|
|
template<typename Collection , typename Geometry > |
void | collect_vectors (Collection &collection, Geometry const &geometry) |
|
template<typename Geometry1 , typename Geometry2 , typename Strategy > |
comparable_distance_result
< Geometry1, Geometry2,
Strategy >::type | comparable_distance (Geometry1 const &geometry1, Geometry2 const &geometry2, Strategy const &strategy) |
| Calculate the comparable distance measurement of two geometries using the specified strategy. More...
|
|
template<typename Geometry1 , typename Geometry2 > |
default_comparable_distance_result
< Geometry1, Geometry2 >::type | comparable_distance (Geometry1 const &geometry1, Geometry2 const &geometry2) |
| Calculate the comparable distance measurement of two geometries. More...
|
|
template<typename Geometry1 , typename Geometry2 > |
void | convert (Geometry1 const &geometry1, Geometry2 &geometry2) |
| Converts one geometry to another geometry. More...
|
|
template<typename Geometry , typename OutputGeometry , typename Strategy > |
void | convex_hull (Geometry const &geometry, OutputGeometry &out, Strategy const &strategy) |
|
template<typename Geometry , typename OutputGeometry > |
void | convex_hull (Geometry const &geometry, OutputGeometry &hull) |
| Calculates the convex hull of a geometry. More...
|
|
template<bool Reverse, typename Geometry , typename SegmentIdentifier , typename PointOut > |
bool | copy_segment_point (Geometry const &geometry, SegmentIdentifier const &seg_id, int offset, PointOut &point_out) |
| Helper function, copies a point from a segment. More...
|
|
template<bool Reverse1, bool Reverse2, typename Geometry1 , typename Geometry2 , typename SegmentIdentifier , typename PointOut > |
bool | copy_segment_point (Geometry1 const &geometry1, Geometry2 const &geometry2, SegmentIdentifier const &seg_id, int offset, PointOut &point_out) |
| Helper function, to avoid the same construct several times, copies a point, based on a source-index and two geometries. More...
|
|
template<bool Reverse1, bool Reverse2, typename Geometry1 , typename Geometry2 , typename SegmentIdentifier , typename PointOut > |
bool | copy_segment_points (Geometry1 const &geometry1, Geometry2 const &geometry2, SegmentIdentifier const &seg_id, PointOut &point1, PointOut &point2) |
| Helper function, to avoid the same construct several times, copies a point, based on a source-index and two geometries. More...
|
|
template<bool Reverse1, bool Reverse2, typename Geometry1 , typename Geometry2 , typename SegmentIdentifier , typename PointOut > |
bool | copy_segment_points (Geometry1 const &geometry1, Geometry2 const &geometry2, SegmentIdentifier const &seg_id, PointOut &point1, PointOut &point2, PointOut &point3) |
| Helper function, copies three points: two from the specified segment (from, to) and the next one. More...
|
|
template<bool Reverse, typename Geometry , typename SegmentIdentifier , typename RobustPolicy , typename RangeOut > |
void | copy_segments (Geometry const &geometry, SegmentIdentifier const &seg_id, signed_size_type to_index, RobustPolicy const &robust_policy, RangeOut &range_out) |
| Copy segments from a geometry, starting with the specified segment (seg_id) until the specified index (to_index) More...
|
|
template<typename Geometry > |
void | correct (Geometry &geometry) |
| Corrects a geometry. More...
|
|
template<typename Geometry1 , typename Geometry2 > |
bool | covered_by (Geometry1 const &geometry1, Geometry2 const &geometry2) |
| Checks if the first geometry is inside or on border the second geometry. More...
|
|
template<typename Geometry1 , typename Geometry2 , typename Strategy > |
bool | covered_by (Geometry1 const &geometry1, Geometry2 const &geometry2, Strategy const &strategy) |
| Checks if the first geometry is inside or on border the second geometry using the specified strategy. More...
|
|
template<typename ResultP , typename P1 , typename P2 > |
ResultP | cross_product (P1 const &p1, P2 const &p2) |
| Computes the cross product of two vectors. More...
|
|
template<typename P > |
P | cross_product (P const &p1, P const &p2) |
| Computes the cross product of two vectors. More...
|
|
template<typename Geometry1 , typename Geometry2 , typename Strategy > |
bool | crosses (Geometry1 const &geometry1, Geometry2 const &geometry2, Strategy const &strategy) |
| Checks if two geometries crosses. More...
|
|
template<typename Geometry1 , typename Geometry2 > |
bool | crosses (Geometry1 const &geometry1, Geometry2 const &geometry2) |
| Checks if two geometries crosses. More...
|
|
template<typename Geometry1 , typename Geometry2 , typename Collection , typename Strategy > |
void | difference (Geometry1 const &geometry1, Geometry2 const &geometry2, Collection &output_collection, Strategy const &strategy) |
|
template<typename Geometry1 , typename Geometry2 , typename Collection > |
void | difference (Geometry1 const &geometry1, Geometry2 const &geometry2, Collection &output_collection) |
|
template<typename Geometry1 , typename Geometry2 , typename Strategy > |
bool | disjoint (Geometry1 const &geometry1, Geometry2 const &geometry2, Strategy const &strategy) |
| Checks if two geometries are disjoint. More...
|
|
template<typename Geometry1 , typename Geometry2 > |
bool | disjoint (Geometry1 const &geometry1, Geometry2 const &geometry2) |
| Checks if two geometries are disjoint. More...
|
|
template<typename Geometry1 , typename Geometry2 , typename Strategy > |
distance_result< Geometry1,
Geometry2, Strategy >::type | distance (Geometry1 const &geometry1, Geometry2 const &geometry2, Strategy const &strategy) |
| Calculate the distance of two geometries using the specified strategy. More...
|
|
template<typename Geometry1 , typename Geometry2 > |
default_distance_result
< Geometry1, Geometry2 >::type | distance (Geometry1 const &geometry1, Geometry2 const &geometry2) |
| Calculate the distance of two geometries. More...
|
|
template<typename Point1 , typename Point2 > |
void | divide_point (Point1 &p1, Point2 const &p2) |
| Divides a point by another. More...
|
|
template<typename Point > |
void | divide_value (Point &p, typename detail::param< Point >::type value) |
| Divides each coordinate of the same point by a value. More...
|
|
template<typename Point1 , typename Point2 > |
select_coordinate_type< Point1,
Point2 >::type | dot_product (Point1 const &p1, Point2 const &p2) |
| Computes the dot product (or scalar product) of 2 vectors (points). More...
|
|
template<bool Reverse1, bool Reverse2, overlay_type OverlayType, typename Turns , typename Clusters , typename Geometry1 , typename Geometry2 , typename RobustPolicy , typename Strategy > |
void | enrich_intersection_points (Turns &turns, Clusters &clusters, Geometry1 const &geometry1, Geometry2 const &geometry2, RobustPolicy const &robust_policy, Strategy const &strategy) |
| All intersection points are enriched with successor information. More...
|
|
template<typename Geometry , typename Box , typename Strategy > |
void | envelope (Geometry const &geometry, Box &mbr, Strategy const &strategy) |
| Calculates the envelope (with strategy) of a geometry. More...
|
|
template<typename Geometry , typename Box > |
void | envelope (Geometry const &geometry, Box &mbr) |
| Calculates the envelope of a geometry. More...
|
|
template<typename Geometry1 , typename Geometry2 , typename Strategy > |
bool | equals (Geometry1 const &geometry1, Geometry2 const &geometry2, Strategy const &strategy) |
| Checks if a geometry are spatially equal. More...
|
|
template<typename Geometry1 , typename Geometry2 > |
bool | equals (Geometry1 const &geometry1, Geometry2 const &geometry2) |
| Checks if a geometry are spatially equal. More...
|
|
template<typename Box , typename Geometry , typename Strategy > |
void | expand (Box &box, Geometry const &geometry, Strategy const &strategy) |
| Expands (with strategy) More...
|
|
template<typename Box , typename Geometry > |
void | expand (Box &box, Geometry const &geometry) |
| Expands a box using the bounding box (envelope) of another geometry (box, point) More...
|
|
template<typename Polygon > |
ring_return_type< Polygon >::type | exterior_ring (Polygon &polygon) |
| Function to get the exterior_ring ring of a polygon. More...
|
|
template<typename Polygon > |
ring_return_type< Polygon
const >::type | exterior_ring (Polygon const &polygon) |
| Function to get the exterior ring of a polygon (const version) More...
|
|
template<std::size_t Edge, typename Geometry , typename Extremes , typename Intruders > |
bool | extreme_points (Geometry const &geometry, Extremes &extremes, Intruders &intruders) |
| Returns extreme points (for Edge=1 in dimension 1, so the top, for Edge=0 in dimension 0, the right side) More...
|
|
template<typename Point , typename Op > |
void | for_each_coordinate (Point &point, Op operation) |
|
template<typename Point , typename Op > |
Op | for_each_coordinate (Point const &point, Op operation) |
|
template<typename Geometry , typename Functor > |
Functor | for_each_point (Geometry &geometry, Functor f) |
| Applies function [*f] to each point. More...
|
|
template<typename Geometry , typename Functor > |
Functor | for_each_segment (Geometry &geometry, Functor f) |
| Applies function [*f] to each segment. More...
|
|
template<std::size_t Dimension, typename Geometry > |
coordinate_type< Geometry >::type | get (Geometry const &geometry) |
| Get coordinate value of a geometry (usually a point) More...
|
|
template<std::size_t Index, std::size_t Dimension, typename Geometry > |
coordinate_type< Geometry >::type | get (Geometry const &geometry) |
| get coordinate value of a Box or Segment More...
|
|
template<std::size_t Dimension, typename Geometry > |
fp_coordinate_type< Geometry >
::type | get_as_radian (Geometry const &geometry) |
| get coordinate value of a point, result is in Radian More...
|
|
template<typename Geometry1 , typename Geometry2 , typename RobustPolicy , typename Turns , typename Strategy > |
void | get_intersection_points (Geometry1 const &geometry1, Geometry2 const &geometry2, RobustPolicy const &robust_policy, Turns &turns, Strategy const &strategy) |
|
template<std::size_t I, typename Geometry > |
radius_type< Geometry >::type | get_radius (Geometry const &geometry) |
| Function to get radius of a circle / sphere / ellipse / etc. More...
|
|
template<bool Reverse1, bool Reverse2, typename AssignPolicy , typename Geometry1 , typename Geometry2 , typename IntersectionStrategy , typename RobustPolicy , typename Turns , typename InterruptPolicy > |
void | get_turns (Geometry1 const &geometry1, Geometry2 const &geometry2, IntersectionStrategy const &intersection_strategy, RobustPolicy const &robust_policy, Turns &turns, InterruptPolicy &interrupt_policy) |
| Calculate the turn points of two geometries. More...
|
|
template<typename Point > |
bool | has_infinite_coordinate (Point const &point) |
|
template<typename Point > |
bool | has_nan_coordinate (Point const &point) |
|
template<typename Point > |
bool | has_non_finite_coordinate (Point const &point) |
|
template<typename Iterator > |
bool | has_one_element (Iterator first, Iterator beyond) |
|
template<typename Polygon > |
interior_return_type< Polygon >
::type | interior_rings (Polygon &polygon) |
| Function to get the interior rings of a polygon (non const version) More...
|
|
template<typename Polygon > |
interior_return_type< Polygon
const >::type | interior_rings (Polygon const &polygon) |
| Function to get the interior rings of a polygon (const version) More...
|
|
template<typename Geometry1 , typename Geometry2 , typename GeometryOut , typename Strategy > |
bool | intersection (Geometry1 const &geometry1, Geometry2 const &geometry2, GeometryOut &geometry_out, Strategy const &strategy) |
| Calculate the intersection of two geometries. More...
|
|
template<typename Geometry1 , typename Geometry2 , typename GeometryOut > |
bool | intersection (Geometry1 const &geometry1, Geometry2 const &geometry2, GeometryOut &geometry_out) |
| Calculate the intersection of two geometries. More...
|
|
template<typename Geometry > |
bool | intersects (Geometry const &geometry) |
| Checks if a geometry has at least one intersection (crossing or self-tangency) More...
|
|
template<typename Geometry1 , typename Geometry2 , typename Strategy > |
bool | intersects (Geometry1 const &geometry1, Geometry2 const &geometry2, Strategy const &strategy) |
| Checks if two geometries have at least one intersection. More...
|
|
template<typename Geometry1 , typename Geometry2 > |
bool | intersects (Geometry1 const &geometry1, Geometry2 const &geometry2) |
| Checks if two geometries have at least one intersection. More...
|
|
template<typename Geometry > |
bool | is_convex (Geometry const &geometry) |
|
template<typename Geometry > |
bool | is_empty (Geometry const &geometry) |
| Checks if a geometry is the empty set. More...
|
|
template<typename Geometry , typename Strategy > |
bool | is_simple (Geometry const &geometry, Strategy const &strategy) |
| Checks if a geometry is simple. More...
|
|
template<typename Geometry > |
bool | is_simple (Geometry const &geometry) |
| Checks if a geometry is simple. More...
|
|
template<typename Geometry , typename VisitPolicy , typename Strategy > |
bool | is_valid (Geometry const &geometry, VisitPolicy &visitor, Strategy const &strategy) |
|
template<typename Geometry , typename Strategy > |
bool | is_valid (Geometry const &geometry, Strategy const &strategy) |
| Checks if a geometry is valid (in the OGC sense) More...
|
|
template<typename Geometry > |
bool | is_valid (Geometry const &geometry) |
| Checks if a geometry is valid (in the OGC sense) More...
|
|
template<typename Geometry , typename Strategy > |
bool | is_valid (Geometry const &geometry, validity_failure_type &failure, Strategy const &strategy) |
| Checks if a geometry is valid (in the OGC sense) More...
|
|
template<typename Geometry > |
bool | is_valid (Geometry const &geometry, validity_failure_type &failure) |
| Checks if a geometry is valid (in the OGC sense) More...
|
|
template<typename Geometry , typename Strategy > |
bool | is_valid (Geometry const &geometry, std::string &message, Strategy const &strategy) |
| Checks if a geometry is valid (in the OGC sense) More...
|
|
template<typename Geometry > |
bool | is_valid (Geometry const &geometry, std::string &message) |
| Checks if a geometry is valid (in the OGC sense) More...
|
|
template<typename Geometry > |
default_length_result
< Geometry >::type | length (Geometry const &geometry) |
| Calculates the length of a geometry. More...
|
|
template<typename Geometry , typename Strategy > |
default_length_result
< Geometry >::type | length (Geometry const &geometry, Strategy const &strategy) |
| Calculates the length of a geometry using the specified strategy. More...
|
|
template<typename Geometry , typename Type > |
Geometry | make (Type const &c1, Type const &c2) |
| Construct a geometry. More...
|
|
template<typename Geometry , typename Type > |
Geometry | make (Type const &c1, Type const &c2, Type const &c3) |
| Construct a geometry. More...
|
|
template<typename Geometry , typename Type > |
Geometry | make (Type const &c1, Type const &c2, Type const &c3, Type const &c4) |
|
template<typename Geometry > |
Geometry | make_inverse () |
| Construct a box with inverse infinite coordinates. More...
|
|
template<typename Geometry > |
Geometry | make_zero () |
| Construct a geometry with its coordinates initialized to zero. More...
|
|
template<typename RangeOfIntervals , typename T > |
boost::range_value
< RangeOfIntervals >
::type::difference_type | maximum_gap (RangeOfIntervals const &range_of_intervals, T &max_gap_left, T &max_gap_right) |
|
template<typename RangeOfIntervals > |
boost::range_value
< RangeOfIntervals >
::type::difference_type | maximum_gap (RangeOfIntervals const &range_of_intervals) |
|
char | method_char (detail::overlay::method_type const &method) |
|
template<typename Point1 , typename Point2 > |
void | multiply_point (Point1 &p1, Point2 const &p2) |
| Multiplies a point by another. More...
|
|
template<typename Point > |
void | multiply_value (Point &p, typename detail::param< Point >::type value) |
| Multiplies each coordinate of a point by the same value. More...
|
|
template<typename Geometry > |
std::size_t | num_geometries (Geometry const &geometry) |
| Calculates the number of geometries of a geometry. More...
|
|
template<typename Geometry > |
std::size_t | num_interior_rings (Geometry const &geometry) |
| Calculates the number of interior rings of a geometry. More...
|
|
template<typename Geometry > |
std::size_t | num_points (Geometry const &geometry, bool add_for_open=false) |
| Calculates the number of points of a geometry. More...
|
|
template<typename Geometry > |
std::size_t | num_segments (Geometry const &geometry) |
| Calculates the number of segments of a geometry. More...
|
|
char | operation_char (detail::overlay::operation_type const &operation) |
|
template<typename Geometry1 , typename Geometry2 , typename Strategy > |
bool | overlaps (Geometry1 const &geometry1, Geometry2 const &geometry2, Strategy const &strategy) |
| Checks if two geometries overlap. More...
|
|
template<typename Geometry1 , typename Geometry2 > |
bool | overlaps (Geometry1 const &geometry1, Geometry2 const &geometry2) |
| Checks if two geometries overlap. More...
|
|
template<typename Geometry > |
default_length_result
< Geometry >::type | perimeter (Geometry const &geometry) |
| Calculates the perimeter of a geometry. More...
|
|
template<typename Geometry , typename Strategy > |
default_length_result
< Geometry >::type | perimeter (Geometry const &geometry, Strategy const &strategy) |
| Calculates the perimeter of a geometry using the specified strategy. More...
|
|
template<typename Point , typename Geometry > |
bool | point_on_border (Point &point, Geometry const &geometry, bool midpoint=false) |
| Take point on a border. More...
|
|
template<typename Geometry , typename Point > |
void | point_on_surface (Geometry const &geometry, Point &point) |
| Assigns a Point guaranteed to lie on the surface of the Geometry. More...
|
|
template<typename Geometry > |
point_iterator< Geometry > | points_begin (Geometry &geometry) |
|
template<typename Geometry > |
point_iterator< Geometry > | points_end (Geometry &geometry) |
|
template<typename Geometry > |
point_reverse_iterator< Geometry > | points_rbegin (Geometry &geometry) |
|
template<typename Geometry > |
point_reverse_iterator< Geometry > | points_rend (Geometry &geometry) |
|
template<typename Geometry , typename Section > |
ring_return_type< Geometry
const >::type | range_by_section (Geometry const &geometry, Section const §ion) |
| Get full ring (exterior, one of interiors, one from multi) indicated by the specified section. More...
|
|
template<typename Geometry > |
void | read_wkt (std::string const &wkt, Geometry &geometry) |
| Parses OGC Well-Known Text (WKT (Well-Known Text)) into a geometry (any geometry) More...
|
|
template<typename Geometry1 , typename Geometry2 , typename Strategy > |
void | recalculate (Geometry1 &geometry1, Geometry2 const &geometry2, Strategy const &strategy) |
|
template<typename Geometry1 , typename Geometry2 , typename Mask , typename Strategy > |
bool | relate (Geometry1 const &geometry1, Geometry2 const &geometry2, Mask const &mask, Strategy const &strategy) |
| Checks relation between a pair of geometries defined by a mask. More...
|
|
template<typename Geometry1 , typename Geometry2 , typename Mask > |
bool | relate (Geometry1 const &geometry1, Geometry2 const &geometry2, Mask const &mask) |
| Checks relation between a pair of geometries defined by a mask. More...
|
|
template<typename Geometry1 , typename Geometry2 , typename Strategy > |
de9im::matrix | relation (Geometry1 const &geometry1, Geometry2 const &geometry2, Strategy const &strategy) |
| Calculates the relation between a pair of geometries as defined in DE-9IM. More...
|
|
template<typename Geometry1 , typename Geometry2 > |
de9im::matrix | relation (Geometry1 const &geometry1, Geometry2 const &geometry2) |
| Calculates the relation between a pair of geometries as defined in DE-9IM. More...
|
|
template<typename Geometry > |
void | remove_spikes (Geometry &geometry) |
|
template<typename Output , typename Input , typename Distance > |
Output | return_buffer (Input const &geometry, Distance const &distance, Distance const &chord_length=-1) |
| Calculates the buffer of a geometry. More...
|
|
template<typename Point , typename Geometry > |
Point | return_centroid (Geometry const &geometry) |
| Calculates the centroid of a geometry. More...
|
|
template<typename Point , typename Geometry , typename Strategy > |
Point | return_centroid (Geometry const &geometry, Strategy const &strategy) |
| Calculates the centroid of a geometry using the specified strategy. More...
|
|
template<typename Box , typename Geometry , typename Strategy > |
Box | return_envelope (Geometry const &geometry, Strategy const &strategy) |
| Calculates the envelope of a geometry. More...
|
|
template<typename Box , typename Geometry > |
Box | return_envelope (Geometry const &geometry) |
| Calculates the envelope of a geometry. More...
|
|
template<typename Geometry > |
geometry::point_type< Geometry >
::type | return_point_on_surface (Geometry const &geometry) |
| Returns point guaranteed to lie on the surface of the Geometry. More...
|
|
template<typename Geometry > |
void | reverse (Geometry &geometry) |
| Reverses the points within a geometry. More...
|
|
template<bool Reverse, typename DimensionVector , typename Geometry , typename Sections , typename RobustPolicy > |
void | sectionalize (Geometry const &geometry, RobustPolicy const &robust_policy, Sections §ions, int source_index=0, std::size_t max_count=10) |
| Split a geometry into monotonic sections. More...
|
|
template<typename Geometry > |
segment_iterator< Geometry const > | segments_begin (Geometry const &geometry) |
|
template<typename Geometry > |
segment_iterator< Geometry const > | segments_end (Geometry const &geometry) |
|
template<typename AssignPolicy , typename Geometry , typename IntersectionStrategy , typename RobustPolicy , typename Turns , typename InterruptPolicy > |
void | self_turns (Geometry const &geometry, IntersectionStrategy const &strategy, RobustPolicy const &robust_policy, Turns &turns, InterruptPolicy &interrupt_policy) |
| Calculate self intersections of a geometry. More...
|
|
template<std::size_t Dimension, typename Geometry > |
void | set (Geometry &geometry, typename coordinate_type< Geometry >::type const &value) |
| Set coordinate value of a geometry (usually a point) More...
|
|
template<std::size_t Index, std::size_t Dimension, typename Geometry > |
void | set (Geometry &geometry, typename coordinate_type< Geometry >::type const &value) |
| set coordinate value of a Box / Segment More...
|
|
template<std::size_t Dimension, typename Geometry > |
void | set_from_radian (Geometry &geometry, typename fp_coordinate_type< Geometry >::type const &radians) |
| set coordinate value (in radian) to a point More...
|
|
template<std::size_t I, typename Geometry > |
void | set_radius (Geometry &geometry, typename radius_type< Geometry >::type const &radius) |
| Function to set the radius of a circle / sphere / ellipse / etc. More...
|
|
template<typename Geometry , typename Distance , typename Strategy > |
void | simplify (Geometry const &geometry, Geometry &out, Distance const &max_distance, Strategy const &strategy) |
| Simplify a geometry using a specified strategy. More...
|
|
template<typename Geometry , typename Distance > |
void | simplify (Geometry const &geometry, Geometry &out, Distance const &max_distance) |
| Simplify a geometry. More...
|
|
template<typename Point1 , typename Point2 > |
void | subtract_point (Point1 &p1, Point2 const &p2) |
| Subtracts a point to another. More...
|
|
template<typename Point > |
void | subtract_value (Point &p, typename detail::param< Point >::type value) |
| Subtracts the same value to each coordinate of a point. More...
|
|
template<typename Geometry > |
svg_manipulator< Geometry > | svg (Geometry const &geometry, std::string const &style, double size=-1.0) |
| Manipulator to stream geometries as SVG. More...
|
|
template<typename SvgPoint , typename Geometry , typename TransformStrategy > |
void | svg_map (std::ostream &stream, std::string const &style, double size, Geometry const &geometry, TransformStrategy const &strategy) |
|
template<typename Range , typename PriorityQueue , typename InitializationVisitor , typename EventVisitor , typename InterruptPolicy > |
void | sweep (Range const &range, PriorityQueue &queue, InitializationVisitor &initialization_visitor, EventVisitor &event_visitor, InterruptPolicy const &interrupt_policy) |
|
template<typename Range , typename PriorityQueue , typename InitializationVisitor , typename EventVisitor > |
void | sweep (Range const &range, PriorityQueue &queue, InitializationVisitor &initialization_visitor, EventVisitor &event_visitor) |
|
template<typename Geometry1 , typename Geometry2 , typename Collection , typename Strategy > |
void | sym_difference (Geometry1 const &geometry1, Geometry2 const &geometry2, Collection &output_collection, Strategy const &strategy) |
| Calculate the symmetric difference of two geometries. More...
|
|
template<typename Geometry1 , typename Geometry2 , typename Collection > |
void | sym_difference (Geometry1 const &geometry1, Geometry2 const &geometry2, Collection &output_collection) |
| Calculate the symmetric difference of two geometries. More...
|
|
template<typename Geometry > |
bool | touches (Geometry const &geometry) |
| Checks if a geometry has at least one touching point (self-tangency) More...
|
|
template<typename Geometry1 , typename Geometry2 > |
bool | touches (Geometry1 const &geometry1, Geometry2 const &geometry2) |
| Checks if two geometries have at least one touching point (tangent - non overlapping) More...
|
|
template<typename Geometry1 , typename Geometry2 , typename Strategy > |
bool | touches (Geometry1 const &geometry1, Geometry2 const &geometry2, Strategy const &strategy) |
| Checks if two geometries have at least one touching point (tangent - non overlapping) More...
|
|
template<typename Geometry1 , typename Geometry2 , typename Strategy > |
bool | transform (Geometry1 const &geometry1, Geometry2 &geometry2, Strategy const &strategy) |
| Transforms from one geometry to another geometry using the specified strategy. More...
|
|
template<typename Geometry1 , typename Geometry2 > |
bool | transform (Geometry1 const &geometry1, Geometry2 &geometry2) |
| Transforms from one geometry to another geometry using a strategy. More...
|
|
template<typename Geometry1 , typename Geometry2 , typename Collection , typename Strategy > |
void | union_ (Geometry1 const &geometry1, Geometry2 const &geometry2, Collection &output_collection, Strategy const &strategy) |
| Combines two geometries which each other. More...
|
|
template<typename Geometry1 , typename Geometry2 , typename Collection > |
void | union_ (Geometry1 const &geometry1, Geometry2 const &geometry2, Collection &output_collection) |
| Combines two geometries which each other. More...
|
|
template<typename Geometry > |
void | unique (Geometry &geometry) |
| Calculates the minimal set of a geometry. More...
|
|
char | visited_char (detail::overlay::visit_info const &v) |
|
template<typename Geometry1 , typename Geometry2 > |
bool | within (Geometry1 const &geometry1, Geometry2 const &geometry2) |
| Checks if the first geometry is completely inside the second geometry. More...
|
|
template<typename Geometry1 , typename Geometry2 , typename Strategy > |
bool | within (Geometry1 const &geometry1, Geometry2 const &geometry2, Strategy const &strategy) |
| Checks if the first geometry is completely inside the second geometry using the specified strategy. More...
|
|
template<typename Geometry > |
wkt_manipulator< Geometry > | wkt (Geometry const &geometry) |
| Main WKT-streaming function. More...
|
|