pub async fn leg_length( exec_state: &mut ExecState, args: Args, ) -> Result<KclValue, KclError>
Compute the length of the given leg.