...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Construct a geometry with its coordinates initialized to zero.
The make_zero function initializes a 2D or 3D point or box with coordinates of zero
template<typename Geometry> Geometry make_zero()
Type |
Concept |
Name |
Description |
---|---|---|---|
Geometry |
Any type fulfilling a Geometry Concept |
- |
Must be specified |
The constructed and zero-initialized geometry
Either
#include <boost/geometry.hpp>
Or
#include <boost/geometry/algorithms/make.hpp>