|  | Home | Libraries | People | FAQ | More | 
The coordinates of the second point will be added to those of the first point. The second point is not modified.
template<typename Point1, typename Point2> void add_point(Point1 & p1, Point2 const & p2)
| Type | Concept | Name | Description | 
|---|---|---|---|
| Point1 & | Any type fulfilling a Point Concept | p1 | first point | 
| Point2 const & | Any type fulfilling a Point Concept | p2 | second point | 
Either
          #include <boost/geometry.hpp>
        
Or
          #include <boost/geometry/arithmetic/arithmetic.hpp>