Difference between revisions of "User:Sharan.nyn/GSoC18/Report"

From BRL-CAD
(libanalyze function -- analyze_overlaps and libged command -- check_overlaps)
(libanalyze function -- analyze_overlaps and libged command -- check_overlaps)
Line 5: Line 5:
 
* I added the check_overlaps command which had the same options as rtcheck command and the logic behind shooting of rays was done in libanalyze.
 
* I added the check_overlaps command which had the same options as rtcheck command and the logic behind shooting of rays was done in libanalyze.
 
* The overlaps were processed on libged side with callback functions.
 
* The overlaps were processed on libged side with callback functions.
 +
* The work was done in the first two weeks. The submitted patches were committed --
 +
** [https://sourceforge.net/p/brlcad/code/70995/ r70995]
 +
** [https://sourceforge.net/p/brlcad/code/71008/ r71008]
 +
** [https://sourceforge.net/p/brlcad/code/71042/ r71402]
 +
** [https://sourceforge.net/p/brlcad/code/71050/ r71050] -- this was later reverted by me ([https://sourceforge.net/p/brlcad/code/71059/ r71059])
 +
* I was given commit access to the repo :) and I did the following commits:
 +
** [https://sourceforge.net/p/brlcad/code/71063/ r71063]
 +
** [https://sourceforge.net/p/brlcad/code/71065/ r71065]
 +
** [https://sourceforge.net/p/brlcad/code/71066/ r71066]
 +
** [https://sourceforge.net/p/brlcad/code/71067/ r71067]
  
 
=== rtcheck based on libanalyze's analyze_overlaps function ===
 
=== rtcheck based on libanalyze's analyze_overlaps function ===

Revision as of 05:26, 10 August 2018

Report : Check Command and Overlaps Tool

The work done for the project can be split into the following parts:

libanalyze function -- analyze_overlaps and libged command -- check_overlaps

  • The main goal behind adding a check_overlaps command was that libged's rtcheck command acted as a wrapper for the rtcheck program, and ran the rtcheck program with execvp command -- this was not desired as the execution was done in a different process.
  • I added the check_overlaps command which had the same options as rtcheck command and the logic behind shooting of rays was done in libanalyze.
  • The overlaps were processed on libged side with callback functions.
  • The work was done in the first two weeks. The submitted patches were committed --
  • I was given commit access to the repo :) and I did the following commits:

rtcheck based on libanalyze's analyze_overlaps function

overlaps tool based on check.sh

better object selection for overlaps tool

new libanalyze API and check command that uses this API