Idris2Doc : Geom.Gen2D.Place

Geom.Gen2D.Place

(source)

Definitions

prioritize : IGraphken->IArraykNat
Totality: total
Visibility: export
placeChain : DebugFlag=>CastnElem=>CastnHybridization=>IGraphken->PlaceSTsk=>Fink->List (Fink) ->MolVector->F1's
  Places the atoms in a linear chain.

Expects the first atom to be placed and
places the next atom according to initialBondVector. The rest of the chain
is placed such that it is as linear as possible (in the overall result, the
angles in the chain are set to 120 Deg.)
TODO: Double bond configuration

Totality: total
Visibility: export
polygonCorners : DebugFlag=>CastnElem=>CastnHybridization=>IGraphken->PlaceSTsk=>List (Fink) ->MolPoint->Angle->Angle->MolVector->F1's
Totality: total
Visibility: export
distributeAtoms : DebugFlag=>CastnElem=>CastnHybridization=>IGraphken->PlaceSTsk=>Fink->List (Fink) ->List (Fink) ->F1's
Totality: total
Visibility: export
placeNeighbours : DebugFlag=>CastnElem=>CastnHybridization=>IGraphken->PlaceSTsk=>Fink->F1s (List (Fink))
Totality: total
Visibility: export
placeAtom : DebugFlag=>CastnElem=>CastnHybridization=>IGraphken->PlaceSTsk=>Fink->F1's
  Convenience method to place a single atom. This function will first find
a placed neighbour does not need to be set) and then place this
new atoms considering the neighbour's neighbours. Essentially this
utility is useful for sprouting a new atom to an already placed
structure.

Totality: total
Visibility: export