Stream: brlcad

Topic: wdb


view this post on Zulip starseeker (Aug 28 2021 at 15:37):

Hey @Sean , do you know why we have both the db_i and rt_wdb structures, as opposed to just one struct?

view this post on Zulip Sean (Sep 01 2021 at 02:31):

Yes, the gist is db_i is a low level structure whereas rt_wdb is a high-level api structure.

view this post on Zulip Sean (Sep 01 2021 at 02:32):

the implication being that the high-level api is intentionally more limited in what it can do, but is more convenient due to what it guarantees .. in this caes, that it's part of libwdb's API which has other features like tracking tolerances, better multithreaded access, means for dealing with dealing with naming collisions, etc.

view this post on Zulip Sean (Sep 01 2021 at 02:36):

db_i doesn't have any of that and is more centered around lower-level database operations.


Last updated: Oct 09 2024 at 00:44 UTC