You are here: Start » AVL.NET » Function Reference » Geometry 3D » Geometry 3D Basics » AVL.LoadPoint3DArrayFromTextFile

AVL.LoadPoint3DArrayFromTextFile

Loads arrays of 3D points from text file.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void LoadPoint3DArrayFromTextFile
(
	string inFile,
	AvlNet.Grid3DFileFormat inFileFormat,
	string inSplitters,
	int inLineSkip,
	IList<AvlNet.Point3D> outPoints,
	out string diagTextLine,
	out AvlNet.Point3D diagExtractedValues
)

Parameters

Name Type Range Default Description
inFilestring
inFileFormatAvlNet.Grid3DFileFormat
inSplittersstringCharacters ignored between numbers, space is always splitter and ignored in file sequence.
inLineSkipint0Number of first lines to skip. Default value: 0.
outPointsSystem.Collections.Generic.IList<AvlNet.Point3D>
diagTextLinestringFirst valid parse line.
diagExtractedValuesAvlNet.Point3DExample 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.

Function Overrides

See also