33 object.attr(
"type",
"point3d");
34 object.addTag(
"point")
37 .attr(
"c2", point.c2);
42 object.attr(
"type",
"point2d");
43 object.addTag(
"point")
45 .attr(
"c1", point.c1);
58static RegisterMeshReader onepoint3dmesh_reader(
"point3d", &readOnePoint3DMesh);
61 reader.requireTag(
"point");
62 double c0 = reader.requireAttribute<
double>(
"c0");
63 double c1 = reader.requireAttribute<
double>(
"c1");
64 reader.requireTagEnd();
69static RegisterMeshReader onepoint2dmesh_reader(
"point2d", &readOnePoint2DMesh);
73 return sourceMesh->at(index) + translation;
78 return sourceMesh->size();