A meshless strategy for shape diameter analysis