TSegment3::update_from_endpoints

Update segment based on new endpoints