Skip to content

MatchByParallel()

mkraska edited this page Mar 4, 2024 · 1 revision

nred: matchByParallel(obj, names)

  • objects processed value from the input field objects
  • names value from the input field names

returns names with all indices for nonparallel reactions for unidirectional supports removed. Use this if more than one unidirectional support act on a single point and reactions can't be assigned uniquely by proximity only.

Usage example

obj: stackjson_parse(objects);
nred: matchByParallel(obj, names);
[text, isOK]: fb_unidir(obj, nred, i_3, " Seil 3: ");
[textn, isOKn]: fb_name(nred,i_3,[S_3]);

Tryout Space

In order to try code snippets in jsfiddle,

  1. copy the code from the wiki page to the clipboard
  2. follow the link for the JSXGraph version you want to try
  3. Replace the code in the HTML section (contents of <p hidden id="init">) with the content of the clipboard
Clone this wiki locally