mirror of https://github.com/CGAL/cgal
## Summary of Changes
The PLY file format does not support 64 bits (signed/unsigned) integers.
In the overload of the writer specific to `Surface_mesh`, we try to
write all property maps with value types compatible with the PLY file
format (char, uchar, etc.).
We also tolerate 64 bits signed / unsigned integers, but used to cast it
to int32 / uint32:
```cpp
{
Int64_map pmap;
boost::tie(pmap, okay) = sm.template property_map<Simplex,boost::int64_t>(prop[i]);
if(okay)
{
os << "property int " << name << std::endl;
printers.push_back(new internal::Simple_property_printer<Simplex,Int64_map,boost::int32_t>(pmap));
continue;
}
}
```
In https://github.com/CGAL/cgal/pull/6575, the code was factorized, but
the conversion to 32 bits was accidentally lost
(
|
||
|---|---|---|
| .. | ||
| benchmark/Stream_support | ||
| doc/Stream_support | ||
| examples/Stream_support | ||
| include/CGAL | ||
| package_info/Stream_support | ||
| test/Stream_support | ||