[cad-linux] Re: database access methods

  • From: Eric Wilhelm <ewilhelm@xxxxxxxxxxxxx>
  • To: cad-linux@xxxxxxxxxxxxx
  • Date: Fri, 16 May 2003 10:22:02 -0500

> The following was supposedly scribed by
> Jim Parker
> on Friday 16 May 2003 10:03 am:

>G'Day !
>
>GtkCAD does it this way.  There is a standard Library API that covers
>all normal geometric entities.  So if a function needs the location of
>a vertex, it uses this API.
>
>But lets say a module needs to know the Over all length of a ship
>hull.  Generic GtkCAD does not know what a ship is let along it's
>length (after all civil engineers have no need for this table.)  So
>GtkCAD allows the module to add a table to the database and manipulate
>the info in the new table, but it uses the standard library for generic
>model information.

Would parts of the naval module be usable by other programs/modules which 
would require access to the hull information for other tasks?

Could these parts be a well-defined group of functions specific to accessing 
that data?

If so, would it over-complicate the development to make these functions into a 
library intended for allowing access to the ship data?

--Eric

Other related posts: