Implement new API function to reduce duplication #2BRL-CAD
Status: ClosedTime to complete: 72 hrs Mentors: SeanTags: implement, code, C, API

This is a follow-on to a new API design task.

This task involves implementing a new function that will measurably help reduce code duplication. You'll need to have already identified a piece of duplicated code that needs to be refactored and/or modified.

This task involves implementing the function per the header doxygen comment specification.  Make sure your implementation is clean, fits well with our existing conventions, and is an efficient implementation that will help reduce code.  Be meticulous.

Submit a patch file with your implementation.

 

Uploaded Work
File name/URLFile sizeDate submitted
bn_polygon_centroid.patch2.5 KBJanuary 01 2014 14:01 UTC
bn_polygon_centroid.patch6.8 KBJanuary 01 2014 17:36 UTC
Comments
Johannes Schulteon December 31 2013 18:02 UTCTask Claimed

I would like to work on this task.

Sean on January 1 2014 04:49 UTCTask Assigned

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

Johannes Schulteon January 1 2014 14:01 UTCReady for review

The work on this task is ready to be reviewed.

Johannes Schulteon January 1 2014 17:37 UTC

Sorry, I forgot to add the use cases again, so please consider the second file for review.

Sean on January 1 2014 17:41 UTCTask Closed

Congratulations, this task has been completed successfully.

Johannes Schulteon January 1 2014 22:51 UTC

committed in r59248