Extract the extractFirstPoint() function.
This is Refactoring / code cleanup / avoiding duplicate code (DRY).
Licence for my changes is CC0 / MIT .
This is Refactoring / code cleanup / avoiding duplicate code (DRY).
Licence for my changes is CC0 / MIT .