add missing empty LinePoint constructor

Sample failed to compile because of it. Also reshaped the class for better readability.