MCPcopy Create free account
hub / github.com/Kitware/VTK / ConditionalComma

Method ConditionalComma

IO/GeoJSON/vtkGeoJSONWriter.cxx:178–184  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

176
177//------------------------------------------------------------------------------
178void vtkGeoJSONWriter::ConditionalComma(vtkIdType cnt, vtkIdType limit)
179{
180 if (cnt + 1 != limit)
181 {
182 this->WriterHelper->append(",");
183 }
184}
185
186//------------------------------------------------------------------------------
187void vtkGeoJSONWriter::WriteScalar(vtkDataArray* da, vtkIdType ptId)

Callers 1

WriteDataMethod · 0.95

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected