rdkit.Geometry.rdGeometry.PointND

Package rdkit :: Package Geometry :: Module rdGeometry :: Class PointND |
[hide private]
[frames] | no frames]

# Class PointND

     object --+
              |
    ??.instance --+
                  |
                 PointND

    A class to represent an N-dimensional point

Instance Methods | [hide private]
AngleTo(...) AngleTo( (PointND)arg1, (PointND)arg2) -> float : determines the angle between a vector to this point (between 0 and PI) |
DirectionVector(...) DirectionVector( (PointND)arg1, (PointND)arg2) -> PointND : return a normalized direction vector from this point to another |
Distance(...) Distance( (Point3D)arg1, (Point3D)arg2) -> float : Distance from this point to another point |
DotProduct(...) DotProduct( (PointND)arg1, (PointND)arg2) -> float : Dot product with another point |
Length(...) Length( (PointND)arg1) -> float : Length of the vector |
LengthSq(...) LengthSq( (PointND)arg1) -> float : Square of the length |
Normalize(...) Normalize( (PointND)arg1) -> None : Normalize the vector (using L2 norm) |
__add__(...) __add__( (PointND)arg1, (PointND)arg2) -> object : |
__div__(...) __div__( (PointND)arg1, (float)arg2) -> object : |
__getinitargs__(...) __getinitargs__( (PointND)arg1) -> tuple : |
__getitem__(...) __getitem__( (PointND)arg1, (int)arg2) -> float : |
__getstate__(...) __getstate__( (PointND)arg1) -> tuple : |
__iadd__(...) __iadd__( (PointND)arg1, (PointND)arg2) -> PointND : Addition to another point |
__idiv__(...) __idiv__( (PointND)arg1, (float)arg2) -> PointND : Scalar division |
__imul__(...) __imul__( (PointND)arg1, (float)arg2) -> PointND : Scalar multiplication |
__init__(...) __init__( (object)arg1, (int)arg2) -> None : |
__isub__(...) __isub__( (PointND)arg1, (PointND)arg2) -> PointND : Vector difference |
__len__(...) __len__( (PointND)arg1) -> int : |
__mul__(...) __mul__( (PointND)arg1, (float)arg2) -> object : |
__reduce__(...) helper for pickle |
__setitem__(...) __setitem__( (PointND)arg1, (int)arg2, (float)arg3) -> float : |
__setstate__(...) __setstate__( (PointND)arg1, (tuple)arg2) -> None : |
__sub__(...) __sub__( (PointND)arg1, (PointND)arg2) -> object : |
Inherited from `unreachable.instance`: `__new__` Inherited from `object`: `__delattr__`, `__getattribute__`, `__hash__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__str__`

Class Variables | [hide private]
| __instance_size__ = `20`
| __safe_for_unpickling__ = `True`

Properties | [hide private]
Inherited from `object`: `__class__`

Method Details | [hide private]

### AngleTo(...) |
    AngleTo( (PointND)arg1, (PointND)arg2) -> float :
        determines the angle between a vector to this point (between 0 and PI)

        C++ signature :
            double AngleTo(RDGeom::PointND {lvalue},RDGeom::PointND)

### DirectionVector(...) |
    DirectionVector( (PointND)arg1, (PointND)arg2) -> PointND :
        return a normalized direction vector from this point to another

        C++ signature :
            RDGeom::PointND DirectionVector(RDGeom::PointND {lvalue},RDGeom::PointND)

### Distance(...) |
    Distance( (Point3D)arg1, (Point3D)arg2) -> float :
        Distance from this point to another point

        C++ signature :
            double Distance(RDGeom::Point3D,RDGeom::Point3D)

### DotProduct(...) |
    DotProduct( (PointND)arg1, (PointND)arg2) -> float :
        Dot product with another point

        C++ signature :
            double DotProduct(RDGeom::PointND {lvalue},RDGeom::PointND)

### Length(...) |
    Length( (PointND)arg1) -> float :
        Length of the vector

        C++ signature :
            double Length(RDGeom::PointND {lvalue})

