Gets the index of the door based on the view geometry component index.
Используется в ActionLockDoors::ActionCondition(), ActionUnlockDoors::ActionCondition(), ActionAttachToConstruction::FindAndTranslateAttachmentSlot(), ActionLockDoors::LockDoor() и ActionUnlockDoors::UnlockDoor().