|
| template<typename Geometry1 , typename Geometry2 , typename Collection , typename Strategy > |
| void | boost::geometry::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 | boost::geometry::union_ (Geometry1 const &geometry1, Geometry2 const &geometry2, Collection &output_collection) |
| | Combines two geometries which each other. More...
|
| |
template<typename Geometry1 , typename Geometry2 , typename Collection , typename Strategy >
| void boost::geometry::union_ |
( |
Geometry1 const & |
geometry1, |
|
|
Geometry2 const & |
geometry2, |
|
|
Collection & |
output_collection, |
|
|
Strategy const & |
strategy |
|
) |
| |
Combines two geometries which each other.
The free function union calculates the spatial set theoretic union of two geometries.
- Template Parameters
-
| Geometry1 | Any type fulfilling a Geometry Concept |
| Geometry2 | Any type fulfilling a Geometry Concept |
| Collection | output collection, either a multi-geometry, or a std::vector<Geometry> / std::deque<Geometry> etc |
| Strategy | Any type fulfilling a Union_ Strategy Concept |
- Parameters
-
| geometry1 | A model of the specified concept |
| geometry2 | A model of the specified concept |
| output_collection | the output collection |
| strategy | The strategy which will be used for union_ calculations |
- Note
- Called union_ because union is a reserved word.
- Examples:
- 03_polygon_example.cpp.