Increased checking accuracy of endpoints touching of segments. Code formatting improvement. Test case for issue CR24775 Correction test case for issue CR24775