| 63 | } |
| 64 | |
| 65 | MeshTriPoint MeshTriPoint::canonical( const MeshTopology & topology ) const |
| 66 | { |
| 67 | const auto e0 = topology.edgeWithLeft( topology.left( e ) ); |
| 68 | MeshTriPoint res = *this; |
| 69 | for ( int i = 0; i < 2 && res.e != e0; ++i ) |
| 70 | { |
| 71 | res = res.lnext( topology ); |
| 72 | } |
| 73 | assert( res.e == e0 ); |
| 74 | return res; |
| 75 | } |
| 76 | |
| 77 | std::array<WeightedVertex, 3> MeshTriPoint::getWeightedVerts( const MeshTopology & topology ) const |
| 78 | { |
no test coverage detected