Back to Aurora Vision Library website
You are here: Start » Function Reference » Geometry 3D » Geometry 3D Basics » LoadPoint3DArrayFromTextFile
![](../../img/icon/LoadObject.png)
LoadPoint3DArrayFromTextFile
Header: | AVL.h |
---|---|
Namespace: | avl |
Module: | Vision3DLite |
Loads arrays of 3D points from text file.
Syntax
C++
C#
void avl::LoadPoint3DArrayFromTextFile ( const atl::File& inFile, const avl::Grid3DFileFormat::Type inFileFormat, const atl::String& inSplitters, const int inLineSkip, atl::Array<avl::Point3D>& outPoints, atl::String& diagTextLine, avl::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. |