Functions

Function List

WinProp_ConvertToBinary
Converts an indoor ASCII *.ida database to the WinProp binary format.
WinProp_ConvertResultToASCII
Converts a binary result file to the WinProp ASCII format
WinProp_SetACCallback
Set callback for AutoCAD converter. The set callback function is called to decide if found 2D objects in a AutoCAD layer shall be included in the conversion or not. It is also possible to set the height of the object and the height above the ground.
WinProp_Structure_Init_Converter
This function initialises WinProp_Converter struct with reasonable values
WinProp_Convert
Converts a given database in a specified format to a database in the appropriate binary WinProp format. The indoor formats are converted to a *.idb, the outdoor formats to a *.odb, topography formats to *.tdb and morpho / clutter formats to a *.mdb database.
WinProp_ConvertMapData
Conversion of raster topography, clutter data and vector buildings/polygons into the WinProp vector file format (*.idb). Passing vector data to the conversion function is optional but topography and clutter data is required.
WinProp_ConvertWalls
Conversion of polygons into walls. Converted file will be stored in WinProp file format.

Function Details

int WinProp_ConvertToBinary(const char * FilenameIn, const char * FilenameOut)

Description

Converts an indoor ASCII *.ida database to the WinProp binary format.

Parameters

const char * FilenameIn
the filename of the ASCII database in *.ida format to convert.
const char * FilenameOut
the filename of the converted binary database.

Returns An integer: 0 = success, otherwise an error.

int WinProp_ConvertResultToASCII(const char * FilenameIn, const char * FilenameOut)

Description

Converts a binary result file to the WinProp ASCII format

Parameters

const char * FilenameIn
the filename of the binary result file to convert.
const char * FilenameOut
the filename of the resulting converted ASCII result file.

Returns An integer: 0 = success, otherwise an error.

int WinProp_SetACCallback(CALLBACK_AC_CONVERTER * callback)

Description

Set callback for AutoCAD converter. The set callback function is called to decide if found 2D objects in a AutoCAD layer shall be included in the conversion or not. It is also possible to set the height of the object and the height above the ground.

Parameters

CALLBACK_AC_CONVERTER * callback
The callback function.

Returns An integer: 0 = data valid, data not valid otherwise.

void WinProp_Structure_Init_Converter(WinProp_Converter * Init)

Description

This function initialises WinProp_Converter struct with reasonable values

Parameters

WinProp_Converter * Init
struct to initialise.

Returns None

int WinProp_Convert(WinProp_Converter * callConverter, WinProp_Callback * callback)

Description

Converts a given database in a specified format to a database in the appropriate binary WinProp format. The indoor formats are converted to a *.idb, the outdoor formats to a *.odb, topography formats to *.tdb and morpho / clutter formats to a *.mdb database.

Parameters

WinProp_Converter * callConverter
Non-null, the settings for the conversion.
WinProp_Callback * callback
If non-null, callback for percent and text output.

Returns An integer: 0 = success, otherwise an error.

int WinProp_ConvertMapData(TOPOGRAPHY * InterfaceTopography, CLUTTER * InterfaceClutter, INDOOR_WALLS * InterfaceWalls, MATERIALS * InterfaceMaterials, const char * OutputFileName, WinProp_Callback * Callback)

Description

Conversion of raster topography, clutter data and vector buildings/polygons into the WinProp vector file format (*.idb). Passing vector data to the conversion function is optional but topography and clutter data is required.

Parameters

TOPOGRAPHY * InterfaceTopography
Topography in raster format to be converted to WinProp file format.
CLUTTER * InterfaceClutter
Clutter map in raster format and clutter classes to be converted to WinProp file format.
INDOOR_WALLS * InterfaceWalls
Vector data to be converted additionally (optional).
MATERIALS * InterfaceMaterials
Material properties for vector data to be converted (only required if vector data available).
const char * OutputFileName
Name of output file (*.idb).
WinProp_Callback * Callback
Callback for percent output and messages.

Returns An integer: 0 = success, otherwise an error.

int WinProp_ConvertWalls(INDOOR_WALLS * InterfaceWalls, MATERIALS * InterfaceMaterials, const char * OutputFileName, WinProp_Callback * Callback)

Description

Conversion of polygons into walls. Converted file will be stored in WinProp file format.

Parameters

INDOOR_WALLS * InterfaceWalls
Walls to be converted to WinProp file format.
MATERIALS * InterfaceMaterials
Materials assigned to vector data.
const char * OutputFileName
Name of output file.
WinProp_Callback * Callback
Callback for percent output and messages.

Returns An integer: 0 = success, otherwise an error.

The documentation was generated from the following file:
  • source.eng/Interface/Convert.h