mirror of
https://github.com/boostorg/geometry.git
synced 2025-05-12 05:51:47 +00:00
Manually reversed move of cross_product.hpp from extensions and renamal of stream_wkt to iomanip (because it is in /wkt/ we now call it stream.hpp)
[SVN r76912]
This commit is contained in:
parent
24c00a02c6
commit
c018c393f4
@ -8,8 +8,8 @@
|
|||||||
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
||||||
// http://www.boost.org/LICENSE_1_0.txt)
|
// http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
#ifndef BOOST_GEOMETRY_ARITHMETIC_CROSS_PRODUCT_HPP
|
#ifndef BOOST_GEOMETRY_EXTENSIONS_ARITHMETIC_CROSS_PRODUCT_HPP
|
||||||
#define BOOST_GEOMETRY_ARITHMETIC_CROSS_PRODUCT_HPP
|
#define BOOST_GEOMETRY_EXTENSIONS_ARITHMETIC_CROSS_PRODUCT_HPP
|
||||||
|
|
||||||
|
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
@ -107,4 +107,4 @@ inline P1 cross_product(P1 const& p1, P2 const& p2)
|
|||||||
|
|
||||||
}} // namespace boost::geometry
|
}} // namespace boost::geometry
|
||||||
|
|
||||||
#endif // BOOST_GEOMETRY_ARITHMETIC_CROSS_PRODUCT_HPP
|
#endif // BOOST_GEOMETRY_EXTENSIONS_ARITHMETIC_CROSS_PRODUCT_HPP
|
@ -11,16 +11,16 @@
|
|||||||
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
||||||
// http://www.boost.org/LICENSE_1_0.txt)
|
// http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
#ifndef BOOST_GEOMETRY_IO_WKT_IOMANIP_HPP
|
#ifndef BOOST_GEOMETRY_IO_WKT_STREAM_HPP
|
||||||
#define BOOST_GEOMETRY_IO_WKT_IOMANIP_HPP
|
#define BOOST_GEOMETRY_IO_WKT_STREAM_HPP
|
||||||
|
|
||||||
#include <boost/geometry/io/wkt/write.hpp>
|
#include <boost/geometry/io/wkt/write.hpp>
|
||||||
|
|
||||||
// This short file contains only one manipulator, streaming as WKT
|
// This short file contains only one manipulator, streaming as WKT
|
||||||
// Don't include this in any standard-included header file.
|
// Don't include this in any standard-included header file.
|
||||||
|
|
||||||
// Don't use namespace boost::geometry, to enable the library to stream custom geometries which
|
// Don't use namespace boost::geometry, to enable the library to stream custom
|
||||||
// are living outside the namespace boost::geometry
|
// geometries which are living outside the namespace boost::geometry
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\brief Streams a geometry as Well-Known Text
|
\brief Streams a geometry as Well-Known Text
|
||||||
@ -37,4 +37,4 @@ inline std::basic_ostream<Char, Traits>& operator<<
|
|||||||
return os;
|
return os;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // BOOST_GEOMETRY_IO_WKT_IOMANIP_HPP
|
#endif // BOOST_GEOMETRY_IO_WKT_STREAM_HPP
|
@ -18,8 +18,8 @@
|
|||||||
#include <boost/geometry/io/wkt/write.hpp>
|
#include <boost/geometry/io/wkt/write.hpp>
|
||||||
|
|
||||||
// BSG 2011-02-03
|
// BSG 2011-02-03
|
||||||
// We don't include iomanip by default. That tries to stream anything not known
|
// We don't include stream.hpp by default. That tries to stream anything not known
|
||||||
// by default (such as ttmath) and reports errors.
|
// by default (such as ttmath) and reports errors.
|
||||||
// Users can include iomanip themselves (if they want to)
|
// Users can include stream.hpp themselves (if they want to)
|
||||||
|
|
||||||
#endif // BOOST_GEOMETRY_IO_WKT_WKT_HPP
|
#endif // BOOST_GEOMETRY_IO_WKT_WKT_HPP
|
||||||
|
Loading…
x
Reference in New Issue
Block a user