pub async fn tangent_to_end( exec_state: &mut ExecState, args: Args, ) -> Result<KclValue, KclError>
Returns the angle coming out of the end of the segment in degrees.