SDS2 Parametric API
 All Classes Namespaces Functions Variables Pages
List of all members
Point3D.Point3D Class Reference

No documentation available. More...

Methods defined here:

def Angle
def Bisector
def Cross
def Distance
def DistanceSquared
def Dot
def EpsilonEquals
def Interpolate
def Length
def LengthSquared
def Parallel
def Perpendicular
def ScalarProjection
def Set
def Unit
def VectorProjection
def __add__
def __copy__
def __deepcopy__
def __div__
def __eq__
def __getinitargs__
def __iadd__
def __idiv__
def __imul__
def __init__
def __isub__
def __mul__
def __ne__
def __neg__
def __reduce__
def __repr__
def __rmul__
def __str__
def __sub__
def distance

Data descriptors defined here:

def x
def y
def z

Data and other attributes defined here:

int __instance_size__ = 40
 __safe_for_unpickling__ = True

Data descriptors inherited from Boost.Python.instance:

def __dict__
def __weakref__

Data and other attributes inherited from Boost.Python.instance:

def __new__

Detailed Description

No documentation available.

Method resolution order

Point3D
Boost.Python.instance
builtin.object

Constructor & Destructor Documentation

def Point3D.Point3D.__init__ (   arg1)
Returns
Instance of type None
     C++ signature :
         void __init__(_object*)
 
 
     C++ signature :
         void __init__(_object*,double,double,double)
 
 
     C++ signature :
         void __init__(_object*,Point3D)
 
     Construct a Point3D from an object with x, y, z attributes, or from a list, tuple, or iterator with at least three numbers.
 
     C++ signature :
         void* __init__(boost::python::api::object,_object*)
Note
Additional signature: init( (object)arg1, (float)arg2, (float)arg3, (float)arg4) -> None
Additional signature: init( (object)arg1, (Point3D)arg2) -> None
Additional signature: init( (object)arg1, (object)arg2) -> object

Member Function Documentation

def Point3D.Point3D.__add__ (   arg1,
  arg2 
)
Returns
Instance of type object
     C++ signature :
         _object* __add__(Point3D {lvalue},Point3D)
def Point3D.Point3D.__copy__ (   arg1)
Returns
Instance of type Point3D
     C++ signature :
         Point3D __copy__(Point3D {lvalue})
def Point3D.Point3D.__deepcopy__ (   arg1,
  arg2 
)
Returns
Instance of type Point3D
     C++ signature :
         Point3D __deepcopy__(Point3D {lvalue},boost::python::dict {lvalue})
def Point3D.Point3D.__dict__ (   args)
def Point3D.Point3D.__div__ (   arg1,
  arg2 
)
Returns
Instance of type object
     C++ signature :
         _object* __div__(Point3D {lvalue},double)
def Point3D.Point3D.__eq__ (   arg1,
  arg2 
)
Returns
Instance of type bool
     C++ signature :
         bool __eq__(Point3D,Point3D)
def Point3D.Point3D.__getinitargs__ (   arg1)
Returns
Instance of type tuple
     C++ signature :
         boost::python::tuple __getinitargs__(Point3D)
def Point3D.Point3D.__iadd__ (   arg1,
  arg2 
)
Returns
Instance of type object
     C++ signature :
         _object* __iadd__(boost::python::back_reference<Point3D&>,Point3D)
def Point3D.Point3D.__idiv__ (   arg1,
  arg2 
)
Returns
Instance of type object
     C++ signature :
         _object* __idiv__(boost::python::back_reference<Point3D&>,double)
def Point3D.Point3D.__imul__ (   arg1,
  arg2 
)
Returns
Instance of type object
     C++ signature :
         _object* __imul__(boost::python::back_reference<Point3D&>,double)
 
 
     C++ signature :
         _object* __imul__(boost::python::back_reference<Point3D&>,Xform)
Note
Additional signature: imul( (object)arg1, (Transform3D)arg2) -> object
def Point3D.Point3D.__isub__ (   arg1,
  arg2 
)
Returns
Instance of type object
     C++ signature :
         _object* __isub__(boost::python::back_reference<Point3D&>,Point3D)
def Point3D.Point3D.__mul__ (   arg1,
  arg2 
)
Returns
Instance of type object
     C++ signature :
         _object* __mul__(Point3D {lvalue},double)
 
 
     C++ signature :
         _object* __mul__(Point3D {lvalue},Xform)
Note
Additional signature: mul( (Point3D)arg1, (Transform3D)arg2) -> object
def Point3D.Point3D.__ne__ (   arg1,
  arg2 
)
Returns
Instance of type bool
     C++ signature :
         bool __ne__(Point3D,Point3D)
def Point3D.Point3D.__neg__ (   arg1)
Returns
Instance of type object
     C++ signature :
         _object* __neg__(Point3D {lvalue})
def Point3D.Point3D.__new__ (   args)
T.__new__(S, ...) -> a new object with type S, a subtype of T
 __new__ = <built-in method __new__ of Boost.Python.class object>
def Point3D.Point3D.__reduce__ (   args)
 __reduce__ = <unnamed Boost.Python function>(args)
def Point3D.Point3D.__repr__ (   arg1)
Returns
Instance of type str
     C++ signature :
         std::string __repr__(Point3D {lvalue})
def Point3D.Point3D.__rmul__ (   arg1,
  arg2 
)
Returns
Instance of type object
     C++ signature :
         _object* __rmul__(Point3D {lvalue},double)
