A DrGeo object is the application model. Is the class comment up to date?

classic Classic list List threaded Threaded
6 messages Options
HJH
Reply | Threaded
Open this post in threaded view
|

A DrGeo object is the application model. Is the class comment up to date?

HJH
Hello

The DrGeo class (Release 18.06)  has the comment below. Is it still up to date?

How do the geometry model and the tree model relate?

What is the script model?

Regards
Hannes

---------------------------------------------------------------------------------------------------------------------------------

DrGeo

The application model. It is encapsulating our sub model: geometry
model, tree model and script model.
Two viewers are proposed:

    a service is basicaly a canvas with wheel morphs, it can be
embedded in bookmorph ,...
    a polymorph window with a friendly graphic user interface
    isNotInteractive: do we let pop up show up

Reply | Threaded
Open this post in threaded view
|

Re: A DrGeo object is the application model. Is the class comment up to date?

Hliaire Fernandes
Administrator
Hi Hannes,

This comment is obsolete. I am updating it.

Thanks

Hilaire


Le 28/09/2018 à 17:16, H. Hirzel a écrit :
> The DrGeo class (Release 18.06)  has the comment below. Is it still up to date?
>
> How do the geometry model and the tree model relate?
>
> What is the script model?

--
GNU Dr. Geo
http://drgeo.eu


HJH
Reply | Threaded
Open this post in threaded view
|

Re: A DrGeo object is the application model. Is the class comment up to date?

HJH
Hello Hilaire

Another question:

Is the geometry model composed of DrGMathItem objects?

--Hannes

On 9/28/18, Hilaire Fernandes <[hidden email]> wrote:

> Hi Hannes,
>
> This comment is obsolete. I am updating it.
>
> Thanks
>
> Hilaire
>
>
> Le 28/09/2018 à 17:16, H. Hirzel a écrit :
>> The DrGeo class (Release 18.06)  has the comment below. Is it still up to
>> date?
>>
>> How do the geometry model and the tree model relate?
>>
>> What is the script model?
>
> --
> GNU Dr. Geo
> http://drgeo.eu
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: A DrGeo object is the application model. Is the class comment up to date?

Hliaire Fernandes
Administrator
HJH wrote
> Hello Hilaire
>
> Another question:
>
> Is the geometry model composed of DrGMathItem objects?
>
> --Hannes


Indeed, DrGMathItem instances and their inter-dependencies make the
geometric model. They are managed by a factory, DrGFactory

Hilaire



--
Sent from: http://forum.drgeo.eu/Developers-f4023912.html

HJH
Reply | Threaded
Open this post in threaded view
|

Re: A DrGeo object is the application model. Is the class comment up to date?

HJH
Hello Hilaire

I understand that a DrGeo object is still the application model but
that it has changed to what you write in the now updated comment in
the most recent developer version

Thank you

--Hannes

----------------------------------------------------------
This is the DrGeo application model. It holds references to:
- the domain, the geometric items constituting the sketch
- the costumes, the views of the geometric items
- the presenter, the way for the user to interact with the application
- isNotInteractive, it indicates if the app is under the user interaction or
is used by the system (for example to load a sketch), in that case no
user interaction
are authorized.

To instantiate an application, do:
- 'DrGeo new' for a complete application
- 'DrGeo applicationToolbarless' for an app without the toolbar
- service mode, view without any UI element
---------------------------------------------

On 10/2/18, Hliaire Fernandes <[hidden email]> wrote:

> HJH wrote
>> Hello Hilaire
>>
>> Another question:
>>
>> Is the geometry model composed of DrGMathItem objects?
>>
>> --Hannes
>
>
> Indeed, DrGMathItem instances and their inter-dependencies make the
> geometric model. They are managed by a factory, DrGFactory
>
> Hilaire
>
>
>
> --
> Sent from: http://forum.drgeo.eu/Developers-f4023912.html
>
>

Reply | Threaded
Open this post in threaded view
|

Re: A DrGeo object is the application model. Is the class comment up to date?

Hliaire Fernandes
Administrator
Hi Hannes,

The comment was indeed very obsolete, written around 2005 at the
beginning of the Smalltalk port.

Thanks to point it.

Please keep going.

Hilaire


Le 04/10/2018 à 08:06, H. Hirzel a écrit :
> I understand that a DrGeo object is still the application model but
> that it has changed to what you write in the now updated comment in
> the most recent developer version

--
GNU Dr. Geo
http://drgeo.eu