The format is detected from the filename extension (letter case is not important).
Template Parameters
OutputIteratorValueType
type of objects that can be put in PointOutputIterator. It must be a model of DefaultConstructible and defaults to value_type_traits<PointOutputIterator>::type. It can be omitted when the default is fine.
PointOutputIterator
iterator over output points.
NamedParameters
a sequence of Named Parameters
Parameters
fname
the name of the input file.
output
output iterator over points.
np
optional sequence of Named Parameters among the ones listed below.
Optional Named Parameters
a property map associating points to the elements of the point range
Type: a model of WritablePropertyMap with value type geom_traits::Point_3