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(...)
determines the angle between a vector to this point (between 0 and PI)...
 
DirectionVector(...)
return a normalized direction vector from this point to another...
 
Distance(...)
Distance from this point to another point...
 
DotProduct(...)
Dot product with another point...
 
Length(...)
Length of the vector...
 
LengthSq(...)
Square of the length...
 
Normalize(...)
Normalize the vector (using L2 norm)...
 
__add__(...)
C++ signature:...
 
__div__(...)
C++ signature:...
 
__getinitargs__(...)
C++ signature:...
 
__getitem__(...)
C++ signature:...
 
__getstate__(...)
C++ signature:...
 
__iadd__(...)
Addition to another point...
 
__idiv__(...)
Scalar division...
 
__imul__(...)
Scalar multiplication...
 
__init__(...)
C++ signature:...
 
__isub__(...)
Vector difference...
 
__len__(...)
C++ signature:...
 
__mul__(...)
C++ signature:...
 
__reduce__(...)
helper for pickle
 
__setitem__(...)
C++ signature:...
 
__setstate__(...)
C++ signature:...
 
__sub__(...)
C++ signature:...

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(...)

 
determines the angle between a vector to this point (between 0 and PI)
C++ signature:
    AngleTo(RDGeom::PointND {lvalue}, RDGeom::PointND) -> double

DirectionVector(...)

 
return a normalized direction vector from this point to another
C++ signature:
    DirectionVector(RDGeom::PointND {lvalue}, RDGeom::PointND) -> RDGeom::PointND

Distance(...)

 
Distance from this point to another point
C++ signature:
    Distance(RDGeom::Point3D, RDGeom::Point3D) -> double

DotProduct(...)

 
Dot product with another point
C++ signature:
    DotProduct(RDGeom::PointND {lvalue}, RDGeom::PointND) -> double

Length(...)

 
Length of the vector
C++ signature:
    Length(RDGeom::PointND {lvalue}) -> double

LengthSq(...)

 
Square of the length
C++ signature:
    LengthSq(RDGeom::PointND {lvalue}) -> double

Normalize(...)

 
Normalize the vector (using L2 norm)
C++ signature:
    Normalize(RDGeom::PointND {lvalue}) -> void*

__add__(...)
(Addition operator)

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

__div__(...)

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

__getinitargs__(...)

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

__getitem__(...)
(Indexing operator)

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

__getstate__(...)

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

__iadd__(...)

 
Addition to another point
C++ signature:
    __iadd__(RDGeom::PointND {lvalue}, RDGeom::PointND) -> RDGeom::PointND
C++ signature:
    __iadd__(boost::python::back_reference<RDGeom::PointND&>, RDGeom::PointND) -> _object*

__idiv__(...)

 
Scalar division
C++ signature:
    __idiv__(RDGeom::PointND {lvalue}, double) -> RDGeom::PointND

__imul__(...)

 
Scalar multiplication
C++ signature:
    __imul__(RDGeom::PointND {lvalue}, double) -> RDGeom::PointND

__init__(...)
(Constructor)

 
C++ signature:
__init__(_object*, unsigned int) -> void*

Overrides: object.__init__

__isub__(...)

 
Vector difference
C++ signature:
    __isub__(RDGeom::PointND {lvalue}, RDGeom::PointND) -> RDGeom::PointND
C++ signature:
    __isub__(boost::python::back_reference<RDGeom::PointND&>, RDGeom::PointND) -> _object*

__len__(...)
(Length operator)

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

__mul__(...)

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

__reduce__(...)

 
helper for pickle

Overrides: object.__reduce__
(inherited documentation)

__setitem__(...)
(Index assignment operator)

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

__setstate__(...)

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

__sub__(...)
(Subtraction operator)

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