segment endpoints return Vec2d