Feature request #21284
[Expression] Allow negative value for vertex index in angle_at_vertex/distance_at_vertex/point_n... functions
|Assignee:||Mathieu Pellerin - nIRV|
|Pull Request or Patch supplied:||No||Resolution:||fixed/implemented|
|Easy fix?:||No||Copied to github as #:||29102|
It could be nice that distance_to_vertex($geometry, -1) returns the length of the feature instead of -1 or point_n($geometry, -1) returns the last node. I know there are special functions for the examples I provide but it's more about generally allowing negative indices in these functions.
It will align them with array manipulations as well as options offered in Processing dialogs (Extract specific vertices eg).