Documentation ¶
Index ¶
- Variables
- func Degrees(radians float64) float64
- func Radians(degrees float64) float64
- type Atom
- type Bond
- type Camera
- type Cylinder
- type Molecule
- type Sphere
- type Vector
- func (a Vector) Add(b Vector) Vector
- func (a Vector) Cross(b Vector) Vector
- func (a Vector) DivScalar(b float64) Vector
- func (a Vector) Dot(b Vector) float64
- func (a Vector) Length() float64
- func (a Vector) MulScalar(b float64) Vector
- func (a Vector) Normalize() Vector
- func (a Vector) Sub(b Vector) Vector
Constants ¶
This section is empty.
Variables ¶
View Source
var AtomicRadii = map[string]int{
"H": 53,
"He": 31,
"Li": 167,
"Be": 112,
"B": 87,
"C": 67,
"N": 56,
"O": 48,
"F": 42,
"Ne": 38,
"Na": 190,
"Mg": 145,
"Al": 118,
"Si": 111,
"P": 98,
"S": 88,
"Cl": 79,
"Ar": 71,
"K": 243,
"Ca": 194,
"Sc": 184,
"Ti": 176,
"V": 171,
"Cr": 166,
"Mn": 161,
"Fe": 156,
"Co": 152,
"Ni": 149,
"Cu": 145,
"Zn": 142,
"Ga": 136,
"Ge": 125,
"As": 114,
"Se": 103,
"Br": 94,
"Kr": 88,
"Rb": 265,
"Sr": 219,
"Y": 212,
"Zr": 206,
"Nb": 198,
"Mo": 190,
"Tc": 183,
"Ru": 178,
"Rh": 173,
"Pd": 169,
"Ag": 165,
"Cd": 161,
"In": 156,
"Sn": 145,
"Sb": 133,
"Te": 123,
"I": 115,
"Xe": 108,
"Cs": 298,
"Ba": 253,
"Pr": 247,
"Nd": 206,
"Pm": 205,
"Sm": 238,
"Eu": 231,
"Gd": 233,
"Tb": 225,
"Dy": 228,
"Er": 226,
"Tm": 222,
"Yb": 222,
"Lu": 217,
"Hf": 208,
"Ta": 200,
"W": 193,
"Re": 188,
"Os": 185,
"Ir": 180,
"Pt": 177,
"Au": 174,
"Hg": 171,
"Tl": 156,
"Pb": 154,
"Bi": 143,
"Po": 135,
"Rn": 120,
}
Functions ¶
Types ¶
type Camera ¶
func MakeCamera ¶
type Molecule ¶
func ParseString ¶
Click to show internal directories.
Click to hide internal directories.