HALCON Reference Manual 10.0.2
Table of Contents / Tools / Function ClassesClassesClasses | | | Operators

read_funct_1dread_funct_1dread_funct_1dReadFunct1dReadFunct1d (Operator)

Name

read_funct_1dread_funct_1dread_funct_1dReadFunct1dReadFunct1d — Read a function from a file.

Signature

read_funct_1d( : : FileName : Function)

Herror read_funct_1d(const char* FileName, double* Function)

Herror T_read_funct_1d(const Htuple FileName, Htuple* Function)

Herror read_funct_1d(const HTuple& FileName, double* Function)

Herror read_funct_1d(const HTuple& FileName, HTuple* Function)

void HFunction1D::ReadFunct1d(const HTuple& FileName)

void HOperatorSetX.ReadFunct1d(
[in] VARIANT FileName, [out] VARIANT* Function)

void HFunction1DX.ReadFunct1d([in] BSTR FileName)

static void HOperatorSet.ReadFunct1d(HTuple fileName, out HTuple function)

void HFunction1D.ReadFunct1d(string fileName)

Description

The operator read_funct_1dread_funct_1dread_funct_1dReadFunct1dReadFunct1d reads the contents of FileNameFileNameFileNameFileNamefileName and converts it into the function FunctionFunctionFunctionFunctionfunction. The file has be generated by write_funct_1dwrite_funct_1dwrite_funct_1dWriteFunct1dWriteFunct1d.

Parallelization

Parameters

FileNameFileNameFileNameFileNamefileName (input_control)  filename.read HTupleHTupleVARIANTHtuple (string) (string) (char*) (BSTR) (char*)

Name of the file to be read.

FunctionFunctionFunctionFunctionfunction (output_control)  function_1d(-array) HFunction1D, HTupleHFunction1D, HTupleHFunction1DX, VARIANTHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong) (double / Hlong)

Function from the file.

Result

If the parameters are correct the operator read_funct_1dread_funct_1dread_funct_1dReadFunct1dReadFunct1d returns the value 2 (H_MSG_TRUE). Otherwise an exception is raised.

Alternatives

fread_stringfread_stringfread_stringFreadStringFreadString, read_tupleread_tupleread_tupleReadTupleReadTuple

See also

write_funct_1dwrite_funct_1dwrite_funct_1dWriteFunct1dWriteFunct1d, gnuplot_plot_ctrlgnuplot_plot_ctrlgnuplot_plot_ctrlGnuplotPlotCtrlGnuplotPlotCtrl, write_imagewrite_imagewrite_imageWriteImageWriteImage, write_regionwrite_regionwrite_regionWriteRegionWriteRegion, open_fileopen_fileopen_fileOpenFileOpenFile

Module

Foundation


Table of Contents / Tools / Function ClassesClassesClasses | | | Operators
HALCON Reference Manual 10.0.2 Copyright © 1996-2011 MVTec Software GmbH