Trims or extends a line, arc or ellipse to another entity.