detect board Vertexs
now function detecBoundary can get all board points