Geometry.rdGeometry.Point3D

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(...) determines the angle between a vector to this point (between 0 and PI)... |
CrossProduct(...) Get the cross product between two points... |
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)... |
SignedAngleTo(...) determines the signed angle between a vector to this point (between 0 and 2*PI)... |
__add__(...) C++ signature:... |
__div__(...) C++ signature:... |
__getinitargs__(...) C++ signature:... |
__getitem__(...) C++ signature:... |
__iadd__(...) Addition to another point... |
__idiv__(...) Scalar division... |
__imul__(...) Scalar multiplication... |
__init__(...) Default Constructor... |
__isub__(...) Vector difference... |
__len__(...) C++ signature:... |
__mul__(...) C++ signature:... |
__reduce__(...) helper for pickle |
__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__ = `36`
| __safe_for_unpickling__ = `True`

Properties | [hide private]
| x
| y
| z
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::Point3D {lvalue}, RDGeom::Point3D) -> double

### CrossProduct(...) |
    Get the cross product between two points
    C++ signature:
        CrossProduct(RDGeom::Point3D {lvalue}, RDGeom::Point3D) -> RDGeom::Point3D

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

### 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::Point3D {lvalue}, RDGeom::Point3D) -> double

### Length(...) |
    Length of the vector
    C++ signature:
        Length(RDGeom::Point3D {lvalue}) -> double

### LengthSq(...) |
    Square of the length
    C++ signature:
        LengthSq(RDGeom::Point3D {lvalue}) -> double

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

### SignedAngleTo(...) |
    determines the signed angle between a vector to this point (between 0 and 2*PI)
    C++ signature:
        SignedAngleTo(RDGeom::Point3D {lvalue}, RDGeom::Point3D) -> double

### __add__(...) (Addition operator) |
    C++ signature:
    __add__(RDGeom::Point3D {lvalue}, RDGeom::Point3D) -> _object*

### __div__(...) |
    C++ signature:
    __div__(RDGeom::Point3D {lvalue}, double) -> _object*

### __getinitargs__(...) |
    C++ signature:
    __getinitargs__(RDGeom::Point3D) -> boost::python::tuple

### __getitem__(...) (Indexing operator) |
    C++ signature:
    __getitem__(RDGeom::Point3D, int) -> double

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

### __idiv__(...) |
    Scalar division
    C++ signature:
        __idiv__(RDGeom::Point3D {lvalue}, double) -> RDGeom::Point3D

### __imul__(...) |
    Scalar multiplication
    C++ signature:
        __imul__(RDGeom::Point3D {lvalue}, double) -> RDGeom::Point3D

### __init__(...) (Constructor) |
    Default Constructor
    C++ signature:
        __init__(_object*) -> void*
    C++ signature:
        __init__(_object*, double, double, double) -> void*
Overrides: object.__init__

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

### __len__(...) (Length operator) |
    C++ signature:
    __len__(RDGeom::Point3D {lvalue}) -> unsigned int

### __mul__(...) |
    C++ signature:
    __mul__(RDGeom::Point3D {lvalue}, double) -> _object*

### __reduce__(...) |
    helper for pickle
Overrides: object.__reduce__ (inherited documentation)

### __sub__(...) (Subtraction operator) |
    C++ signature:
    __sub__(RDGeom::Point3D {lvalue}, RDGeom::Point3D) -> _object*

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