2012-07-18から1日間の記事一覧

cpprefjp更新

C++

std::atomicにexchange()メンバ関数を追加。

Boost.Geometry touches

C++

Boost 1.50.0になり、Boost.Geometryにtouches()アルゴリズムが追加されました。 この関数は、自身もしくは2つのジオメトリが空間的に接触しているかを判定するのに使用します。 まず1引数版。自己接触があるかを判定します。 #include <iostream> #include <boost/geometry.hpp> #include <boost/geometry/geometries/point_xy.hpp></boost/geometry/geometries/point_xy.hpp></boost/geometry.hpp></iostream>…