Function anim::sample_times_by_rate
Function Documentation
-
SampleTimes anim::sample_times_by_rate(double start_time, double end_time, double sample_rate, RangeEnd range_end = RangeEnd::Exclusive)
Times that Channel::evaluate_range_by_rate() would sample an arbitrary range at.
The step is one sample period, and the count is the one Channel::num_samples() reports for the same range and
range_end.- Throws:
std::invalid_argument – if
sample_rateis not positive, or ifstart_timeis afterend_time.