Esri / i3s-lib

Apache License 2.0
28 stars 14 forks source link

Some confusing about convert_geometry() funciton of i3s_writer_impl.cpp. #14

Open Toyimo opened 10 months ago

Toyimo commented 10 months ago

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: image so, the next step code (in row 213) image 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