![]() |
RDKit
Open-source cheminformatics and machine learning.
|
#include <point.h>
Public Types | |
| typedef boost::shared_ptr< RDNumeric::Vector< double > > | VECT_SH_PTR |
Public Member Functions | |
| PointND (unsigned int dim) | |
| PointND (const PointND &other) | |
| PointND (const std::vector< double > &vals) | |
| Point * | copy () const override |
| ~PointND () override=default | |
| double | operator[] (unsigned int i) const override |
| double & | operator[] (unsigned int i) override |
| void | normalize () override |
| double | length () const override |
| double | lengthSq () const override |
| unsigned int | dimension () const override |
| PointND & | operator= (const PointND &other) |
| PointND & | operator+= (const PointND &other) |
| PointND & | operator-= (const PointND &other) |
| PointND & | operator*= (double scale) |
| PointND & | operator/= (double scale) |
| PointND | directionVector (const PointND &other) |
| double | dotProduct (const PointND &other) const |
| double | angleTo (const PointND &other) const |
| Public Member Functions inherited from RDGeom::Point | |
| virtual constexpr | ~Point () |
| typedef boost::shared_ptr<RDNumeric::Vector<double> > RDGeom::PointND::VECT_SH_PTR |
|
inline |
Definition at line 433 of file point.h.
Referenced by angleTo(), copy(), directionVector(), dotProduct(), operator*=(), operator+=(), operator-=(), operator/=(), operator=(), and PointND().
|
inline |
|
inline |
|
overridedefault |
|
inline |
Definition at line 520 of file point.h.
References dotProduct(), length(), and PointND().
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Definition at line 507 of file point.h.
References dimension(), normalize(), PointND(), and PRECONDITION.
|
inline |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Implements RDGeom::Point.
|
inlineoverridevirtual |
|
inline |
|
inline |
|
inlineoverridevirtual |
Implements RDGeom::Point.
|
inlineoverridevirtual |
Implements RDGeom::Point.