![]() |
RDKit
Open-source cheminformatics and machine learning.
|
#include <point.h>
Public Member Functions | |
| Point2D () | |
| Point2D (double xv, double yv) | |
| ~Point2D () | |
| Point2D (const Point2D &other) | |
| virtual Point * | copy () const |
| unsigned int | dimension () const |
| double | operator[] (unsigned int i) const |
| double & | operator[] (unsigned int i) |
| 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 () |
| void | rotate90 () |
| double | length () const |
| double | lengthSq () const |
| 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 |
| double | y |
|
inline |
Definition at line 352 of file point.h.
References dotProduct(), and normalize().
Referenced by RDDepict::computeAngle().
|
inlinevirtual |
Implements RDGeom::Point.
|
inlinevirtual |
Implements RDGeom::Point.
Definition at line 373 of file point.h.
References normalize(), x, and y.
|
inline |
|
inlinevirtual |
Implements RDGeom::Point.
|
inlinevirtual |
Implements RDGeom::Point.
|
inlinevirtual |
Implements RDGeom::Point.
Definition at line 324 of file point.h.
References RDGeom::Point::length().
Referenced by angleTo(), RDDepict::computeNormal(), directionVector(), and RDKit::Drawing::DrawMol().
|
inline |
|
inlinevirtual |
|
inlinevirtual |
|
inline |
Definition at line 330 of file point.h.
Referenced by RDKit::Drawing::DrawMol().
|
inline |
| double RDGeom::Point2D::x |
Definition at line 256 of file point.h.
Referenced by RDDepict::computeNormal(), directionVector(), dotProduct(), RDKit::MolDraw2Dwx::drawChar(), RDKit::MolDraw2Dwx::drawLine(), RDKit::Drawing::DrawMol(), RDKit::MolDraw2Dwx::drawPolygon(), RDKit::Drawing::detail::getAtomSymbolAndOrientation(), operator+=(), operator-(), operator-=(), operator=(), RDDepict::rotationDir(), and signedAngleTo().
| double RDGeom::Point2D::y |
Definition at line 256 of file point.h.
Referenced by RDDepict::computeNormal(), directionVector(), dotProduct(), RDKit::MolDraw2Dwx::drawChar(), RDKit::MolDraw2Dwx::drawLine(), RDKit::Drawing::DrawMol(), RDKit::MolDraw2Dwx::drawPolygon(), RDKit::Drawing::detail::getAtomSymbolAndOrientation(), operator+=(), operator-(), operator-=(), operator=(), RDDepict::rotationDir(), and signedAngleTo().