Re: [chlor-develop] CSegment
Status: Pre-Alpha
Brought to you by:
lenny222
|
From: <chl...@li...> - 2006-03-18 13:54:19
|
> change afterwards. We should be able to adapt the implementation of > objects easily while leaving the interface as is. Use inheritance > only for true inheritance (= implementation inheritance). To avoid > copy/paste use composition. In the case of the segment : it's not > because a segment contains nodes that it should be a container. In > fact the purpose of a segment is to represent a line or curve > segment, it's purpose is not to contain nodes. The kind of > container used by the segment I agree. What i do not see yet is how you want to deal with bounding box stuff when you remove the CObject inheritance wihtout using copy/ paste. Lenny |