Trees | Indices | Help |
|
---|
|
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).
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
__instance_size__ = 36
|
|||
__safe_for_unpickling__ = True
|
|
|||
x | |||
y | |||
z |
|
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( (Point3D)arg1, (Point3D)arg2) -> Point3D : Get the cross product between two points C++ signature : RDGeom::Point3D CrossProduct(RDGeom::Point3D {lvalue},RDGeom::Point3D) |
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( (Point3D)arg1, (Point3D)arg2) -> float : Distance from this point to another point C++ signature : double Distance(RDGeom::Point3D,RDGeom::Point3D) |
DotProduct( (Point3D)arg1, (Point3D)arg2) -> float : Dot product with another point C++ signature : double DotProduct(RDGeom::Point3D {lvalue},RDGeom::Point3D) |
Length( (Point3D)arg1) -> float : Length of the vector C++ signature : double Length(RDGeom::Point3D {lvalue}) |
LengthSq( (Point3D)arg1) -> float : Square of the length C++ signature : double LengthSq(RDGeom::Point3D {lvalue}) |
Normalize( (Point3D)arg1) -> None : Normalize the vector (using L2 norm) C++ signature : void Normalize(RDGeom::Point3D {lvalue}) |
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__( (Point3D)arg1, (Point3D)arg2) -> object : C++ signature : _object* __add__(RDGeom::Point3D {lvalue},RDGeom::Point3D) |
__div__( (Point3D)arg1, (float)arg2) -> object : C++ signature : _object* __div__(RDGeom::Point3D {lvalue},double) |
__getinitargs__( (Point3D)arg1) -> tuple : C++ signature : boost::python::tuple __getinitargs__(RDGeom::Point3D) |
__getitem__( (Point3D)arg1, (int)arg2) -> float : C++ signature : double __getitem__(RDGeom::Point3D,int) |
__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__( (Point3D)arg1, (float)arg2) -> Point3D : Scalar division C++ signature : RDGeom::Point3D {lvalue} __idiv__(RDGeom::Point3D {lvalue},double) |
__imul__( (Point3D)arg1, (float)arg2) -> Point3D : Scalar multiplication C++ signature : RDGeom::Point3D {lvalue} __imul__(RDGeom::Point3D {lvalue},double) |
__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)
|
__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__( (Point3D)arg1) -> int : C++ signature : unsigned int __len__(RDGeom::Point3D {lvalue}) |
__mul__( (Point3D)arg1, (float)arg2) -> object : C++ signature : _object* __mul__(RDGeom::Point3D {lvalue},double) |
|
__sub__( (Point3D)arg1, (Point3D)arg2) -> object : C++ signature : _object* __sub__(RDGeom::Point3D {lvalue},RDGeom::Point3D) |
|
x |
y |
z |
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 | http://epydoc.sourceforge.net |