pub fn extend( target: &Shape, end: CurveEnd, boundaries: &[Shape], tol: ModelTolerance, ) -> GeoResult<Shape>
Extend one end of a line/arc/open polyline to the nearest boundary.