#include <point.h>
|
| double | x {0.0} |
| |
| double | y {0.0} |
| |
Definition at line 274 of file point.h.
◆ Point2D() [1/4]
| RDGeom::Point2D::Point2D |
( |
| ) |
|
|
inline |
◆ Point2D() [2/4]
| RDGeom::Point2D::Point2D |
( |
double |
xv, |
|
|
double |
yv |
|
) |
| |
|
inline |
◆ ~Point2D()
| RDGeom::Point2D::~Point2D |
( |
| ) |
|
|
overridedefault |
◆ Point2D() [3/4]
| RDGeom::Point2D::Point2D |
( |
const Point2D & |
other | ) |
|
|
inline |
◆ Point2D() [4/4]
| RDGeom::Point2D::Point2D |
( |
const Point3D & |
p3d | ) |
|
|
inline |
construct from a Point3D (ignoring the z coordinate)
Definition at line 285 of file point.h.
◆ angleTo()
| double RDGeom::Point2D::angleTo |
( |
const Point2D & |
other | ) |
const |
|
inline |
◆ copy()
| Point * RDGeom::Point2D::copy |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ dimension()
| unsigned int RDGeom::Point2D::dimension |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ directionVector()
| Point2D RDGeom::Point2D::directionVector |
( |
const Point2D & |
other | ) |
const |
|
inline |
◆ dotProduct()
| double RDGeom::Point2D::dotProduct |
( |
const Point2D & |
other | ) |
const |
|
inline |
◆ length()
| double RDGeom::Point2D::length |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ lengthSq()
| double RDGeom::Point2D::lengthSq |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ normalize()
| void RDGeom::Point2D::normalize |
( |
| ) |
|
|
inlineoverridevirtual |
◆ operator*=()
| Point2D & RDGeom::Point2D::operator*= |
( |
double |
scale | ) |
|
|
inline |
◆ operator+=()
Definition at line 315 of file point.h.
References x, and y.
◆ operator-()
| Point2D RDGeom::Point2D::operator- |
( |
| ) |
const |
|
inline |
Definition at line 339 of file point.h.
References x, and y.
◆ operator-=()
Definition at line 321 of file point.h.
References x, and y.
◆ operator/=()
| Point2D & RDGeom::Point2D::operator/= |
( |
double |
scale | ) |
|
|
inline |
◆ operator=()
Definition at line 309 of file point.h.
References x, and y.
◆ operator[]() [1/2]
| double RDGeom::Point2D::operator[] |
( |
unsigned int |
i | ) |
const |
|
inlineoverridevirtual |
◆ operator[]() [2/2]
| double & RDGeom::Point2D::operator[] |
( |
unsigned int |
i | ) |
|
|
inlineoverridevirtual |
◆ rotate90()
| void RDGeom::Point2D::rotate90 |
( |
| ) |
|
|
inline |
◆ signedAngleTo()
| double RDGeom::Point2D::signedAngleTo |
( |
const Point2D & |
other | ) |
const |
|
inline |
| double RDGeom::Point2D::x {0.0} |
Definition at line 276 of file point.h.
Referenced by directionVector(), dotProduct(), RDKit::MolDraw2Dwx::drawChar(), RDKit::MolDraw2Dwx::drawLine(), RDKit::MolDraw2Dwx::drawPolygon(), operator+=(), operator-(), operator-=(), operator=(), RDDepict::rotationDir(), and signedAngleTo().
| double RDGeom::Point2D::y {0.0} |
The documentation for this class was generated from the following file: