![]() |
Home | Libraries | People | FAQ | More |
Adds the same value to each coordinate of a point.
template<typename Point> void add_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 add |
Either
#include <boost/geometry.hpp>
Or
#include <boost/geometry/arithmetic/arithmetic.hpp>