def METHOD_NAME() -> None:
    scene = Scene("s1")
    # object rotated 90° clock-wise
    so1 = SceneObject("so1", "WhatEver", Pose(Position(1, 0, 0), Orientation(0, 0, -0.707, 0.707)))
    scene.objects.append(so1)
    cached_scene = CachedScene(scene)
    project = Project("p1", scene.id)
    ap1 = ActionPoint("ap1", Position(1, 0, 0), parent=so1.id)
    project.action_points.append(ap1)
    ap2 = ActionPoint("ap2", Position(1, 0, 0), parent=ap1.id)
    no1 = NamedOrientation("o1", Orientation())
    ap2.orientations.append(no1)
    project.action_points.append(ap2)
    cached_project = CachedProject(project)
    make_relative_ap_global(cached_scene, cached_project, ap2)
    check_ap(ap2)
    assert ap2.position == Position(1, -2, 0)
    assert so1.pose
    assert no1.orientation == so1.pose.orientation
    make_global_ap_relative(cached_scene, cached_project, ap2, ap1.id)
    assert ap2.position == Position(1, 0, 0)
    assert no1.orientation == Orientation()
    check_ap(ap2)