Line Segment CPP