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