Skip to content

Latest commit

 

History

History
30 lines (17 loc) · 838 Bytes

containment_event.md

File metadata and controls

30 lines (17 loc) · 838 Bytes

ContainmentEvent

from tdw.container_data.containment_event import ContainmentEvent

Data describing a containment event i.e. when a container shape overlaps with one or more objects.


Fields

  • container_id The ID of the container.

  • object_ids The IDs of the contained objects as a numpy array

  • tag A semantic ContainerTag describing the semantic nature of the event.


Functions

__init__

ContainmentEvent(container_id, object_ids, tag)

Parameter Type Default Description
container_id int The ID of the container.
object_ids np.ndarray The IDs of the contained objects as a numpy array.
tag ContainerTag A semantic ContainerTag describing the semantic nature of the event.