### LengthSq(...) |
    LengthSq( (PointND)arg1) -> float :
        Square of the length

        C++ signature :
            double LengthSq(RDGeom::PointND {lvalue})

### Normalize(...) |
    Normalize( (PointND)arg1) -> None :
        Normalize the vector (using L2 norm)

        C++ signature :
            void Normalize(RDGeom::PointND {lvalue})

### __add__(...) (Addition operator) |
    __add__( (PointND)arg1, (PointND)arg2) -> object :

        C++ signature :
            _object* __add__(RDGeom::PointND {lvalue},RDGeom::PointND)

### __div__(...) |
    __div__( (PointND)arg1, (float)arg2) -> object :

        C++ signature :
            _object* __div__(RDGeom::PointND {lvalue},double)

### __getinitargs__(...) |
    __getinitargs__( (PointND)arg1) -> tuple :

        C++ signature :
            boost::python::tuple __getinitargs__(RDGeom::PointND)

### __getitem__(...) (Indexing operator) |
    __getitem__( (PointND)arg1, (int)arg2) -> float :

        C++ signature :
            double __getitem__(RDGeom::PointND,int)

### __getstate__(...) |
    __getstate__( (PointND)arg1) -> tuple :

        C++ signature :
            boost::python::tuple __getstate__(RDGeom::PointND)

### __iadd__(...) |
    __iadd__( (PointND)arg1, (PointND)arg2) -> PointND :
        Addition to another point

        C++ signature :
            RDGeom::PointND {lvalue} __iadd__(RDGeom::PointND {lvalue},RDGeom::PointND)

    __iadd__( (object)arg1, (PointND)arg2) -> object :

        C++ signature :
            _object* __iadd__(boost::python::back_reference<RDGeom::PointND&>,RDGeom::PointND)

### __idiv__(...) |
    __idiv__( (PointND)arg1, (float)arg2) -> PointND :
        Scalar division

        C++ signature :
            RDGeom::PointND {lvalue} __idiv__(RDGeom::PointND {lvalue},double)

### __imul__(...) |
    __imul__( (PointND)arg1, (float)arg2) -> PointND :
        Scalar multiplication

        C++ signature :
            RDGeom::PointND {lvalue} __imul__(RDGeom::PointND {lvalue},double)

### __init__(...) (Constructor) |
    __init__( (object)arg1, (int)arg2) -> None :

        C++ signature :
            void __init__(_object*,unsigned int)
Overrides: object.__init__

### __isub__(...) |
    __isub__( (PointND)arg1, (PointND)arg2) -> PointND :
        Vector difference

        C++ signature :
            RDGeom::PointND {lvalue} __isub__(RDGeom::PointND {lvalue},RDGeom::PointND)

    __isub__( (object)arg1, (PointND)arg2) -> object :

        C++ signature :
            _object* __isub__(boost::python::back_reference<RDGeom::PointND&>,RDGeom::PointND)

### __len__(...) (Length operator) |
    __len__( (PointND)arg1) -> int :

        C++ signature :
            unsigned int __len__(RDGeom::PointND {lvalue})

### __mul__(...) |
    __mul__( (PointND)arg1, (float)arg2) -> object :

        C++ signature :
            _object* __mul__(RDGeom::PointND {lvalue},double)

### __reduce__(...) |
    helper for pickle
Overrides: object.__reduce__ (inherited documentation)

### __setitem__(...) (Index assignment operator) |
    __setitem__( (PointND)arg1, (int)arg2, (float)arg3) -> float :

        C++ signature :
            double __setitem__(RDGeom::PointND {lvalue},int,double)

### __setstate__(...) |
    __setstate__( (PointND)arg1, (tuple)arg2) -> None :

        C++ signature :
            void __setstate__(RDGeom::PointND {lvalue},boost::python::tuple)

### __sub__(...) (Subtraction operator) |
    __sub__( (PointND)arg1, (PointND)arg2) -> object :

        C++ signature :
            _object* __sub__(RDGeom::PointND {lvalue},RDGeom::PointND)