prepares precise-coordinates for a vertex from the other mesh
| 73 | |
| 74 | /// prepares precise-coordinates for a vertex from the other mesh |
| 75 | PreciseVertCoords preciseOtherVert( VertId v, const SortIntersectionsData& sortData ) |
| 76 | { |
| 77 | if ( sortData.isOtherA ) |
| 78 | return { v, sortData.converter( sortData.otherMesh.points[v] ) }; |
| 79 | |
| 80 | if ( !sortData.rigidB2A ) |
| 81 | return { v + int( sortData.meshAVertsNum ), sortData.converter( sortData.otherMesh.points[v] )}; |
| 82 | |
| 83 | return { v + int( sortData.meshAVertsNum ),sortData.converter( ( *sortData.rigidB2A )( sortData.otherMesh.points[v] ) )}; |
| 84 | } |
| 85 | |
| 86 | // sets left face of given edge invalid and saves info about its old left ring |
| 87 | void invalidateFace( MeshTopology& topology, FullRemovedFacesInfo& removedFaceInfo, int contId, int interId, EdgeId leftEdge, size_t oldEdgesSize ) |
no outgoing calls
no test coverage detected