MCPcopy Create free account
hub / github.com/PDAL/PDAL / processOneCSV

Method processOneCSV

io/TextWriter.cpp:257–267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

255
256
257void TextWriter::processOneCSV(PointRef& point)
258{
259 for (auto di = m_dims.begin(); di != m_dims.end(); ++di)
260 {
261 if (di != m_dims.begin())
262 *m_stream << m_delimiter;
263 m_stream->precision(di->precision);
264 *m_stream << point.getFieldAs<double>(di->id);
265 }
266 *m_stream << m_newline;
267}
268
269void TextWriter::processOneGeoJSON(PointRef& point)
270{

Callers

nothing calls this directly

Calls 3

beginMethod · 0.45
endMethod · 0.45
precisionMethod · 0.45

Tested by

no test coverage detected