#include <PartialUtils.h>
Public Member Functions | |
| Cropper (double t1, double t2) | |
| void | operator() (Partial &p) const |
Trim a Partial by removing Breakpoints outside a specified time span. Insert a Breakpoint at the boundary when cropping occurs.
| Loris::PartialUtils::Cropper::Cropper | ( | double | t1, | |
| double | t2 | |||
| ) | [inline] |
Construct a new Cropper from a pair of times (in seconds) representing the span of time to which Partials should be cropped.
| void Loris::PartialUtils::Cropper::operator() | ( | Partial & | p | ) | const |
Function call operator: crop the specified Partial. Trim a Partial by removing Breakpoints outside the span offset [minTime, maxTime]. Insert a Breakpoint at the boundary when cropping occurs.
1.6.2