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