Re: DrGeoII object model: Representation of a point
Le 19/10/2018 à 09:27, HJH [via Dr. Geo Forum] a écrit :
> I'd like to learn more how the DrGeo object model looks like.
> I found out that for representing a point the following objects are used:
> (A) aDrGeoWrappedPoint --> (B) aDrGeoPointCostume <--> (C)
> (D) aDrGPointFreeItem -->
> (E) aPoint
> I understand that when writing a script I deal with the
> aDrGeoWrappedPoint most of the time with (A) after it has been
> constructed. (E) is used for constructing it.
> Do the other geometric objects also have 4 or 5 objects representing
That's about it.
From a Smalltalk sketch perspective, the Wrapped object encapsulate the
underneath complexity to facilitate access to useful when writing a sketch.
A Costume also knows about the style of the object: colours, line or
point shapes. Again the wrapped point directly gave access to these
features through dedicated messages.