Module
MolDraw.Atom
- Package
- purescript-mol-draw
- Repository
- lukasturcani/molDraw
Defines the Atom
type.
You will probably wonder why there is both an Atom
and a
GeometryAtom
type. Atom
represents atoms individually, while
GeometryAtom
represents an atom in the context of a molecule.
Essentially, the difference is simply that GeometryAtom
has an
id, while an Atom
does not.
#chemicalSymbol Source
chemicalSymbol :: Atom -> ChemicalSymbol
Get the chemical symbol of an atom.
- Modules
- MolDraw
- MolDraw.
Atom - MolDraw.
Bond - MolDraw.
BondSegment - MolDraw.
ChemicalSymbol - MolDraw.
DrawMol - MolDraw.
DrawMol. Mesh - MolDraw.
DrawMol. Scene - MolDraw.
GeometryAtom - MolDraw.
GeometryData - MolDraw.
Parsers. ChemicalSymbol - MolDraw.
Parsers. V3000 - MolDraw.
Position - MolDraw.
Utils - MolDraw.
Utils. ElementColors - MolDraw.
Utils. ElementSizes