RDKit
Open-source cheminformatics and machine learning.
|
#include <StringRect.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 |
void | calcCentre (Point2D &c) const |
bool | isPointInside (const Point2D &pt, double padding=0.0) const |
bool | doesItIntersect (const StringRect &other, double padding=0.0) 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 24 of file StringRect.h.
|
inline |
Definition at line 35 of file StringRect.h.
|
inline |
Definition at line 44 of file StringRect.h.
|
inline |
Definition at line 66 of file StringRect.h.
References g_centre_, offset_, RDKit::rdvalue_is(), trans_, and y_shift_.
Referenced by calcCorners().
|
inline |
Definition at line 55 of file StringRect.h.
References calcCentre(), height_, RDKit::rdvalue_is(), and width_.
Referenced by doesItIntersect(), and isPointInside().
|
inline |
Definition at line 80 of file StringRect.h.
References calcCorners(), and RDKit::rdvalue_is().
|
inline |
Definition at line 70 of file StringRect.h.
References calcCorners(), and RDKit::rdvalue_is().
int RDKit::MolDraw2D_detail::StringRect::clash_score_ |
Definition at line 32 of file StringRect.h.
Point2D RDKit::MolDraw2D_detail::StringRect::g_centre_ |
Definition at line 27 of file StringRect.h.
Referenced by calcCentre().
double RDKit::MolDraw2D_detail::StringRect::height_ |
Definition at line 29 of file StringRect.h.
Referenced by calcCorners().
Point2D RDKit::MolDraw2D_detail::StringRect::offset_ |
Definition at line 26 of file StringRect.h.
Referenced by calcCentre().
double RDKit::MolDraw2D_detail::StringRect::rect_corr_ |
Definition at line 30 of file StringRect.h.
Point2D RDKit::MolDraw2D_detail::StringRect::trans_ |
Definition at line 25 of file StringRect.h.
Referenced by calcCentre().
double RDKit::MolDraw2D_detail::StringRect::width_ |
Definition at line 29 of file StringRect.h.
Referenced by calcCorners().
double RDKit::MolDraw2D_detail::StringRect::y_shift_ |
Definition at line 28 of file StringRect.h.
Referenced by calcCentre().