mirror of https://github.com/CGAL/cgal
Misc compilation fixes
This commit is contained in:
parent
3bfc9ab9ea
commit
e317c689aa
|
|
@ -25,15 +25,11 @@
|
|||
#include <CGAL/boost/graph/named_params_helper.h>
|
||||
#include <CGAL/boost/graph/Named_function_parameters.h>
|
||||
#include <CGAL/boost/graph/properties.h>
|
||||
#include <CGAL/Kernel_traits.h>
|
||||
|
||||
#ifdef CGAL_USE_VTK
|
||||
#include <CGAL/IO/VTK.h>
|
||||
#endif
|
||||
|
||||
#include <CGAL/internal/Generic_facegraph_builder.h>
|
||||
#include <CGAL/IO/STL.h>
|
||||
#include <CGAL/IO/OBJ.h>
|
||||
#include <CGAL/IO/STL.h>
|
||||
#include <CGAL/IO/VTK.h>
|
||||
#include <CGAL/Kernel_traits.h>
|
||||
|
||||
namespace CGAL {
|
||||
/*!
|
||||
|
|
@ -589,7 +585,7 @@ write_gocad(FaceGraph& face_graph, std::ostream& os, const std::string& name)
|
|||
}
|
||||
|
||||
namespace internal {
|
||||
namespace write_vtp {
|
||||
namespace write_vtp {
|
||||
|
||||
// writes the polys appended data at the end of the .vtp file
|
||||
template <class Mesh,
|
||||
|
|
|
|||
|
|
@ -791,7 +791,7 @@ template <typename ForwardIterator,
|
|||
void simple_property_write (std::ostream& stream, ForwardIterator it,
|
||||
std::pair<PropertyMap, PLY_property<T> > map)
|
||||
{
|
||||
if (CGAL::get_mode(stream) == IO::ASCII)
|
||||
if (CGAL::get_mode(stream) == CGAL::IO::ASCII)
|
||||
stream << no_char_character(get (map.first, *it));
|
||||
else
|
||||
{
|
||||
|
|
@ -808,7 +808,7 @@ void simple_property_write (std::ostream& stream, ForwardIterator it,
|
|||
{
|
||||
const typename PropertyMap::reference value = get(map.first, *it);
|
||||
|
||||
if (CGAL::get_mode(stream) == IO::ASCII)
|
||||
if (CGAL::get_mode(stream) == CGAL::IO::ASCII)
|
||||
{
|
||||
stream << value.size();
|
||||
for (std::size_t i = 0; i < value.size(); ++ i)
|
||||
|
|
@ -835,7 +835,7 @@ void output_properties (std::ostream& stream,
|
|||
std::tuple<PropertyMap, PLY_property<T>... >&& current)
|
||||
{
|
||||
property_write (stream, it, std::get<0>(current));
|
||||
if (get_mode(stream) == IO::ASCII)
|
||||
if (get_mode(stream) == CGAL::IO::ASCII)
|
||||
stream << std::endl;
|
||||
}
|
||||
|
||||
|
|
@ -848,7 +848,7 @@ void output_properties (std::ostream& stream,
|
|||
std::pair<PropertyMap, PLY_property<T> >&& current)
|
||||
{
|
||||
simple_property_write (stream, it, std::forward<std::pair<PropertyMap, PLY_property<T> > >(current));
|
||||
if (get_mode(stream) == IO::ASCII)
|
||||
if (get_mode(stream) == CGAL::IO::ASCII)
|
||||
stream << std::endl;
|
||||
}
|
||||
|
||||
|
|
@ -864,7 +864,7 @@ void output_properties (std::ostream& stream,
|
|||
PropertyHandler&& ... properties)
|
||||
{
|
||||
simple_property_write (stream, it, current);
|
||||
if (get_mode(stream) == IO::ASCII)
|
||||
if (get_mode(stream) == CGAL::IO::ASCII)
|
||||
stream << " ";
|
||||
output_properties (stream, it, std::forward<NextPropertyHandler>(next),
|
||||
std::forward<PropertyHandler>(properties)...);
|
||||
|
|
@ -882,7 +882,7 @@ void output_properties (std::ostream& stream,
|
|||
PropertyHandler&& ... properties)
|
||||
{
|
||||
property_write (stream, it, std::get<0>(current));
|
||||
if (get_mode(stream) == IO::ASCII)
|
||||
if (get_mode(stream) == CGAL::IO::ASCII)
|
||||
stream << " ";
|
||||
output_properties (stream, it, std::forward<NextPropertyHandler>(next),
|
||||
std::forward<PropertyHandler>(properties)...);
|
||||
|
|
@ -929,7 +929,7 @@ public:
|
|||
|
||||
virtual void print(std::ostream& stream, const Index& index)
|
||||
{
|
||||
if (get_mode(stream) == IO::ASCII)
|
||||
if (get_mode(stream) == CGAL::IO::ASCII)
|
||||
stream << get(m_pmap, index);
|
||||
else
|
||||
{
|
||||
|
|
@ -952,7 +952,7 @@ public:
|
|||
|
||||
virtual void print(std::ostream& stream, const Index& index)
|
||||
{
|
||||
if (get_mode(stream) == IO::ASCII)
|
||||
if (get_mode(stream) == CGAL::IO::ASCII)
|
||||
stream << int(get(m_pmap, index));
|
||||
else
|
||||
{
|
||||
|
|
|
|||
|
|
@ -114,7 +114,7 @@ bool parse_ASCII_STL(std::istream& input,
|
|||
bool verbose = false)
|
||||
{
|
||||
typedef typename PointRange::value_type Point;
|
||||
typedef typename TriangleRange::value_type Triangle;
|
||||
|
||||
if(verbose)
|
||||
std::cout << "Parsing ASCII file..." << std::endl;
|
||||
|
||||
|
|
|
|||
|
|
@ -16,8 +16,8 @@
|
|||
|
||||
#ifndef CGAL_HEADER_ONLY
|
||||
|
||||
#include <CGAL/IO/File_writer_wavefront.h>
|
||||
#include <CGAL/IO/File_writer_wavefront_impl.h>
|
||||
#include <CGAL/IO/OBJ/File_writer_wavefront.h>
|
||||
#include <CGAL/IO/OBJ/File_writer_wavefront_impl.h>
|
||||
|
||||
#endif // CGAL_HEADER_ONLY
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue