sealed class Tinman.Engine.Scenes.Data.TableGeoPathReaderCsv
<TSample val>
<TTrait val : IGeoPathSampleTrait<TSample>>

Derived from

TableGeoPathReader<TSample, TTrait> abstract

An implementation of the ITableGeoPathReader interface that parses a text file with comma-separated values (CSV).

Public / Constructors


public constructor TableGeoPathReaderCsv → (3)

csv in : Path

Path to the CSV file.

columns in : int32

The number of columns in the CSV file. If 0, the first row will be interpreted as the header row that defines the columns. If greater than 0, the first row is interpreted as a data row and this value is used as the number of columns.

format in : CsvFormat

The CSV file format.

Creates a new instance of TableGeoPathReaderCsv.

Column names (see ITableGeoPathReaderBase.Name) are taken from the header row of the CSV file (see columns in). If there is no header row, the column names are #1, #2, …​ #N.


If an I/O error has occurred.