GetAreaFromLocation

GetAreaFromLocation(location) returns the component that represents an area object within a location structure.

object GetAreaFromLocation(   location lLocation );

Parameters
location lLocation
 * The location of which the area component is returned. It has no default value.

Description
This function returns the area component of a location structure. A location consists of an area object, a vector denoting a position within the area and a floating point number representing a direction.

Version
1.22