Implement/Integrate surface area function for triangle mesh (BoT) geometryBRL-CAD
Status: ClosedTime to complete: 96 hrs Mentors: Daniel RossbergTags: C, verify, testing, integration

This task involves implementing or integrating work from last year's GCI into a tested and working change to BRL-CAD.  Here is the prior relevant work:

  • http://www.google-melange.com/gci/task/view/google/gci2012/7968224
  • http://www.google-melange.com/gci/task/view/google/gci2012/8088204

Ensure that the function that was implemented in those tasks are properly hooked into the LIBRT callback table and into our MGED analyze command.  MGED is BRL-CAD's geometry editor.  The analyze command reports a slew of information about primitive objects including aspects like surface area, volume, centroid, and more.  This probably amounts to adding just one or two lines, if any at all (it may already be enabled), and there are lots of examples to follow if you do need to add it.

Verify and validate that the surface area is correct by creating a simple BoT with specific known dimensions and demonstrating that the analyze command reports that value.  The "make box arb8" command will create a simple arb8 box (named 'box') for you and the "facetize box.bot box" command will turn it into a BoT for you (named "box.bot").  The "analyze box.bot" command will evaluate the BoT.  The "adjust box.bot mode plate" will convert the box.bot from being a volume mesh to being a double-sided plate-mode (like sheet metal) mesh.  You can toggle back and forth from plate and volume to test.

Submit you changes as a single patch file, see http://brlcad.org/wiki/Patches for help.  Also submit output from the analyze command (text) showing that it worked.

Uploaded Work
File name/URLFile sizeDate submitted
http://sourceforge.net/p/brlcad/code/59280/n/aJanuary 05 2014 17:17 UTC
log.txt4.9 KBJanuary 05 2014 17:18 UTC
Comments
Johannes Schulteon January 5 2014 07:32 UTCTask Claimed

I would like to work on this task.

Mandeep Kaur on January 5 2014 07:35 UTCTask Assigned

This task has been assigned to Johannes Schulte. You have 96 hours to complete this task, good luck!

Johannes Schulteon January 5 2014 17:18 UTCReady for review

The work on this task is ready to be reviewed.

Sean on January 5 2014 17:37 UTCTask Closed

Congratulations, this task has been completed successfully.

Sean on January 5 2014 17:38 UTCoutstanding

Outstanding work.