![]() |
RDKit
Open-source cheminformatics and machine learning.
|
#include <point.h>
Public Member Functions | |
| Point2D () | |
| Point2D (double xv, double yv) | |
| Point2D (const Point2D &other) | |
| Point2D (const Point3D &p3d) | |
| construct from a Point3D (ignoring the z coordinate) | |
| ~Point2D () override=default | |
| Point * | copy () const override |
| unsigned int | dimension () const override |
| double | operator[] (unsigned int i) const override |
| double & | operator[] (unsigned int i) override |
| Point2D & | operator= (const Point2D &other) |
| Point2D & | operator+= (const Point2D &other) |
| Point2D & | operator-= (const Point2D &other) |
| Point2D & | operator*= (double scale) |
| Point2D & | operator/= (double scale) |
| Point2D | operator- () const |
| void | normalize () override |
| void | rotate90 () |
| double | length () const override |
| double | lengthSq () const override |
| double | dotProduct (const Point2D &other) const |
| double | angleTo (const Point2D &other) const |
| double | signedAngleTo (const Point2D &other) const |
| Point2D | directionVector (const Point2D &other) const |
| Public Member Functions inherited from RDGeom::Point | |
| virtual | ~Point () |
Public Attributes | |
| double | x {0.0} |
| double | y {0.0} |
|
inline |
|
inline |
|
inline |
|
inline |
|
overridedefault |
|
inline |
|
inlineoverridevirtual |
Implements RDGeom::Point.
|
inlineoverridevirtual |
Implements RDGeom::Point.
|
inline |
|
inline |
|
inlineoverridevirtual |
Implements RDGeom::Point.
|
inlineoverridevirtual |
Implements RDGeom::Point.
|
inlineoverridevirtual |
Implements RDGeom::Point.
|
inline |
|
inline |
|
inlineoverridevirtual |
Implements RDGeom::Point.
|
inlineoverridevirtual |
Implements RDGeom::Point.
|
inline |
|
inline |
| double RDGeom::Point2D::x {0.0} |
Definition at line 286 of file point.h.
Referenced by RDKit::MolDraw2D_detail::StringRect::calcCorners(), RDKit::MolDraw2D_detail::StringRect::doesItIntersect(), and RDKit::MolDraw2D_detail::StringRect::isPointInside().
| double RDGeom::Point2D::y {0.0} |
Definition at line 287 of file point.h.
Referenced by RDKit::MolDraw2D_detail::StringRect::calcCentre(), RDKit::MolDraw2D_detail::StringRect::calcCorners(), RDKit::MolDraw2D_detail::StringRect::doesItIntersect(), and RDKit::MolDraw2D_detail::StringRect::isPointInside().