Re: [brlcad-devel] Combination in LIBRT

2015-03-23 Thread Kalpit Thakkar
Hello! I have submitted my proposal on Melange. Do take a look whenever possible. I have not yet understood how exactly am I going to code this thing while the idea is pretty clear to me. I'm not able to visualize how the code would look like. I'm working on it and will get back to you about it

Re: [brlcad-devel] Combination in LIBRT

2015-03-22 Thread Kalpit Thakkar
Hey! I have been looking at the files viewweight.c and gqa.c since yesterday. So, according to what I understand, I have to implement one function (or maybe two) for each of the classes in coreinterface, which would use the rtweight methodology to calculate the volume and centroid of the Database

Re: [brlcad-devel] Combination in LIBRT

2015-03-21 Thread Kalpit Thakkar
On Sat, Mar 21, 2015 at 3:43 AM, Christopher Sean Morrison brl...@mac.com wrote: On Mar 20, 2015, at 5:35 PM, Kalpit Thakkar ceasy...@gmail.com wrote: I'm sorry I'm rushing this too much. I am trying to develop my proposal for the Object-Oriented C++ Geometry API project and I want to

Re: [brlcad-devel] Combination in LIBRT

2015-03-21 Thread Daniel Roßberg
Kalpit, Implementing the missing functions for centroid, volume and surface in librt for the primitives can be highly non-trivial. How about implementing the rtweight methodology etc. fall-backs for every element in librt where an analytic solution is missing? After doing so you only had to add

Re: [brlcad-devel] Combination in LIBRT

2015-03-21 Thread Kalpit Thakkar
Hello Sean! I figured it would be better to get your comments on the doc itself. So, here is the Google Doc link : https://docs.google.com/document/d/1RgUDxU3x3IC1r9lba49IlKP9-wJ2PCgAbcwlj7wTlTo/edit?usp=sharing With Regards, Kalpit Thakkar On Sat, Mar 21, 2015 at 3:11 PM, Kalpit Thakkar

Re: [brlcad-devel] Combination in LIBRT

2015-03-20 Thread Christopher Sean Morrison
On Mar 20, 2015, at 12:41 PM, Kalpit Thakkar ceasy...@gmail.com wrote: Hello! I have been trying to figure out for sometime now, what exactly is a combination in LIBRT. A combination is a collection of objects. Semantic meaning is given to a combination based on where it exists

Re: [brlcad-devel] Combination in LIBRT

2015-03-20 Thread Christopher Sean Morrison
On Mar 20, 2015, at 3:22 PM, Kalpit Thakkar ceasy...@gmail.com wrote: Now, if I import some model into MGED, which is an external model, will it also be broken down into a hierarchy by MGED, such that leaf nodes consist of basic primitives and the parent nodes are obtained by applying

Re: [brlcad-devel] Combination in LIBRT

2015-03-20 Thread Kalpit Thakkar
On Fri, Mar 20, 2015 at 10:29 PM, Christopher Sean Morrison brl...@mac.com wrote: On Mar 20, 2015, at 12:41 PM, Kalpit Thakkar ceasy...@gmail.com wrote: Hello! I have been trying to figure out for sometime now, what exactly is a combination in LIBRT. A combination is a collection of

Re: [brlcad-devel] Combination in LIBRT

2015-03-20 Thread Kalpit Thakkar
On Sat, Mar 21, 2015 at 1:52 AM, Christopher Sean Morrison brl...@mac.com wrote: On Mar 20, 2015, at 3:22 PM, Kalpit Thakkar ceasy...@gmail.com wrote: Now, if I import some model into MGED, which is an external model, will it also be broken down into a hierarchy by MGED, such that leaf nodes

Re: [brlcad-devel] Combination in LIBRT

2015-03-20 Thread Christopher Sean Morrison
On Mar 20, 2015, at 5:35 PM, Kalpit Thakkar ceasy...@gmail.com wrote: I'm sorry I'm rushing this too much. I am trying to develop my proposal for the Object-Oriented C++ Geometry API project and I want to include adding features like Centroid, Volume and Surface Area of the primitive in the