Open Babel: OBTetrahedralStereo Class Reference

# OBTetrahedralStereo Class Reference

Class for handling and storing tetrahedral atom stereochemistry. More...

`#include <tetrahedral.h>`

## Detailed Description

Class for handling and storing tetrahedral atom stereochemistry.

The OBTetrahedralStereo class is used to represent tetrahedral atom stereo chemistry. Before continuing reading, it is recommeded to read the OBTetraNonPlanar documentation first. Since this class inherits OBTetraNonPlanerStereo it should be clear that the class stores the spacial arrangement of 4 non-planer atoms. However, for the tetrahedral case, one additional OBStereo::Ref is needed: the atom id for the center atom.

The stereochemistry is set, retrieved and internally stored using the OBTetrahedralStereo::Config struct. OBTetrahedralStereo functions as a wrapper around the Config struct and provides functions to get a copy of the Config struct converted to any view direction or atom and winding (OBTetrahedralStereo::GetConfig).

Like all stereo classes, errors, warnings or info is reported using OBMessageHandler.

See also:
  OBStereo OBStereoBase OBTetraNonPlanarStereo OBStereoFacade

Since:
  version 2.3

The documentation for this class was generated from the following file:

- tetrahedral.h

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines