returns a point on the edge: origin point for f=0 and destination point for f=1
| 31 | |
| 32 | /// returns a point on the edge: origin point for f=0 and destination point for f=1 |
| 33 | [[nodiscard]] inline Vector3f edgePoint( const MeshTopology & topology, const VertCoords & points, EdgeId e, float f ) |
| 34 | { |
| 35 | return f * destPnt( topology, points, e ) + ( 1 - f ) * orgPnt( topology, points, e ); |
| 36 | } |
| 37 | |
| 38 | /// computes coordinates of point given as edge and relative position on it |
| 39 | [[nodiscard]] inline Vector3f edgePoint( const MeshTopology & topology, const VertCoords & points, const MeshEdgePoint & ep ) |
no test coverage detected