Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

14
LINES

< > BotCompany Repo | #1010119 // webToCAL_visStructures - give CAL structures to use for visualization

JavaX fragment (include)

static SS webToCAL_visMap = caseInsensitiveSynchroMap();

static void webToCAL_visStructures(S... structures) {
  for (S s : structures) pcall {
    webToCAL_visStructures(cal_unstructure(s));
  }
}

static void webToCAL_visStructures(CirclesAndLines cal) {
  if (cal != null)
    for (Circle c : cal.circles)
      if (nempty(c.quickvis) && nempty(c.text))
        webToCAL_visMap.put(c.text, c.quickvis);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1010119
Snippet name: webToCAL_visStructures - give CAL structures to use for visualization
Eternal ID of this version: #1010119/9
Text MD5: ba40f574d39bd85eeebecf365940fb87
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-09-12 02:14:12
Source code size: 421 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 567 / 583
Version history: 8 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)