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 version of Boost is under active development. You are currently in the develop branch. The current version is 1.90.0.
Assign each coordinate of a point the same value.
template<typename Point> void assign_value(Point & p, coordinate_type_t< Point > const & value)
|
Type |
Concept |
Name |
Description |
|---|---|---|---|
|
Point & |
Any type fulfilling a Point Concept |
p |
point |
|
coordinate_type_t< Point > const & |
value |
value to assign |
Either
#include <boost/geometry.hpp>
Or
#include <boost/geometry/arithmetic/arithmetic.hpp>