Return the proportion of the extrusion in the complete multi-segment move that has already been done. The move was either not started or was aborted.
| 1430 | // Return the proportion of the extrusion in the complete multi-segment move that has already been done. |
| 1431 | // The move was either not started or was aborted. |
| 1432 | float DDA::GetProportionDone() const noexcept |
| 1433 | { |
| 1434 | // Get the proportion of extrusion already done at the start of this segment |
| 1435 | return (filePos != noFilePosition && filePos == prev->filePos) |
| 1436 | ? prev->proportionDone |
| 1437 | : 0.0; |
| 1438 | } |
| 1439 | |
| 1440 | // Free up this DDA, returning true if the lookahead underrun flag was set |
| 1441 | bool DDA::Free() noexcept |
no outgoing calls
no test coverage detected