| 116 | } |
| 117 | |
| 118 | MeshTriPoint getVertexAsMeshTriPoint( const MeshTopology & topology, EdgeId e, VertId v ) |
| 119 | { |
| 120 | VertId tv[3]; |
| 121 | topology.getLeftTriVerts( e, tv ); |
| 122 | if ( tv[0] == v ) |
| 123 | return MeshTriPoint( e, { 0, 0 } ); |
| 124 | if ( tv[1] == v ) |
| 125 | return MeshTriPoint( e, { 1, 0 } ); |
| 126 | if ( tv[2] == v ) |
| 127 | return MeshTriPoint( e, { 0, 1 } ); |
| 128 | return {}; |
| 129 | } |
| 130 | |
| 131 | static bool vertEdge2MeshTriPoints( const MeshTopology & topology, VertId av, const MeshEdgePoint & be, MeshTriPoint & a, MeshTriPoint & b ) |
| 132 | { |
no test coverage detected