Go to the source code of this file.
|
| int | blender::length_parameterize::segments_num (const int points_num, const bool cyclic) |
| |
| template<typename T > |
| void | blender::length_parameterize::accumulate_lengths (const Span< T > values, const bool cyclic, MutableSpan< float > lengths) |
| |
| template<typename T > |
| void | blender::length_parameterize::interpolate_to_masked (const Span< T > src, const Span< int > indices, const Span< float > factors, const IndexMask &dst_mask, MutableSpan< T > dst) |
| |
| template<typename T > |
| void | blender::length_parameterize::interpolate (const Span< T > src, const Span< int > indices, const Span< float > factors, MutableSpan< T > dst) |
| |
| void | blender::length_parameterize::sample_at_length (const Span< float > accumulated_segment_lengths, const float sample_length, int &r_segment_index, float &r_factor, SampleSegmentHint *hint=nullptr) |
| |
| void | blender::length_parameterize::sample_uniform (Span< float > accumulated_segment_lengths, bool include_last_point, MutableSpan< int > r_segment_indices, MutableSpan< float > r_factors) |
| |
| void | blender::length_parameterize::sample_uniform_reverse (Span< float > accumulated_segment_lengths, bool include_first_point, MutableSpan< int > r_segment_indices, MutableSpan< float > r_factors) |
| |
| void | blender::length_parameterize::sample_at_lengths (Span< float > accumulated_segment_lengths, Span< float > sample_lengths, MutableSpan< int > r_segment_indices, MutableSpan< float > r_factors) |
| |