Get max point (by Y coordinate)
| 243 | |
| 244 | // Get max point (by Y coordinate) |
| 245 | Point Keyframe::GetMaxPoint() const { |
| 246 | Point maxPoint(-1, -1); |
| 247 | |
| 248 | for (Point const & existing_point: Points) { |
| 249 | if (existing_point.co.Y >= maxPoint.co.Y) { |
| 250 | maxPoint = existing_point; |
| 251 | } |
| 252 | } |
| 253 | |
| 254 | return maxPoint; |
| 255 | } |
| 256 | |
| 257 | // Get the value at a specific index |
| 258 | double Keyframe::GetValue(int64_t index) const { |
no outgoing calls
no test coverage detected