Editing User:Sharan.nyn/GSoC18/Report
From BRL-CAD
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
== ''' Project Report : Check Command and Overlaps Tool ''' == | == ''' Project 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 === | === libanalyze function -- analyze_overlaps and libged command -- check_overlaps === | ||
− | NOTE: This was later replaced with better code | + | NOTE: This was later replaced with better code by me ;) |
* 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. | * 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. | * 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. | ||
Line 14: | Line 14: | ||
=== rtcheck based on libanalyze's analyze_overlaps function === | === rtcheck based on libanalyze's analyze_overlaps function === | ||
− | NOTE: This was later replaced with better code | + | NOTE: This was later replaced with better code by me ;) |
* Since the logic for shooting the rays was in libanalyze function analyze_overlaps. | * Since the logic for shooting the rays was in libanalyze function analyze_overlaps. | ||
* My next task was to refactor rtcheck program to use analyze_overlaps. | * My next task was to refactor rtcheck program to use analyze_overlaps. | ||
Line 28: | Line 28: | ||
=== overlaps tool based on check.sh === | === overlaps tool based on check.sh === | ||
− | * | + | * one of the main goals was to remove the need of the check.sh because it was a bash script it meant it didn’t work for windows system. |
* The same functionality was added with help of a .tcl file. | * The same functionality was added with help of a .tcl file. | ||
* The following commits were done - | * The following commits were done - | ||
− | ** [https://sourceforge.net/p/brlcad/code/71106/ r71106] [https://sourceforge.net/p/brlcad/code/71107/ r71107 | + | ** [https://sourceforge.net/p/brlcad/code/71106/ r71106] [https://sourceforge.net/p/brlcad/code/71107/ r71107] |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
=== new libanalyze API and check command that uses this API === | === new libanalyze API and check command that uses this API === | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |