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

Class Point3D

 object --+    
          |    
??.instance --+
              |
             Point3D

A class to represent a three-dimensional point
The x, y, and z coordinates can be read and written using either attributes
(i.e. pt.x = 4) or indexing (i.e. pt[0] = 4).

Instance Methods [hide private]
 
AngleTo(...)
AngleTo( (Point3D)arg1, (Point3D)arg2) -> float : determines the angle between a vector to this point (between 0 and PI)
 
CrossProduct(...)
CrossProduct( (Point3D)arg1, (Point3D)arg2) -> Point3D : Get the cross product between two points
 
DirectionVector(...)
DirectionVector( (Point3D)arg1, (Point3D)arg2) -> Point3D : 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( (Point3D)arg1, (Point3D)arg2) -> float : Dot product with another point
 
Length(...)
Length( (Point3D)arg1) -> float : Length of the vector
 
LengthSq(...)
LengthSq( (Point3D)arg1) -> float : Square of the length
 
Normalize(...)
Normalize( (Point3D)arg1) -> None : Normalize the vector (using L2 norm)
 
SignedAngleTo(...)
SignedAngleTo( (Point3D)arg1, (Point3D)arg2) -> float : determines the signed angle between a vector to this point (between 0 and 2*PI)
 
__add__(...)
__add__( (Point3D)arg1, (Point3D)arg2) -> object :
 
__div__(...)
__div__( (Point3D)arg1, (float)arg2) -> object :
 
__getinitargs__(...)
__getinitargs__( (Point3D)arg1) -> tuple :
 
__getitem__(...)
__getitem__( (Point3D)arg1, (int)arg2) -> float :
 
__iadd__(...)
__iadd__( (Point3D)arg1, (Point3D)arg2) -> Point3D : Addition to another point
 
__idiv__(...)
__idiv__( (Point3D)arg1, (float)arg2) -> Point3D : Scalar division
 
__imul__(...)
__imul__( (Point3D)arg1, (float)arg2) -> Point3D : Scalar multiplication
 
__init__(...)
__init__( (object)arg1) -> None : Default Constructor
 
__isub__(...)
__isub__( (Point3D)arg1, (Point3D)arg2) -> Point3D : Vector difference
 
__len__(...)
__len__( (Point3D)arg1) -> int :
 
__mul__(...)
__mul__( (Point3D)arg1, (float)arg2) -> object :
 
__reduce__(...)
helper for pickle
 
__sub__(...)
__sub__( (Point3D)arg1, (Point3D)arg2) -> object :

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  __instance_size__ = 48
  __safe_for_unpickling__ = True
Properties [hide private]
  x
  y
  z

Inherited from object: __class__

Method Details [hide private]

AngleTo(...)

 

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

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

CrossProduct(...)

 

CrossProduct( (Point3D)arg1, (Point3D)arg2) -> Point3D :
    Get the cross product between two points

    C++ signature :
        RDGeom::Point3D CrossProduct(RDGeom::Point3D {lvalue},RDGeom::Point3D)

DirectionVector(...)

 

DirectionVector( (Point3D)arg1, (Point3D)arg2) -> Point3D :
    return a normalized direction vector from this point to another

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

Distance(...)

 

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

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

DotProduct(...)

 

DotProduct( (Point3D)arg1, (Point3D)arg2) -> float :
    Dot product with another point

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

Length(...)

 

Length( (Point3D)arg1) -> float :
    Length of the vector

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

LengthSq(...)

 

LengthSq( (Point3D)arg1) -> float :
    Square of the length

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

Normalize(...)

 

Normalize( (Point3D)arg1) -> None :
    Normalize the vector (using L2 norm)

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

SignedAngleTo(...)

 

SignedAngleTo( (Point3D)arg1, (Point3D)arg2) -> float :
    determines the signed angle between a vector to this point (between 0 and 2*PI)

    C++ signature :
        double SignedAngleTo(RDGeom::Point3D {lvalue},RDGeom::Point3D)

__add__(...)
(Addition operator)

 

__add__( (Point3D)arg1, (Point3D)arg2) -> object :

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

__div__(...)

 

__div__( (Point3D)arg1, (float)arg2) -> object :

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

__getinitargs__(...)

 

__getinitargs__( (Point3D)arg1) -> tuple :

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

__getitem__(...)
(Indexing operator)

 

__getitem__( (Point3D)arg1, (int)arg2) -> float :

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

__iadd__(...)

 

__iadd__( (Point3D)arg1, (Point3D)arg2) -> Point3D :
    Addition to another point

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

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

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

__idiv__(...)

 

__idiv__( (Point3D)arg1, (float)arg2) -> Point3D :
    Scalar division

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

__imul__(...)

 

__imul__( (Point3D)arg1, (float)arg2) -> Point3D :
    Scalar multiplication

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

__init__(...)
(Constructor)

 

__init__( (object)arg1) -> None :
    Default Constructor

    C++ signature :
        void __init__(_object*)

__init__( (object)arg1, (float)arg2, (float)arg3, (float)arg4) -> None :

    C++ signature :
        void __init__(_object*,double,double,double)

Overrides: object.__init__

__isub__(...)

 

__isub__( (Point3D)arg1, (Point3D)arg2) -> Point3D :
    Vector difference

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

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

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

__len__(...)
(Length operator)

 

__len__( (Point3D)arg1) -> int :

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

__mul__(...)

 

__mul__( (Point3D)arg1, (float)arg2) -> object :

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

__reduce__(...)

 
helper for pickle

Overrides: object.__reduce__
(inherited documentation)

__sub__(...)
(Subtraction operator)

 

__sub__( (Point3D)arg1, (Point3D)arg2) -> object :

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


Property Details [hide private]

x

Get Method:
unreachable(...)
Set Method:
unreachable(...)

y

Get Method:
unreachable(...)
Set Method:
unreachable(...)

z

Get Method:
unreachable(...)
Set Method:
unreachable(...)