gscore::Points2D::toTriangles()の処理を簡略化