#include <point.h>
|
double | x {0.0} |
|
double | y {0.0} |
|
Definition at line 284 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 295 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 |
Definition at line 389 of file point.h.
References x, and y.
◆ 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 331 of file point.h.
References x, and y.
◆ operator-()
Point2D RDGeom::Point2D::operator- |
( |
| ) |
const |
|
inline |
Definition at line 355 of file point.h.
References x, and y.
◆ operator-=()
Definition at line 337 of file point.h.
References x, and y.
◆ operator/=()
Point2D & RDGeom::Point2D::operator/= |
( |
double |
scale | ) |
|
|
inline |
◆ operator=()
Definition at line 325 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 286 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: