title: Boost geometry point initialization
body: <p>I am trying to get familiar with <code>boost::geometry::point</code>. In my class I have a default constructor with no parameters and I want to initialize in this case all point values with zero.</p>
  
  <p>As the set/get functions are templates, the following code part would yield an error at compile time:</p>
  
  <pre><code>    for( std::size_t i = 0; i &lt; pnt.size() ; i++ )
      {
          pnt.set&lt;i&gt;( 0.0 );
      }
  </code></pre>
  
  <p>To refer the documentation <a href="http://www.boost.org/doc/libs/1_51_0/libs/geometry/doc/html/geometry/reference/models/model_point.html" rel="nofollow">http://www.boost.org/doc/libs/1_51_0/libs/geometry/doc/html/geometry/reference/models/model_point.html</a></p>
  
  <p>I need to set some values because:</p>
  
  <blockquote>
    <p>Coordinates are not initialized. If the constructor with parameters is not called and points are not assigned using set or assign then the coordinate values will contain garbage.</p>
  </blockquote>
  
  <p>Is there a way to initialize all values with zero at compile time? If not then at runtime?</p>