![]() |
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 183 of file MarvinDefs.h.
| RDKit::MarvinRectangle::MarvinRectangle | ( | double | left, |
| double | right, | ||
| double | top, | ||
| double | bottom ) |
Referenced by compareRectanglesByX(), compareRectanglesByYReverse(), extend(), overlapsVertically(), and overlapsVHorizontally().
| 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 |
References MarvinRectangle().
|
static |
References MarvinRectangle().
| void RDKit::MarvinRectangle::extend | ( | const MarvinRectangle & | otherRectangle | ) |
References MarvinRectangle().
| RDGeom::Point3D & RDKit::MarvinRectangle::getCenter | ( | ) |
| bool RDKit::MarvinRectangle::overlapsVertically | ( | const MarvinRectangle & | otherRectangle | ) | const |
References MarvinRectangle().
| bool RDKit::MarvinRectangle::overlapsVHorizontally | ( | const MarvinRectangle & | otherRectangle | ) | const |
References MarvinRectangle().
|
protected |
Definition at line 185 of file MarvinDefs.h.
|
protected |
Definition at line 186 of file MarvinDefs.h.
| RDGeom::Point3D RDKit::MarvinRectangle::lowerRight |
Definition at line 190 of file MarvinDefs.h.
| RDGeom::Point3D RDKit::MarvinRectangle::upperLeft |
Definition at line 189 of file MarvinDefs.h.