![]() |
RDKit
Open-source cheminformatics and machine learning.
|
#include <MolDraw2D.h>
Public Member Functions | |
StringRect () | |
StringRect (const Point2D &offset, const Point2D &g_centre, double w, double h) | |
void | calcCorners (Point2D &tl, Point2D &tr, Point2D &br, Point2D &bl, double padding) const |
bool | doesItIntersect (const StringRect &other) const |
Public Attributes | |
Point2D | trans_ |
Point2D | offset_ |
Point2D | g_centre_ |
double | y_shift_ |
double | width_ |
double | height_ |
double | rect_corr_ |
int | clash_score_ |
Definition at line 69 of file MolDraw2D.h.
|
inline |
Definition at line 79 of file MolDraw2D.h.
|
inline |
Definition at line 88 of file MolDraw2D.h.
|
inline |
Definition at line 99 of file MolDraw2D.h.
References g_centre_, height_, offset_, trans_, width_, RDGeom::Point2D::x, RDGeom::Point2D::y, and y_shift_.
Referenced by doesItIntersect().
|
inline |
Definition at line 110 of file MolDraw2D.h.
References calcCorners(), RDGeom::Point2D::x, and RDGeom::Point2D::y.
int RDKit::StringRect::clash_score_ |
Definition at line 77 of file MolDraw2D.h.
Point2D RDKit::StringRect::g_centre_ |
Definition at line 72 of file MolDraw2D.h.
Referenced by calcCorners().
double RDKit::StringRect::height_ |
Definition at line 74 of file MolDraw2D.h.
Referenced by calcCorners().
Point2D RDKit::StringRect::offset_ |
Definition at line 71 of file MolDraw2D.h.
Referenced by calcCorners().
double RDKit::StringRect::rect_corr_ |
Definition at line 75 of file MolDraw2D.h.
Point2D RDKit::StringRect::trans_ |
Definition at line 70 of file MolDraw2D.h.
Referenced by calcCorners().
double RDKit::StringRect::width_ |
Definition at line 74 of file MolDraw2D.h.
Referenced by calcCorners().
double RDKit::StringRect::y_shift_ |
Definition at line 73 of file MolDraw2D.h.
Referenced by calcCorners().