24 #ifndef OB_TETRAHEDRAL_H 25 #define OB_TETRAHEDRAL_H 104 Config(
unsigned long _center,
unsigned long from_or_towards,
107 from(from_or_towards), refs(_refs), winding(_winding), view(_view),
157 return !(*
this == other);
204 bool IsValid()
const;
209 void SetConfig(
const Config &config);
218 Config GetConfig(
unsigned long from_or_towards,
236 return !(*
this == other);
OBStereo::Refs refs
The 3 reference ids.
Definition: tetrahedral.h:176
Base class for generic data.
Definition: base.h:188
Config(unsigned long _center, unsigned long from_or_towards, const OBStereo::Refs &_refs, OBStereo::Winding _winding=OBStereo::Clockwise, OBStereo::View _view=OBStereo::ViewFrom)
Definition: tetrahedral.h:104
unsigned long from
Definition: tetrahedral.h:173
Clockwise winding.
Definition: stereo.h:131
bool operator!=(const Config &other) const
Definition: tetrahedral.h:155
OBStereo::View view
Specify viewing from or towards the atom with from/towards id.
Definition: tetrahedral.h:178
Placeholder for enums & Ref/Refs related functions.
Definition: stereo.h:75
Molecule Class.
Definition: mol.h:118
bool operator!=(const OBTetrahedralStereo &other) const
Definition: tetrahedral.h:234
View
Definition: stereo.h:119
bool specified
Definition: tetrahedral.h:179
Config()
Definition: tetrahedral.h:91
Stereochemical configuration for tetrahedral stereocenters.
Definition: tetrahedral.h:84
unsigned long towards
Definition: tetrahedral.h:174
view from the atom (id parameter) towards the center atom
Definition: stereo.h:121
Winding
Definition: stereo.h:130
Base class for handling and storing non-planar stereochemistry with 4 reference atom ids...
Definition: tetranonplanar.h:91
OBStereo::Type GetType() const
Definition: tetrahedral.h:199
std::ostream & operator<<(std::ostream &, const vector3 &)
Prints a representation of the vector as a row vector of the form "<0.1,1,2>".
Definition: vector3.cpp:109
std::vector< Ref > Refs
Definition: stereo.h:156
Class for handling and storing tetrahedral atom stereochemistry.
Definition: tetrahedral.h:58
unsigned long center
Definition: tetrahedral.h:164
OBStereo::Winding winding
Definition: tetrahedral.h:177
Base class for handling and storing non-planar stereochemistry with 4 reference atom ids...
Type
Definition: stereo.h:80
Base Class.
Definition: base.h:239
bool operator==(const OBBitVec &bv1, const OBBitVec &bv2)
Definition: bitvec.cpp:525
tetrahedral
Definition: stereo.h:84
Global namespace for all Open Babel code.
Definition: alias.h:22