RDKit
Open-source cheminformatics and machine learning.
|
#include <MarvinDefs.h>
Public Member Functions | |
MarvinRectangle (double left, double right, double top, double bottom) | |
MarvinRectangle (const RDGeom::Point3D &upperLeftInit, const RDGeom::Point3D &lowerRightInit) | |
MarvinRectangle (const std::vector< MarvinAtom * > &atoms) | |
MarvinRectangle (const std::vector< MarvinRectangle > &rects) | |
void | extend (const MarvinRectangle &otherRectangle) |
RDGeom::Point3D & | getCenter () |
bool | overlapsVertically (const MarvinRectangle &otherRectangle) const |
bool | overlapsVHorizontally (const MarvinRectangle &otherRectangle) const |
Static Public Member Functions | |
static bool | compareRectanglesByX (MarvinRectangle &r1, MarvinRectangle &r2) |
static bool | compareRectanglesByYReverse (MarvinRectangle &r1, MarvinRectangle &r2) |
Public Attributes | |
RDGeom::Point3D | upperLeft |
RDGeom::Point3D | lowerRight |
Protected Attributes | |
RDGeom::Point3D | center |
bool | centerIsStale = true |
Definition at line 182 of file MarvinDefs.h.
RDKit::MarvinRectangle::MarvinRectangle | ( | const RDGeom::Point3D & | upperLeftInit, |
const RDGeom::Point3D & | lowerRightInit | ||
) |
RDKit::MarvinRectangle::MarvinRectangle | ( | const std::vector< MarvinAtom * > & | atoms | ) |
RDKit::MarvinRectangle::MarvinRectangle | ( | const std::vector< MarvinRectangle > & | rects | ) |
|
static |
|
static |
void RDKit::MarvinRectangle::extend | ( | const MarvinRectangle & | otherRectangle | ) |
RDGeom::Point3D & RDKit::MarvinRectangle::getCenter | ( | ) |
bool RDKit::MarvinRectangle::overlapsVertically | ( | const MarvinRectangle & | otherRectangle | ) | const |
bool RDKit::MarvinRectangle::overlapsVHorizontally | ( | const MarvinRectangle & | otherRectangle | ) | const |
|
protected |
Definition at line 184 of file MarvinDefs.h.
Definition at line 185 of file MarvinDefs.h.
RDGeom::Point3D RDKit::MarvinRectangle::lowerRight |
Definition at line 189 of file MarvinDefs.h.
RDGeom::Point3D RDKit::MarvinRectangle::upperLeft |
Definition at line 188 of file MarvinDefs.h.