I hesitate to make the alredy complex hierarchy more so.

What about moving get2DCenter to some superclass?

On Sun, Jun 17, 2012 at 4:49 AM, <ralf@ark.in-berlin.de> wrote:
I propose to add a class to the IChemObject hierarchy to
the effect that IElement and IElectronContainer (and maybe
IAtomContainer) have a superclass below IChemObject, making
it possible to call get2DCenter() on both IBond and IAtom
(and others too) when that method will be moved to that interface.

Reason: it's a natural; also, there are situations any
selected object is wanted regardless of Atom/Bond.

Possible names coming to mind are
o IObjectWith2DCenter
o IPositionableObject
o IObjectInArea
o IObjectInSpace

Opinions? What about arrows?


Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Cdk-devel mailing list

Rajarshi Guha | http://blog.rguha.net
NIH Center for Advancing Translational Science