In function i3slib::i3s::convert_geomery(), I notice that src_pos return a relative position of mesh, which should be a std::vector<Vec3d>, and the src_pos.size() should return the size of vertices. But when I use a vertices with triangluar indices, the size() function of Mesh_attrb return an index size like this:
so, the next step code (in row 213)
will always touch an assert: ERROR: mesh->size() != rel_pos.size();
I want to know, did I miss something? or the indices should not calculate like this?
In function
so, the next step code (in row 213)
will always touch an assert: ERROR: mesh->size() != rel_pos.size();
I want to know, did I miss something? or the indices should not calculate like this?
![image](https://github.com/Esri/i3s-lib/assets/37645461/25f61b12-cc23-4565-a970-b301a5a61681)
i3slib::i3s::convert_geomery()
, I notice thatsrc_pos
return a relative position of mesh, which should be astd::vector<Vec3d>
, and thesrc_pos.size()
should return the size of vertices. But when I use a vertices with triangluar indices, thesize()
function ofMesh_attrb
return an index size like this: