[NL] Replace initializer-lists with explicit assignments.
[NL] Create template version of getWeightedPoint().

Reduces code duplication. Allows later extension towards TMP.