Changelog for v.4.0.x#

v.4.0.0#

See the changelog for the SAMSON SDK in the Developer guide.

DataModel#

DataModel.Color#

ColorPalette

Add a new color palette type, FlexibleDiverging, and a corresponding color palette class: samson.DataModel.Color.ColorPaletteFlexibleDivergingHCL

Add new attribute:

  • samson.DataModel.Color.ColorPalette.reverseFlag()

DataModel.Visualization#

A new library for visualization with the following classes:

  • samson.DataModel.Visualization.VisualPreset

  • samson.DataModel.Visualization.VisualPresetGroup

Facade#

Facade.SAMSON#

New functions:

  • samson.Facade.SAMSON.getCameraControllerFlag(), samson.Facade.SAMSON.getGridFlag(), samson.Facade.SAMSON.getScaleFlag()

  • samson.Facade.SAMSON.isGUIThread()

Modeling#

Modeling.Element#

Element

New functions:

  • samson.Modeling.Element.Element.isAlkaliMetal()

  • samson.Modeling.Element.Element.isAlkalineEarthMetal()

  • samson.Modeling.Element.Element.isLanthanide()

  • samson.Modeling.Element.Element.isActinide()

  • samson.Modeling.Element.Element.isTransitionMetal()

  • samson.Modeling.Element.Element.isPosttransitionMetal()

  • samson.Modeling.Element.Element.isMetalloid()

  • samson.Modeling.Element.Element.isNobleGas()

  • samson.Modeling.Element.Element.isReactiveNonmetal()

  • samson.Modeling.Element.Element.isDiatomicNonmetal()

  • samson.Modeling.Element.Element.isPolyatomicNonmetal()

  • samson.Modeling.Element.Element.isHalogen()

ElementTable

New functions:

  • samson.Modeling.Element.ElementTable.isAlkaliMetal()

  • samson.Modeling.Element.ElementTable.isAlkalineEarthMetal()

  • samson.Modeling.Element.ElementTable.isLanthanide()

  • samson.Modeling.Element.ElementTable.isActinide()

  • samson.Modeling.Element.ElementTable.isTransitionMetal()

  • samson.Modeling.Element.ElementTable.isPosttransitionMetal()

  • samson.Modeling.Element.ElementTable.isMetalloid()

  • samson.Modeling.Element.ElementTable.isNobleGas()

  • samson.Modeling.Element.ElementTable.isReactiveNonmetal()

  • samson.Modeling.Element.ElementTable.isDiatomicNonmetal()

  • samson.Modeling.Element.ElementTable.isPolyatomicNonmetal()

  • samson.Modeling.Element.ElementTable.isHalogen()

Modeling.StructuralModel#

Atom

New functions:

  • samson.Modeling.StructuralModel.Atom.isAlkaliMetal()

  • samson.Modeling.StructuralModel.Atom.isAlkalineEarthMetal()

  • samson.Modeling.StructuralModel.Atom.isLanthanide()

  • samson.Modeling.StructuralModel.Atom.isActinide()

  • samson.Modeling.StructuralModel.Atom.isTransitionMetal()

  • samson.Modeling.StructuralModel.Atom.isPosttransitionMetal()

  • samson.Modeling.StructuralModel.Atom.isMetalloid()

  • samson.Modeling.StructuralModel.Atom.isNobleGas()

  • samson.Modeling.StructuralModel.Atom.isReactiveNonmetal()

  • samson.Modeling.StructuralModel.Atom.isDiatomicNonmetal()

  • samson.Modeling.StructuralModel.Atom.isPolyatomicNonmetal()

  • samson.Modeling.StructuralModel.Atom.isHalogen()

StructuralModel

New functions:

  • samson.Modeling.StructuralModel.StructuralModel.getAltLocations()

  • samson.Modeling.StructuralModel.StructuralModel.findAtom()

  • samson.Modeling.StructuralModel.StructuralModel.createBond()

  • samson.Modeling.StructuralModel.StructuralModel.bondExists()