unpacked
|
aspirin.class,
aspirin.java,
aterm.class,
aterm.java,
atom.class,
atom.java,
buckybal.class,
buckybal.java,
carbon.class,
carbon.java,
diamond.class,
diamond.java,
dl_atom.class,
dl_atom.java,
dl_bond.class,
dl_bond.java,
dlentry.class,
dlentry.java,
dlforce.class,
dlforce.java,
group.class,
group.java,
hydrogen.class,
hydrogen.java,
lrterm.class,
lrterm.java,
lterm.class,
lterm.java,
nanocad.class,
nanocad.java,
ncad.html,
nitrogen.class,
nitrogen.java,
oxygen.class,
oxygen.java,
propane.class,
propane.java,
term.class,
term.java,
tterm.class,
tterm.java,
tworings.class,
tworings.java,
view.class,
view.java,
water.class,
water.java,
wrapper.class,
wrapper.java
|
|
|
/**
* buckybal.java
* Copyright (c) 1997 Will Ware, all rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* or its derived works must display the following acknowledgement:
* This product includes software developed by Will Ware.
*
* This software is provided "as is" and any express or implied warranties,
* including, but not limited to, the implied warranties of merchantability
* or fitness for any particular purpose are disclaimed. In no event shall
* Will Ware be liable for any direct, indirect, incidental, special,
* exemplary, or consequential damages (including, but not limited to,
* procurement of substitute goods or services; loss of use, data, or
* profits; or business interruption) however caused and on any theory of
* liability, whether in contract, strict liability, or tort (including
* negligence or otherwise) arising in any way out of the use of this
* software, even if advised of the possibility of such damage.
*/
import java.awt.Panel;
import group;
public class buckybal extends group
{
public static final String rcsid =
"$Id: buckybal.java,v 1.6 1997/08/12 04:11:16 wware Exp $";
public buckybal (Panel p)
{
mypanel = p;
addAtom (new carbon (atom.SP2,
0.022426609094483, 1.8752544214456, -3.4007996639713));
addAtom (new carbon (atom.SP2,
1.1512995918111, 2.6495195729795, -2.598708545398));
addAtom (new carbon (atom.SP2,
2.4179789740772, 1.7147154540948, -2.5205747481998));
addAtom (new carbon (atom.SP2,
2.0860404997325, 0.36092065139099, -3.2874697668923));
addAtom (new carbon (atom.SP2,
0.60608387409333, 0.46222015490445, -3.8199758192258));
addAtom (new carbon (atom.SP2,
0.77351228548216, 3.5509969712007, -1.4137732389618));
addAtom (new carbon (atom.SP2,
-1.4255700230364, 1.9917929483423, -2.9955312476464));
addAtom (new carbon (atom.SP2,
-0.29610879377116, -0.78308610108052, -3.8134867055276));
addAtom (new carbon (atom.SP2,
2.604846005198, -0.97171588071547, -2.7718538744558));
addAtom (new carbon (atom.SP2,
3.2467805949263, 1.6896484464886, -1.2382202475234));
addAtom (new carbon (atom.SP2,
1.6432691711786, 3.5413228108245, -0.093804211226442));
addAtom (new carbon (atom.SP2,
2.850916276039, 2.6067653777954, -0.015288865495504));
addAtom (new carbon (atom.SP2,
3.7600410025801, 0.30884651973247, -0.68481513334933));
addAtom (new carbon (atom.SP2,
3.445275252173, -0.99116106552154, -1.4294272169306));
addAtom (new carbon (atom.SP2,
1.6733121142724, -2.269167292962, -2.7707276449365));
addAtom (new carbon (atom.SP2,
0.24634783824581, -2.173021690927, -3.2712338089226));
addAtom (new carbon (atom.SP2,
-1.8045428208403, -0.66222381501763, -3.3655085997901));
addAtom (new carbon (atom.SP2,
-2.3498856424879, 0.70405480213134, -2.9629617421814));
addAtom (new carbon (atom.SP2,
-1.8093930291125, 2.9088782919611, -1.7547250052457));
addAtom (new carbon (atom.SP2,
-0.74636612168478, 3.6773410429349, -0.99608382140807));
addAtom (new carbon (atom.SP2,
-2.9696250901741, 2.168164766813, -0.96299746359134));
addAtom (new carbon (atom.SP2,
-3.2909583870676, 0.80077838116632, -1.6938320401995));
addAtom (new carbon (atom.SP2,
-2.1886283525531, -1.9418232112557, -2.5229425026006));
addAtom (new carbon (atom.SP2,
-0.92702601044008, -2.8732456994522, -2.4560691933984));
addAtom (new carbon (atom.SP2,
1.9315090628864, -3.0502411895725, -1.4106754898822));
addAtom (new carbon (atom.SP2,
3.0229329692195, -2.2576371835023, -0.59176797041437));
addAtom (new carbon (atom.SP2,
3.6909562156065, 0.37322167149474, 0.90264066440579));
addAtom (new carbon (atom.SP2,
3.1122399286525, 1.7971600700949, 1.3168084292087));
addAtom (new carbon (atom.SP2,
0.66509588413135, 3.6752805917837, 1.1423896720197));
addAtom (new carbon (atom.SP2,
-0.8099783082791, 3.7539243266469, 0.59349369318477));
addAtom (new carbon (atom.SP2,
0.79869514143326, -3.7180557462948, -0.61260820317891));
addAtom (new carbon (atom.SP2,
-0.66945941561747, -3.6435899678315, -1.1501588785601));
addAtom (new carbon (atom.SP2,
-3.1026922324966, -1.8460717488657, -1.2893403082164));
addAtom (new carbon (atom.SP2,
-3.628409056072, -0.42621762235944, -0.87991037782988));
addAtom (new carbon (atom.SP2,
2.9418284622384, -2.1732272245488, 0.92604488270288));
addAtom (new carbon (atom.SP2,
3.2897939443182, -0.83592256453632, 1.6920177830378));
addAtom (new carbon (atom.SP2,
2.1819746435225, 1.936574076771, 2.5065156701753));
addAtom (new carbon (atom.SP2,
0.9248970803999, 2.8932630890314, 2.4386888466169));
addAtom (new carbon (atom.SP2,
-1.9309515891949, 3.0564458114183, 1.3433586100346));
addAtom (new carbon (atom.SP2,
-3.018576624686, 2.2313292632692, 0.53911965458547));
addAtom (new carbon (atom.SP2,
-2.8560318599386, -2.6677136478329, 0.049323616945117));
addAtom (new carbon (atom.SP2,
-1.6307907944459, -3.5553388230227, 0.11141464620015));
addAtom (new carbon (atom.SP2,
0.7471579333785, -3.6471403574742, 0.9743348793448));
addAtom (new carbon (atom.SP2,
1.7854554522136, -2.8850018430065, 1.7401825653894));
addAtom (new carbon (atom.SP2,
2.3285303166183, -0.68953104469289, 2.9492887125221));
addAtom (new carbon (atom.SP2,
1.7814071855295, 0.66075981839541, 3.3550614414386));
addAtom (new carbon (atom.SP2,
-0.25759091198646, 2.2054450907153, 3.2421611773352));
addAtom (new carbon (atom.SP2,
-1.6636699807031, 2.279510597169, 2.7075271454313));
addAtom (new carbon (atom.SP2,
-3.4083194096011, 0.95166296859895, 1.388568329464));
addAtom (new carbon (atom.SP2,
-3.7138316098451, -0.3515797939896, 0.69546029815276));
addAtom (new carbon (atom.SP2,
-0.76537588856052, -3.5154453049657, 1.4380370380028));
addAtom (new carbon (atom.SP2,
0.27300040620805, 0.81244444614458, 3.8195890678929));
addAtom (new carbon (atom.SP2,
1.3988706573314, -1.9769360554554, 2.9916565046679));
addAtom (new carbon (atom.SP2,
-3.2315822895317, -1.7376389838472, 1.2818481533782));
addAtom (new carbon (atom.SP2,
-2.5817239411554, 0.97694783292752, 2.7369741521199));
addAtom (new carbon (atom.SP2,
-0.6198377790626, -0.42534759042041, 3.8829398770341));
addAtom (new carbon (atom.SP2,
-0.032742970698653, -1.8456164387286, 3.4594785307332));
addAtom (new carbon (atom.SP2,
-1.1408119712553, -2.6415277499273, 2.644535944108));
addAtom (new carbon (atom.SP2,
-2.4278221764097, -1.7191934611247, 2.5803096324803));
addAtom (new carbon (atom.SP2,
-2.1041722918837, -0.34077116973532, 3.3255027165472));
addBond (57, 50);
addBond (52, 56);
addBond (55, 51);
addBond (54, 59);
addBond (53, 58);
addBond (59, 55);
addBond (58, 59);
addBond (57, 58);
addBond (56, 57);
addBond (55, 56);
addBond (47, 54);
addBond (48, 54);
addBond (53, 49);
addBond (40, 53);
addBond (52, 43);
addBond (44, 52);
addBond (51, 45);
addBond (46, 51);
addBond (50, 41);
addBond (42, 50);
addBond (49, 33);
addBond (39, 48);
addBond (49, 48);
addBond (42, 43);
addBond (45, 44);
addBond (47, 46);
addBond (47, 38);
addBond (37, 46);
addBond (45, 36);
addBond (35, 44);
addBond (43, 34);
addBond (30, 42);
addBond (40, 41);
addBond (40, 32);
addBond (31, 41);
addBond (38, 39);
addBond (39, 20);
addBond (29, 38);
addBond (28, 37);
addBond (27, 36);
addBond (26, 35);
addBond (25, 34);
addBond (37, 36);
addBond (34, 35);
addBond (21, 33);
addBond (22, 32);
addBond (31, 23);
addBond (24, 30);
addBond (32, 33);
addBond (30, 31);
addBond (29, 19);
addBond (28, 29);
addBond (10, 28);
addBond (27, 11);
addBond (26, 27);
addBond (12, 26);
addBond (25, 13);
addBond (24, 25);
addBond (14, 24);
addBond (23, 15);
addBond (22, 23);
addBond (16, 22);
addBond (21, 17);
addBond (20, 21);
addBond (18, 20);
addBond (9, 11);
addBond (12, 9);
addBond (8, 13);
addBond (14, 8);
addBond (7, 15);
addBond (16, 7);
addBond (6, 17);
addBond (18, 6);
addBond (5, 19);
addBond (10, 5);
addBond (3, 8);
addBond (4, 7);
addBond (6, 0);
addBond (19, 18);
addBond (16, 17);
addBond (14, 15);
addBond (12, 13);
addBond (10, 11);
addBond (2, 9);
addBond (1, 5);
addBond (4, 0);
addBond (3, 4);
addBond (2, 3);
addBond (1, 2);
addBond (0, 1);
}
}
|