| 158 | } |
| 159 | |
| 160 | static bool edgePoint2MeshTriPoint( const MeshTopology & topology, const MeshEdgePoint & ae, FaceId f, MeshTriPoint & a ) |
| 161 | { |
| 162 | if ( topology.left( ae.e ) == f ) |
| 163 | { |
| 164 | a = MeshTriPoint( ae ); |
| 165 | return true; |
| 166 | } |
| 167 | if ( topology.right( ae.e ) == f ) |
| 168 | { |
| 169 | a = MeshTriPoint( ae.sym() ); |
| 170 | return true; |
| 171 | } |
| 172 | return false; |
| 173 | } |
| 174 | |
| 175 | bool fromSameTriangle( const MeshTopology & topology, MeshTriPoint & a, MeshTriPoint & b ) |
| 176 | { |
no test coverage detected