def define_plane_relative_from_plane(plane_transform, rel_plane):
    """
    Calculates the plane orientation and position relative another plane,
    from local position and orientation.

    The reuslting plane inherits the coordinate system type from plane_transform
    and is either 'local' or 'global'
    """
    absolute_plane_transform = plane_transform.dot(rel_plane)
    return absolute_plane_transform