Function anim::sample_times
Function Documentation
-
SampleTimes anim::sample_times(double start_time, double end_time, int num_samples, RangeEnd range_end = RangeEnd::Exclusive)
Times that Channel::evaluate_range() would sample an arbitrary range at.
The step is the span divided by
num_samplesfor a half-open range, or by one less for a closed one, matching evaluate_range() exactly.- Throws:
std::invalid_argument – if
num_samplesis negative, or ifstart_timeis afterend_time.