WorldDescription

class WorldDescription : NSObject

Object aggregating information about objects and their position in the world around a vehicle. Description includes static and dynamic objects.

  • World objects

    Declaration

    Swift

    var objects: [WorldObject] { get }
  • Get all MBVWorldObject objects that are currently in specific lane.

    Declaration

    Swift

    func objects(in lane: Any!) -> [WorldObject]

    Parameters

    lane

    The lane to collect objects.

    Return Value

    Array of MBVWorldObject objects that are currently in lane.

  • Get MBVWorldObject objects which have specified detection class.

    Declaration

    Swift

    func objects(with detectionClass: DetectionClass) -> [WorldObject]

    Parameters

    detectionClass

    The target detection class. We will collect only objects with that detection class.

    Return Value

    Array of MBVWorldObject objects with specified.