RDKit
Open-source cheminformatics and machine learning.
Loading...
Searching...
No Matches
RDKit::MolDraw2D_detail::SGroupDataLabel Struct Reference

Holds the text and position of a DAT SGroup label. More...

#include <MolDraw2DSGroupData.h>

Public Attributes

std::string text
 label text
 
RDGeom::Point2D pos
 position in molecule coordinates
 
bool positioned
 
int atomIdx
 index of the associated atom (-1 if none)
 

Detailed Description

Holds the text and position of a DAT SGroup label.

Definition at line 27 of file MolDraw2DSGroupData.h.

Member Data Documentation

◆ atomIdx

int RDKit::MolDraw2D_detail::SGroupDataLabel::atomIdx

index of the associated atom (-1 if none)

Definition at line 32 of file MolDraw2DSGroupData.h.

◆ pos

RDGeom::Point2D RDKit::MolDraw2D_detail::SGroupDataLabel::pos

position in molecule coordinates

Definition at line 29 of file MolDraw2DSGroupData.h.

◆ positioned

bool RDKit::MolDraw2D_detail::SGroupDataLabel::positioned

true if pos came from FIELDDISP; false if pos is the associated atom's conformer position (fallback)

Definition at line 30 of file MolDraw2DSGroupData.h.

◆ text

std::string RDKit::MolDraw2D_detail::SGroupDataLabel::text

label text

Definition at line 28 of file MolDraw2DSGroupData.h.


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