Hi,

Sean has left the following comment at Add a primitive surface area function ... for triangle meshes (BOT) http://www.google-melange.com/gci/task/view/google/gci2012/7968224:


answers


1. If it's really long, you can add a bot_surf_area.c file, but at the end of bot.c is fine too. Follow the naming convention used by the other surface area functions for other objects (see src/librt/primitives/table.c where they get registered).

2. that is already defined by the function callback signature used in rt_functab.

3. the functab in table.c is where it gets registered. You can create BoT from any existing geometry with the 'facetize' command. Most of our geometry importers (outside of mged) will also import as BoT (eg, stl-g).

4. Add a check to make sure the BoT is volume mode, otherwise return an error. We can create another task to handle plate-mode BoT where the edges and both sides get taken into account.


Greetings,
The Google Open Source Programs Team


---
You are receiving this message because you are subscribed to Add a primitive surface area function ... for triangle meshes (BOT) . To stop receiving these messages, go to: http://www.google-melange.com/gci/task/view/google/gci2012/7968224.

------------------------------------------------------------------------------
Keep yourself connected to Go Parallel: 
DESIGN Expert tips on starting your parallel project right.
http://goparallel.sourceforge.net/
_______________________________________________
BRL-CAD Tracker mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-tracker

Reply via email to