One of instrumental aspects in dimensional, geometrical and surface texture measurements is an algorithm to mathematically fit a geometry to spatial points. These spatial points are captured and digitised by a measuring instrument.