Molassembler  3.0.1
Molecule graph and conformer library
AngstromPositions.h
Go to the documentation of this file.
1 
11 #ifndef INCLUDE_MOLASSEMBLER_ANGSTROM_POSITIONS_H
12 #define INCLUDE_MOLASSEMBLER_ANGSTROM_POSITIONS_H
13 
14 #include "Molassembler/Types.h"
15 
16 #include "Utils/Typenames.h"
17 
18 namespace Scine {
19 namespace Molassembler {
20 
25 class MASM_EXPORT AngstromPositions {
26 public:
29 
31  AngstromPositions() = default;
33  explicit AngstromPositions(unsigned N);
36  const Utils::PositionCollection& pos,
37  LengthUnit lengthUnit = LengthUnit::Bohr
38  );
39 
42 };
43 
44 } // namespace molassmbler
45 } // namespace Scine
46 
47 #endif
Defines basic types widely shared across the project.
A wrapper class around Utils' PositionCollection to emphasize that the positions stored therein are i...
Definition: AngstromPositions.h:25
AngstromPositions(const Utils::PositionCollection &pos, LengthUnit lengthUnit=LengthUnit::Bohr)
Convert from a Utils::PositionCollection.
AngstromPositions(unsigned N)
Preallocate space for N positions.
Utils::PositionCollection positions
Positions in angstrom units.
Definition: AngstromPositions.h:28
Utils::PositionCollection getBohr() const
Fetch a bohr representation of the wrapped positions.
AngstromPositions()=default
Default ctor.
LengthUnit
Length units.
Definition: Types.h:45