Molassembler  1.0.0
Molecule graph and conformer library
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Scine::Molassembler::Shapes::Data::EquilateralTriangle Struct Reference

Equilateral triangle shape (planar) More...

#include <Data.h>

Static Public Member Functions

static constexpr double angleFunction (const unsigned a, const unsigned b)
 

Static Public Attributes

static constexpr Shape shape = Shape::EquilateralTriangle
 
static constexpr PointGroup pointGroup = PointGroup::D3h
 
static constexpr unsigned size = 3
 
static constexpr char stringName [] = "triangle"
 
static constexpr std::array
< Temple::Vector, 3 > 
coordinates
 
static constexpr std::array
< std::array< unsigned, 3 >, 2 > 
rotations
 
static constexpr std::array
< std::array< unsigned, 4 >, 0 > 
tetrahedra {{}}
 
static constexpr std::array
< unsigned, 0 > 
mirror {}
 

Detailed Description

Equilateral triangle shape (planar)

*
*     0
*     |
*    (_)
*   /   \
*  1     2
*
* 

This character art is not quite ideal since the angles are thoroughly misrepresented, but all positions including the central vertex are in one plane. The angles are idealized as 120°.

Field Documentation

constexpr std::array<Temple::Vector, 3> Scine::Molassembler::Shapes::Data::EquilateralTriangle::coordinates
static
Initial value:
{{
{1, 0, 0},
{-0.5, 0.866025, 0},
{-0.5, -0.866025, 0}
}}
constexpr std::array< std::array<unsigned, 3>, 2 > Scine::Molassembler::Shapes::Data::EquilateralTriangle::rotations
static
Initial value:
{{
{{1, 2, 0}},
{{0, 2, 1}}
}}

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