| Trees | Indices | Help |
|
|---|
|
|
object --+
|
??.instance --+
|
PointND
A class to represent an N-dimensional point
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
__instance_size__ = 20
|
|||
__safe_for_unpickling__ = True
|
|||
|
|||
|
Inherited from |
|||
|
|||
determines the angle between a vector to this point (between 0 and PI)
C++ signature:
AngleTo(RDGeom::PointND {lvalue}, RDGeom::PointND) -> double
|
return a normalized direction vector from this point to another
C++ signature:
DirectionVector(RDGeom::PointND {lvalue}, RDGeom::PointND) -> RDGeom::PointND
|
Distance from this point to another point
C++ signature:
Distance(RDGeom::Point3D, RDGeom::Point3D) -> double
|
Dot product with another point
C++ signature:
DotProduct(RDGeom::PointND {lvalue}, RDGeom::PointND) -> double
|
Length of the vector
C++ signature:
Length(RDGeom::PointND {lvalue}) -> double
|
Square of the length
C++ signature:
LengthSq(RDGeom::PointND {lvalue}) -> double
|
Normalize the vector (using L2 norm)
C++ signature:
Normalize(RDGeom::PointND {lvalue}) -> void*
|
C++ signature:
__add__(RDGeom::PointND {lvalue}, RDGeom::PointND) -> _object*
|
C++ signature:
__div__(RDGeom::PointND {lvalue}, double) -> _object*
|
C++ signature: __getinitargs__(RDGeom::PointND) -> boost::python::tuple |
C++ signature: __getitem__(RDGeom::PointND, int) -> double |
C++ signature: __getstate__(RDGeom::PointND) -> boost::python::tuple |
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*
|
Scalar division
C++ signature:
__idiv__(RDGeom::PointND {lvalue}, double) -> RDGeom::PointND
|
Scalar multiplication
C++ signature:
__imul__(RDGeom::PointND {lvalue}, double) -> RDGeom::PointND
|
C++ signature: __init__(_object*, unsigned int) -> void*
|
Vector difference
C++ signature:
__isub__(RDGeom::PointND {lvalue}, RDGeom::PointND) -> RDGeom::PointND
C++ signature:
__isub__(boost::python::back_reference<RDGeom::PointND&>, RDGeom::PointND) -> _object*
|
C++ signature:
__len__(RDGeom::PointND {lvalue}) -> unsigned int
|
C++ signature:
__mul__(RDGeom::PointND {lvalue}, double) -> _object*
|
helper for pickle
|
C++ signature:
__setitem__(RDGeom::PointND {lvalue}, int, double) -> double
|
C++ signature:
__setstate__(RDGeom::PointND {lvalue}, boost::python::tuple) -> void*
|
C++ signature:
__sub__(RDGeom::PointND {lvalue}, RDGeom::PointND) -> _object*
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Sat May 24 08:37:06 2008 | http://epydoc.sourceforge.net |