def Point3D.Point3D.__str__ (   arg1)
Returns
Instance of type str
     C++ signature :
         std::string __str__(Point3D {lvalue})
def Point3D.Point3D.__sub__ (   arg1,
  arg2 
)
Returns
Instance of type object
     C++ signature :
         _object* __sub__(Point3D {lvalue},Point3D)
def Point3D.Point3D.__weakref__ (   args)
def Point3D.Point3D.Angle (   arg1,
  arg2 
)
Returns
Instance of type float
     Returns the angle, [0.,pi], between the two vectors.
 
     C++ signature :
         double Angle(Point3D,Point3D)
def Point3D.Point3D.Bisector (   arg1,
  arg2 
)
Returns
Instance of type Point3D
     Returns the unit vector that bisects the two vectors.
 
     C++ signature :
         Point3D Bisector(Point3D,Point3D)
def Point3D.Point3D.Cross (   arg1,
  arg2 
)
Returns
Instance of type Point3D
     Returns the vector product of the two vectors.
 
     C++ signature :
         Point3D Cross(Point3D,Point3D)
def Point3D.Point3D.Distance (   arg1,
  arg2 
)
Returns
Instance of type float
     Return the distance between the two points.
 
     C++ signature :
         double Distance(Point3D {lvalue},Point3D)
def Point3D.Point3D.distance (   arg1,
  arg2 
)
Returns
Instance of type float
     C++ signature :
         double distance(Point3D {lvalue},Point3D)
def Point3D.Point3D.DistanceSquared (   arg1,
  arg2 
)
Returns
Instance of type float
     Return the squared distance between the two points.
 
     C++ signature :
         double DistanceSquared(Point3D,Point3D)
def Point3D.Point3D.Dot (   arg1,
  arg2 
)
Returns
Instance of type float
     Returns the scalar product between the two vectors.
 
     C++ signature :
         double Dot(Point3D,Point3D)
def Point3D.Point3D.EpsilonEquals (   arg1,
  arg2,
  arg3 
)
Returns
Instance of type bool
     Returns True iff the distance between the two points is within some absolute tolerance.
 
     C++ signature :
         bool EpsilonEquals(Point3D,Point3D,double)
 
     Returns True iff the distance between the two points is within the specified absolute tolerance.
 
     C++ signature :
         bool EpsilonEquals(Point3D,Point3D)
Note
Additional signature: EpsilonEquals( (Point3D)arg1, (Point3D)arg2) -> bool
def Point3D.Point3D.Interpolate (   arg1,
  arg2,
  arg3 
)
Returns
Instance of type Point3D
     Returns the point that is a specified percentage of the distance between the two points.
 
     C++ signature :
         Point3D Interpolate(Point3D,Point3D,double)
def Point3D.Point3D.Length (   arg1)
Returns
Instance of type float
     Returns the length of the vector.
 
     C++ signature :
         double Length(Point3D)
def Point3D.Point3D.LengthSquared (   arg1)
Returns
Instance of type float
     Returns the length squared of the vector.
 
     C++ signature :
         double LengthSquared(Point3D)
def Point3D.Point3D.Parallel (   arg1,
  arg2 
)
Returns
Instance of type bool
     Returns True iff the two vectors are within some absolute tolerance of being parallel.
 
     C++ signature :
         bool Parallel(Point3D,Point3D)
 
     Returns True iff the two vectors are withing the specified tolerance of being parallel.
 
     C++ signature :
         bool Parallel(Point3D,Point3D,double)
Note
Additional signature: Parallel( (Point3D)arg1, (Point3D)arg2, (float)arg3) -> bool
def Point3D.Point3D.Perpendicular (   arg1,
  arg2 
)
Returns
Instance of type bool
     Returns True iff the two vectors are within some absolute tolerance of being perpendicular.
 
     C++ signature :
         bool Perpendicular(Point3D,Point3D)
 
     Returns True iff the two vectors are within the specified absolute tolerance of being perpendicular.
 
     C++ signature :
         bool Perpendicular(Point3D,Point3D,double)
Note
Additional signature: Perpendicular( (Point3D)arg1, (Point3D)arg2, (float)arg3) -> bool
def Point3D.Point3D.ScalarProjection (   arg1,
  arg2 
)
Returns
Instance of type float
     Returns the scalar product between the two vectors.
 
     C++ signature :
         double ScalarProjection(Point3D,Point3D)
def Point3D.Point3D.Set (   arg1,
  arg2 
)
Returns
Instance of type None
     Modifies this to the same value as the specified Point3D.
 
     C++ signature :
         void Set(Point3D {lvalue},Point3D)
def Point3D.Point3D.Unit (   arg1)
Returns
Instance of type Point3D
     Returns a vector of length 1.0 in the same direction as this vector.
 
     C++ signature :
         Point3D Unit(Point3D)
def Point3D.Point3D.VectorProjection (   arg1,
  arg2 
)
Returns
Instance of type Point3D
     Project this vector onto the specified vector.
 
     C++ signature :
         Point3D VectorProjection(Point3D,Point3D)
def Point3D.Point3D.x (   args)
def Point3D.Point3D.y (   args)
def Point3D.Point3D.z (   args)

Member Data Documentation

int Point3D.Point3D.__instance_size__ = 40
staticprivate
Point3D.Point3D.__safe_for_unpickling__ = True
staticprivate