RDKit
Open-source cheminformatics and machine learning.
RDGeom::Point Class Referenceabstract

#include <point.h>

Inheritance diagram for RDGeom::Point:
RDGeom::Point2D RDGeom::Point3D RDGeom::PointND

Public Member Functions

virtual ~Point ()
 
virtual double operator[] (unsigned int i) const =0
 
virtual double & operator[] (unsigned int i)=0
 
virtual void normalize ()=0
 
virtual double length () const =0
 
virtual double lengthSq () const =0
 
virtual unsigned int dimension () const =0
 
virtual Pointcopy () const =0
 

Detailed Description

Definition at line 28 of file point.h.

Constructor & Destructor Documentation

virtual RDGeom::Point::~Point ( )
inlinevirtual

Definition at line 31 of file point.h.

References copy(), dimension(), length(), lengthSq(), normalize(), and operator[]().

Member Function Documentation

virtual Point* RDGeom::Point::copy ( ) const
pure virtual

Implemented in RDGeom::PointND, RDGeom::Point2D, and RDGeom::Point3D.

Referenced by ~Point().

virtual unsigned int RDGeom::Point::dimension ( ) const
pure virtual
virtual double RDGeom::Point::length ( ) const
pure virtual
virtual double RDGeom::Point::lengthSq ( ) const
pure virtual

Implemented in RDGeom::PointND, RDGeom::Point2D, and RDGeom::Point3D.

Referenced by ~Point().

virtual void RDGeom::Point::normalize ( )
pure virtual

Implemented in RDGeom::PointND, RDGeom::Point2D, and RDGeom::Point3D.

Referenced by ~Point().

virtual double RDGeom::Point::operator[] ( unsigned int  i) const
pure virtual

Implemented in RDGeom::PointND, RDGeom::Point2D, and RDGeom::Point3D.

Referenced by ~Point().

virtual double& RDGeom::Point::operator[] ( unsigned int  i)
pure virtual

The documentation for this class was generated from the following file: