extracted baseclass for Spiral motion path generation