Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This is an older version of Boost and was released in 2013. The current version is 1.91.0.
The coordinates of the first point will be assigned those of the second point. The second point is not modified.
template<typename Point1, typename Point2> void assign_point(Point1 & p1, const Point2 & p2)
|
Type |
Concept |
Name |
Description |
|---|---|---|---|
|
Point2 |
- |
Must be specified |
|
|
Point1 & |
p1 |
first point |
|
|
const Point2 & |
p2 |
second point |
Either
#include <boost/geometry/geometry.hpp>
Or
#include <boost/geometry/arithmetic/arithmetic.hpp>