Mercurial > hg > svcore
comparison data/model/AlignmentModel.cpp @ 1860:edc2d0e635dc
Comment only
author | Chris Cannam |
---|---|
date | Thu, 21 May 2020 16:09:10 +0100 |
parents | f19711ab7074 |
children | 3072aa267248 |
comparison
equal
deleted
inserted
replaced
1858:14747f24ad04 | 1860:edc2d0e635dc |
---|---|
308 | 308 |
309 sv_frame_t | 309 sv_frame_t |
310 AlignmentModel::performAlignment(const Path &path, sv_frame_t frame) const | 310 AlignmentModel::performAlignment(const Path &path, sv_frame_t frame) const |
311 { | 311 { |
312 // The path consists of a series of points, each with frame equal | 312 // The path consists of a series of points, each with frame equal |
313 // to the frame on the source model and mapframe equal to the | 313 // to the frame on the source model (aligned model) and mapframe |
314 // frame on the target model. Both should be monotonically | 314 // equal to the frame on the target model (reference model). Both |
315 // increasing. | 315 // should be monotonically increasing. |
316 | 316 |
317 const Path::Points &points = path.getPoints(); | 317 const Path::Points &points = path.getPoints(); |
318 | 318 |
319 if (points.empty()) { | 319 if (points.empty()) { |
320 #ifdef DEBUG_ALIGNMENT_MODEL | 320 #ifdef DEBUG_ALIGNMENT_MODEL |