The format is detected from the filename extension (letter case is not important).
Template Parameters
PointRange
a model of the concept RandomAccessContainer whose value type is the point type.
PolygonRange
a model of the concepts RandomAccessContainer and BackInsertionSequence whose value_type is itself a model of the concepts RandomAccessContainer and BackInsertionSequence whose value_type is an unsigned integer type convertible to std::size_t
NamedParameters
a sequence of Named Parameters
Parameters
fname
the name of the file.
points
points of the soup of polygons
polygons
each element in the range describes a polygon using the indices of the vertices.
np
optional Named Parameters described below
Optional Named Parameters
indicates whether output warnings and error messages should be printed or not.