Back to FabImage Library website
You are here: Start » Function Reference » Geometry 3D » Geometry 3D Basics » LoadPoint3DArrayFromTextFile
LoadPoint3DArrayFromTextFile
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | Vision3DLite |
Loads arrays of 3D points from text file.
Syntax
C++
C#
void fil::LoadPoint3DArrayFromTextFile ( const ftl::File& inFile, const fil::Grid3DFileFormat::Type inFileFormat, const ftl::String& inSplitters, const int inLineSkip, ftl::Array<fil::Point3D>& outPoints, ftl::String& diagTextLine, fil::Point3D& diagExtractedValues )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inFile | const File& | |||
inFileFormat | const Grid3DFileFormat::Type | |||
inSplitters | const String& | Characters ignored between numbers, space is always splitter and ignored in file sequence | ||
inLineSkip | const int | 0 | Number of first lines to skip | |
outPoints | Array<Point3D>& | |||
diagTextLine | String& | First valid parse line | ||
diagExtractedValues | Point3D& | Example of expected line |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Splitters should do not contains any spaces in Load3DPointArrayFromTextFile. |
IoError | Unable to open file in Load3DPointArrayFromTextFile. |