Functions for walls

Function List

InterfaceWallInit
Initialise one wall.
InterfaceWallsInit
Initialise a list of walls
InterfaceWallsAlloc
Memory allocation of walls describing a scenario.
InterfaceWallCornersInit
Initialise wall corners
InterfaceWallCornersAlloc
Allocation of memory for corners describing a wall.
InterfaceWallCornersFree
Free memory of corners.
InterfaceWallsFree
Free memory allocated to a list of walls.

Function Details

int InterfaceWallInit(INDOOR_WALL * Wall)

Description

Initialise one wall.

Parameters

INDOOR_WALL * Wall
Wall to initialise.

Returns 0.

int InterfaceWallsInit(INDOOR_WALLS * Walls)

Description

Initialise a list of walls

Parameters

INDOOR_WALLS * Walls
Walls to initialise.

Returns 0.

int InterfaceWallsAlloc(int NrWalls, INDOOR_WALLS * Walls)

Description

Memory allocation of walls describing a scenario.

Parameters

int NrWalls
The number of walls.
INDOOR_WALLS * Walls
List of walls.

Returns 0.

int InterfaceWallCornersInit(COORDPOINT * Point)

Description

Initialise wall corners

Parameters

COORDPOINT * Point
Corner point.

Returns 0.

int InterfaceWallCornersAlloc(int NrCorners, INDOOR_WALL * Wall)

Description

Allocation of memory for corners describing a wall.

Parameters

int NrCorners
The number corners.
INDOOR_WALL * Wall
The wall.

Returns 0.

int InterfaceWallCornersFree(INDOOR_WALL * Wall)

Description

Free memory of corners.

Parameters

INDOOR_WALL * Wall
The wall to be freed.

Returns 0.

int InterfaceWallsFree(INDOOR_WALLS * Walls)

Description

Free memory allocated to a list of walls.

Parameters

INDOOR_WALLS * Walls
Walls to be freed.

Returns 0.

The documentation was generated from the following file:
  • source/Public/Interface/IndoorWalls.h