wbt_shape_index function

Shape index