| Trees | Indices | Help |
|
|---|
|
|
object --+
|
??.instance --+
|
PointND
A class to represent an N-dimensional point
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
__instance_size__ = 40
|
|||
__safe_for_unpickling__ = True
|
|||
|
|||
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( (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( (Point3D)arg1, (Point3D)arg2) -> float :
Distance from this point to another point
C++ signature :
double Distance(RDGeom::Point3D,RDGeom::Point3D)
|
DotProduct( (PointND)arg1, (PointND)arg2) -> float :
Dot product with another point
C++ signature :
double DotProduct(RDGeom::PointND {lvalue},RDGeom::PointND)
|
Length( (PointND)arg1) -> float :
Length of the vector
C++ signature :
double Length(RDGeom::PointND {lvalue})
|
LengthSq( (PointND)arg1) -> float :
Square of the length
C++ signature :
double LengthSq(RDGeom::PointND {lvalue})
|
Normalize( (PointND)arg1) -> None :
Normalize the vector (using L2 norm)
C++ signature :
void Normalize(RDGeom::PointND {lvalue})
|
__add__( (PointND)arg1, (PointND)arg2) -> object :
C++ signature :
_object* __add__(RDGeom::PointND {lvalue},RDGeom::PointND)
|
__div__( (PointND)arg1, (float)arg2) -> object :
C++ signature :
_object* __div__(RDGeom::PointND {lvalue},double)
|
__getinitargs__( (PointND)arg1) -> tuple :
C++ signature :
boost::python::tuple __getinitargs__(RDGeom::PointND)
|
__getitem__( (PointND)arg1, (int)arg2) -> float :
C++ signature :
double __getitem__(RDGeom::PointND,int)
|
__getstate__( (PointND)arg1) -> tuple :
C++ signature :
boost::python::tuple __getstate__(RDGeom::PointND)
|
__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__( (PointND)arg1, (float)arg2) -> PointND :
Scalar division
C++ signature :
RDGeom::PointND {lvalue} __idiv__(RDGeom::PointND {lvalue},double)
|
__imul__( (PointND)arg1, (float)arg2) -> PointND :
Scalar multiplication
C++ signature :
RDGeom::PointND {lvalue} __imul__(RDGeom::PointND {lvalue},double)
|
__init__( (object)arg1, (int)arg2) -> None :
C++ signature :
void __init__(_object*,unsigned int)
|
__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__( (PointND)arg1) -> int :
C++ signature :
unsigned int __len__(RDGeom::PointND {lvalue})
|
__mul__( (PointND)arg1, (float)arg2) -> object :
C++ signature :
_object* __mul__(RDGeom::PointND {lvalue},double)
|
|
__setitem__( (PointND)arg1, (int)arg2, (float)arg3) -> float :
C++ signature :
double __setitem__(RDGeom::PointND {lvalue},int,double)
|
__setstate__( (PointND)arg1, (tuple)arg2) -> None :
C++ signature :
void __setstate__(RDGeom::PointND {lvalue},boost::python::tuple)
|
__sub__( (PointND)arg1, (PointND)arg2) -> object :
C++ signature :
_object* __sub__(RDGeom::PointND {lvalue},RDGeom::PointND)
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 | http://epydoc.sourceforge.net |