docs: public int getVertices(double[] coords) {
          for (int i = 0; i < numVertices; i++) {
              Point3d pnt = pointBuffer[vertexPointIndices[i]].pnt;
              coords[i * 3 + 0] = pnt.x;
              coords[i * 3 + 1] = pnt.y;
              coords[i * 3 + 2] = pnt.z;
          }
          return numVertices;
      }