The python export class for Vector. More...

#include <VectorPy.h>

Public Types

typedef Vector3d * PointerType
 
- Public Types inherited from Base::PyObjectBase
typedef void * PointerType
 
enum  Status { Valid = 0, Immutable = 1, Notify = 2, NoTrack = 3 }
 

Public Member Functions

virtual PyTypeObject * GetType (void)
 
virtual int PyInit (PyObject *args, PyObject *k)
 PyInit method Override this method to initialize a newly created instance of the class (Constructor) More...
 
std::string representation (void) const
 
 VectorPy (Vector3d *pcObject, PyTypeObject *T=&Type)
 
additional declarations and methods for the wrapper class
 VectorPy (const Vector3d &vec, PyTypeObject *T=&Type)
 
 VectorPy (const Vector3f &vec, PyTypeObject *T=&Type)
 
Vector3d value () const
 
- Public Member Functions inherited from Base::PyObjectBase
PyObjectBase * DecRef (void)
 decref method wrapper (see python extending manual)
More...
 
PyObjectBase * IncRef (void)
 incref method wrapper (see python extending manual) More...
 
bool isConst ()
 
bool isNotTracking () const
 
bool isValid ()
 
 PyObjectBase (void *, PyTypeObject *T)
 Constructor Sets the Type of the object (for inheritance) and decrease the the reference count of the PyObject. More...
 
void setConst ()
 
void setInvalid ()
 
void setNotTracking (bool on=true)
 
void setShouldNotify (bool on)
 
bool shouldNotify () const
 
void startNotify ()
 

Static Public Member Functions

static PyObject * PyMake (struct _typeobject *, PyObject *, PyObject *)
 
static PyObject * richCompare (PyObject *v, PyObject *w, int op)
 
callbacks and implementers for the python object number protocol
static PyObject * number_add_handler (PyObject *self, PyObject *other)
 callback for the number_add_handler More...
 
static PyObject * number_subtract_handler (PyObject *self, PyObject *other)
 callback for the number_subtract_handler More...
 
static PyObject * number_multiply_handler (PyObject *self, PyObject *other)
 callback for the number_multiply_handler More...
 
static PyObject * number_divide_handler (PyObject *self, PyObject *other)
 callback for the number_divide_handler More...
 
static PyObject * number_remainder_handler (PyObject *self, PyObject *other)
 callback for the number_remainder_handler More...
 
static PyObject * number_divmod_handler (PyObject *self, PyObject *other)
 callback for the number_divmod_handler More...
 
static PyObject * number_power_handler (PyObject *self, PyObject *other, PyObject *modulo)
 callback for the number_power_handler More...
 
static PyObject * number_negative_handler (PyObject *self)
 callback for the number_negative_handler More...
 
static PyObject * number_positive_handler (PyObject *self)
 callback for the number_positive_handler More...
 
static PyObject * number_absolute_handler (PyObject *self)
 callback for the number_absolute_handler More...
 
static int number_nonzero_handler (PyObject *self)
 callback for the number_nonzero_handler More...
 
static PyObject * number_invert_handler (PyObject *self)
 callback for the number_invert_handler More...
 
static PyObject * number_lshift_handler (PyObject *self, PyObject *other)
 callback for the number_lshift_handler More...
 
static PyObject * number_rshift_handler (PyObject *self, PyObject *other)
 callback for the number_rshift_handler More...
 
static PyObject * number_and_handler (PyObject *self, PyObject *other)
 callback for the number_and_handler More...
 
static PyObject * number_xor_handler (PyObject *self, PyObject *other)
 callback for the number_xor_handler More...
 
static PyObject * number_or_handler (PyObject *self, PyObject *other)
 callback for the number_or_handler More...
 
static int number_coerce_handler (PyObject **self, PyObject **other)
 callback for the number_coerce_handler More...
 
static PyObject * number_int_handler (PyObject *self)
 callback for the number_int_handler More...
 
static PyObject * number_long_handler (PyObject *self)
 callback for the number_long_handler More...
 
static PyObject * number_float_handler (PyObject *self)
 callback for the number_float_handler More...
 
static PyObject * number_oct_handler (PyObject *self)
 callback for the number_oct_handler More...
 
static PyObject * number_hex_handler (PyObject *self)
 callback for the number_hex_handler More...
 
callbacks and implementers for the python object sequence protocol
static Py_ssize_t sequence_length (PyObject *)
 
static PyObject * sequence_item (PyObject *, Py_ssize_t)
 
static PyObject * mapping_subscript (PyObject *, PyObject *)
 
static int sequence_ass_item (PyObject *, Py_ssize_t, PyObject *)
 
- Static Public Member Functions inherited from Base::PyObjectBase
static void PyDestructor (PyObject *P)
 Wrapper for the Python destructor. More...
 

Static Public Attributes

static PyGetSetDef GetterSetter []
 Attribute structure of VectorPy. More...
 
static PyMappingMethods Mapping []
 
static PyMethodDef Methods []
 Methods structure of VectorPy. More...
 
static PyNumberMethods Number []
 
static PySequenceMethods Sequence []
 
static PyTypeObject Type
 Type structure of VectorPy. More...
 
- Static Public Attributes inherited from Base::PyObjectBase
static PyMethodDef Methods []
 
static PyTypeObject Type
 Py_Header struct from python.h. More...
 

Protected Member Functions

 ~VectorPy ()
 
- Protected Member Functions inherited from Base::PyObjectBase
virtual ~PyObjectBase ()
 destructor More...
 

callbacks and implementers for the python object methods

static PyObject * staticCallback___reduce__ (PyObject *self, PyObject *args)
 callback for the reduce() method More...
 
static PyObject * staticCallback_add (PyObject *self, PyObject *args)
 callback for the add() method More...
 
static PyObject * staticCallback_sub (PyObject *self, PyObject *args)
 callback for the sub() method More...
 
static PyObject * staticCallback_negative (PyObject *self, PyObject *args)
 callback for the negative() method More...
 
static PyObject * staticCallback_scale (PyObject *self, PyObject *args)
 callback for the scale() method More...
 
static PyObject * staticCallback_multiply (PyObject *self, PyObject *args)
 callback for the multiply() method More...
 
static PyObject * staticCallback_dot (PyObject *self, PyObject *args)
 callback for the dot() method More...
 
static PyObject * staticCallback_cross (PyObject *self, PyObject *args)
 callback for the cross() method More...
 
static PyObject * staticCallback_getAngle (PyObject *self, PyObject *args)
 callback for the getAngle() method More...
 
static PyObject * staticCallback_normalize (PyObject *self, PyObject *args)
 callback for the normalize() method More...
 
static PyObject * staticCallback_isEqual (PyObject *self, PyObject *args)
 callback for the isEqual() method More...
 
static PyObject * staticCallback_projectToLine (PyObject *self, PyObject *args)
 callback for the projectToLine() method More...
 
static PyObject * staticCallback_projectToPlane (PyObject *self, PyObject *args)
 callback for the projectToPlane() method More...
 
static PyObject * staticCallback_distanceToPoint (PyObject *self, PyObject *args)
 callback for the distanceToPoint() method More...
 
static PyObject * staticCallback_distanceToLine (PyObject *self, PyObject *args)
 callback for the distanceToLine() method More...
 
static PyObject * staticCallback_distanceToLineSegment (PyObject *self, PyObject *args)
 callback for the distanceToLineSegment() method More...
 
static PyObject * staticCallback_distanceToPlane (PyObject *self, PyObject *args)
 callback for the distanceToPlane() method More...
 
PyObject * add (PyObject *args)
 implementer for the add() method More...
 
PyObject * sub (PyObject *args)
 implementer for the sub() method More...
 
PyObject * negative (PyObject *args)
 implementer for the negative() method More...
 
PyObject * scale (PyObject *args)
 implementer for the scale() method More...
 
PyObject * multiply (PyObject *args)
 implementer for the multiply() method More...
 
PyObject * dot (PyObject *args)
 implementer for the dot() method More...
 
PyObject * cross (PyObject *args)
 implementer for the cross() method More...
 
PyObject * getAngle (PyObject *args)
 implementer for the getAngle() method More...
 
PyObject * normalize (PyObject *args)
 implementer for the normalize() method More...
 
PyObject * isEqual (PyObject *args)
 implementer for the isEqual() method More...
 
PyObject * projectToLine (PyObject *args)
 implementer for the projectToLine() method More...
 
PyObject * projectToPlane (PyObject *args)
 implementer for the projectToPlane() method More...
 
PyObject * distanceToPoint (PyObject *args)
 implementer for the distanceToPoint() method More...
 
PyObject * distanceToLine (PyObject *args)
 implementer for the distanceToLine() method More...
 
PyObject * distanceToLineSegment (PyObject *args)
 implementer for the distanceToLineSegment() method More...
 
PyObject * distanceToPlane (PyObject *args)
 implementer for the distanceToPlane() method More...
 

callbacks and implementers for the python object attributes

static PyObject * staticCallback_getLength (PyObject *self, void *closure)
 getter callback for the Length attribute More...
 
static int staticCallback_setLength (PyObject *self, PyObject *value, void *closure)
 setter callback for the Length attribute More...
 
static PyObject * staticCallback_getx (PyObject *self, void *closure)
 getter callback for the x attribute More...
 
static int staticCallback_setx (PyObject *self, PyObject *value, void *closure)
 setter callback for the x attribute More...
 
static PyObject * staticCallback_gety (PyObject *self, void *closure)
 getter callback for the y attribute More...
 
static int staticCallback_sety (PyObject *self, PyObject *value, void *closure)
 setter callback for the y attribute More...
 
static PyObject * staticCallback_getz (PyObject *self, void *closure)
 getter callback for the z attribute More...
 
static int staticCallback_setz (PyObject *self, PyObject *value, void *closure)
 setter callback for the z attribute More...
 
Py::Float getLength (void) const
 getter for the Length attribute More...
 
void setLength (Py::Float arg)
 setter for the Length attribute More...
 
Py::Float getx (void) const
 getter for the x attribute More...
 
void setx (Py::Float arg)
 setter for the x attribute More...
 
Py::Float gety (void) const
 getter for the y attribute More...
 
void sety (Py::Float arg)
 setter for the y attribute More...
 
Py::Float getz (void) const
 getter for the z attribute More...
 
void setz (Py::Float arg)
 setter for the z attribute More...
 
PyObject * getCustomAttributes (const char *attr) const
 getter method for special attributes (e.g. dynamic ones) More...
 
int setCustomAttributes (const char *attr, PyObject *obj)
 setter for special attributes (e.g. More...
 
Vector3d * getVectorPtr (void) const
 getter for the object handled by this class More...
 

Additional Inherited Members

- Protected Attributes inherited from Base::PyObjectBase
std::bitset< 32 > StatusBits
 

Detailed Description

The python export class for Vector.

Member Typedef Documentation

◆ PointerType

Constructor & Destructor Documentation

◆ ~VectorPy()

VectorPy::~VectorPy ( )
protected

◆ VectorPy() [1/3]

◆ VectorPy() [2/3]

Base::VectorPy::VectorPy ( const Vector3d &  vec,
PyTypeObject *  T = &Type 
)

◆ VectorPy() [3/3]

Base::VectorPy::VectorPy ( const Vector3f &  vec,
PyTypeObject *  T = &Type 
)

Member Function Documentation

◆ add()

PyObject * VectorPy::add ( PyObject *  args)

implementer for the add() method

References Type, and VectorPy().

Referenced by staticCallback_add().

◆ cross()

PyObject * VectorPy::cross ( PyObject *  args)

implementer for the cross() method

References Type, and VectorPy().

Referenced by staticCallback_cross().

◆ distanceToLine()

PyObject * VectorPy::distanceToLine ( PyObject *  args)

◆ distanceToLineSegment()

PyObject * VectorPy::distanceToLineSegment ( PyObject *  args)

◆ distanceToPlane()

PyObject * VectorPy::distanceToPlane ( PyObject *  args)

◆ distanceToPoint()

PyObject * VectorPy::distanceToPoint ( PyObject *  args)

implementer for the distanceToPoint() method

References DraftVecUtils::dist(), Base::Distance(), and Type.

Referenced by staticCallback_distanceToPoint().

◆ dot()

PyObject * VectorPy::dot ( PyObject *  args)

implementer for the dot() method

References Type.

Referenced by staticCallback_dot().

◆ getAngle()

◆ getCustomAttributes()

PyObject * VectorPy::getCustomAttributes ( const char *  attr) const

getter method for special attributes (e.g. dynamic ones)

◆ getLength()

Py::Float VectorPy::getLength ( void  ) const

getter for the Length attribute

References Base::Vector3< _Precision >::Length().

Referenced by staticCallback_getLength().

◆ GetType()

virtual PyTypeObject* Base::VectorPy::GetType ( void  )
virtual

Reimplemented from Base::PyObjectBase.

◆ getVectorPtr()

◆ getx()

Py::Float VectorPy::getx ( void  ) const

getter for the x attribute

References Base::Vector3< _Precision >::x.

Referenced by staticCallback_getx().

◆ gety()

Py::Float VectorPy::gety ( void  ) const

getter for the y attribute

References Base::Vector3< _Precision >::y.

Referenced by staticCallback_gety().

◆ getz()

Py::Float VectorPy::getz ( void  ) const

getter for the z attribute

References Base::Vector3< _Precision >::z.

Referenced by staticCallback_getz().

◆ isEqual()

PyObject * VectorPy::isEqual ( PyObject *  args)

implementer for the isEqual() method

References Type.

Referenced by staticCallback_isEqual().

◆ mapping_subscript()

PyObject * VectorPy::mapping_subscript ( PyObject *  self,
PyObject *  item 
)
static

◆ multiply()

◆ negative()

PyObject * VectorPy::negative ( PyObject *  args)

implementer for the negative() method

References VectorPy().

Referenced by staticCallback_negative().

◆ normalize()

◆ number_absolute_handler()

PyObject * VectorPy::number_absolute_handler ( PyObject *  self)
static

callback for the number_absolute_handler

References Type, value(), and VectorPy().

◆ number_add_handler()

PyObject * VectorPy::number_add_handler ( PyObject *  self,
PyObject *  other 
)
static

callback for the number_add_handler

References Type, value(), and VectorPy().

◆ number_and_handler()

PyObject * VectorPy::number_and_handler ( PyObject *  self,
PyObject *  other 
)
static

callback for the number_and_handler

◆ number_coerce_handler()

int VectorPy::number_coerce_handler ( PyObject **  self,
PyObject **  other 
)
static

callback for the number_coerce_handler

◆ number_divide_handler()

PyObject * VectorPy::number_divide_handler ( PyObject *  self,
PyObject *  other 
)
static

callback for the number_divide_handler

References Type, value(), and VectorPy().

◆ number_divmod_handler()

PyObject * VectorPy::number_divmod_handler ( PyObject *  self,
PyObject *  other 
)
static

callback for the number_divmod_handler

◆ number_float_handler()

PyObject * VectorPy::number_float_handler ( PyObject *  self)
static

callback for the number_float_handler

◆ number_hex_handler()

PyObject * VectorPy::number_hex_handler ( PyObject *  self)
static

callback for the number_hex_handler

◆ number_int_handler()

PyObject * VectorPy::number_int_handler ( PyObject *  self)
static

callback for the number_int_handler

◆ number_invert_handler()

PyObject * VectorPy::number_invert_handler ( PyObject *  self)
static

callback for the number_invert_handler

◆ number_long_handler()

PyObject * VectorPy::number_long_handler ( PyObject *  self)
static

callback for the number_long_handler

◆ number_lshift_handler()

PyObject * VectorPy::number_lshift_handler ( PyObject *  self,
PyObject *  other 
)
static

callback for the number_lshift_handler

◆ number_multiply_handler()

PyObject * VectorPy::number_multiply_handler ( PyObject *  self,
PyObject *  other 
)
static

callback for the number_multiply_handler

References Type, value(), and VectorPy().

◆ number_negative_handler()

PyObject * VectorPy::number_negative_handler ( PyObject *  self)
static

callback for the number_negative_handler

References Type, value(), and VectorPy().

◆ number_nonzero_handler()

int VectorPy::number_nonzero_handler ( PyObject *  self)
static

callback for the number_nonzero_handler

◆ number_oct_handler()

PyObject * VectorPy::number_oct_handler ( PyObject *  self)
static

callback for the number_oct_handler

◆ number_or_handler()

PyObject * VectorPy::number_or_handler ( PyObject *  self,
PyObject *  other 
)
static

callback for the number_or_handler

◆ number_positive_handler()

PyObject * VectorPy::number_positive_handler ( PyObject *  self)
static

callback for the number_positive_handler

References Type, value(), and VectorPy().

◆ number_power_handler()

PyObject * VectorPy::number_power_handler ( PyObject *  self,
PyObject *  other,
PyObject *  modulo 
)
static

callback for the number_power_handler

◆ number_remainder_handler()

PyObject * VectorPy::number_remainder_handler ( PyObject *  self,
PyObject *  other 
)
static

callback for the number_remainder_handler

References Type, value(), and VectorPy().

◆ number_rshift_handler()

PyObject * VectorPy::number_rshift_handler ( PyObject *  self,
PyObject *  other 
)
static

callback for the number_rshift_handler

◆ number_subtract_handler()

PyObject * VectorPy::number_subtract_handler ( PyObject *  self,
PyObject *  other 
)
static

callback for the number_subtract_handler

References Type, value(), and VectorPy().

◆ number_xor_handler()

PyObject * VectorPy::number_xor_handler ( PyObject *  self,
PyObject *  other 
)
static

callback for the number_xor_handler

◆ projectToLine()

PyObject * VectorPy::projectToLine ( PyObject *  args)

implementer for the projectToLine() method

References Base::Vector3< _Precision >::ProjectToLine(), and Type.

Referenced by staticCallback_projectToLine().

◆ projectToPlane()

PyObject * VectorPy::projectToPlane ( PyObject *  args)

implementer for the projectToPlane() method

References Base::Vector3< _Precision >::ProjectToPlane(), and Type.

Referenced by staticCallback_projectToPlane().

◆ PyInit()

int VectorPy::PyInit ( PyObject *  ,
PyObject *   
)
virtual

PyInit method Override this method to initialize a newly created instance of the class (Constructor)

Reimplemented from Base::PyObjectBase.

References getVectorPtr(), Base::Vector3< _Precision >::Set(), and Type.

◆ PyMake()

PyObject * VectorPy::PyMake ( struct _typeobject *  ,
PyObject *  ,
PyObject *   
)
static

References VectorPy().

◆ representation()

◆ richCompare()

PyObject * VectorPy::richCompare ( PyObject *  v,
PyObject *  w,
int  op 
)
static

References Type, and value().

◆ scale()

PyObject * VectorPy::scale ( PyObject *  args)

implementer for the scale() method

References Base::Vector3< _Precision >::Scale().

Referenced by staticCallback_scale().

◆ sequence_ass_item()

int VectorPy::sequence_ass_item ( PyObject *  self,
Py_ssize_t  index,
PyObject *  value 
)
static

References getVectorPtr(), and Type.

◆ sequence_item()

PyObject * VectorPy::sequence_item ( PyObject *  self,
Py_ssize_t  index 
)
static

References Type, and value().

Referenced by mapping_subscript().

◆ sequence_length()

Py_ssize_t VectorPy::sequence_length ( PyObject *  )
static

Referenced by mapping_subscript().

◆ setCustomAttributes()

int VectorPy::setCustomAttributes ( const char *  attr,
PyObject *  obj 
)

setter for special attributes (e.g.

dynamic ones) Output: Success=1, Failure=-1, Ignore=0

◆ setLength()

◆ setx()

void VectorPy::setx ( Py::Float  arg)

setter for the x attribute

References Base::Vector3< _Precision >::x.

Referenced by staticCallback_setx().

◆ sety()

void VectorPy::sety ( Py::Float  arg)

setter for the y attribute

References Base::Vector3< _Precision >::y.

Referenced by staticCallback_sety().

◆ setz()

void VectorPy::setz ( Py::Float  arg)

setter for the z attribute

References Base::Vector3< _Precision >::z.

Referenced by staticCallback_setz().

◆ staticCallback___reduce__()

PyObject * VectorPy::staticCallback___reduce__ ( PyObject *  self,
PyObject *  args 
)
static

◆ staticCallback_add()

PyObject * VectorPy::staticCallback_add ( PyObject *  self,
PyObject *  args 
)
static

◆ staticCallback_cross()

PyObject * VectorPy::staticCallback_cross ( PyObject *  self,
PyObject *  args 
)
static

◆ staticCallback_distanceToLine()

PyObject * VectorPy::staticCallback_distanceToLine ( PyObject *  self,
PyObject *  args 
)
static

◆ staticCallback_distanceToLineSegment()

PyObject * VectorPy::staticCallback_distanceToLineSegment ( PyObject *  self,
PyObject *  args 
)
static

◆ staticCallback_distanceToPlane()

PyObject * VectorPy::staticCallback_distanceToPlane ( PyObject *  self,
PyObject *  args 
)
static

◆ staticCallback_distanceToPoint()

PyObject * VectorPy::staticCallback_distanceToPoint ( PyObject *  self,
PyObject *  args 
)
static

◆ staticCallback_dot()

PyObject * VectorPy::staticCallback_dot ( PyObject *  self,
PyObject *  args 
)
static

◆ staticCallback_getAngle()

PyObject * VectorPy::staticCallback_getAngle ( PyObject *  self,
PyObject *  args 
)
static

◆ staticCallback_getLength()

PyObject * VectorPy::staticCallback_getLength ( PyObject *  self,
void *  closure 
)
static

getter callback for the Length attribute

References Base::BaseExceptionFreeCADError, getLength(), and Base::PyObjectBase::isValid().

◆ staticCallback_getx()

PyObject * VectorPy::staticCallback_getx ( PyObject *  self,
void *  closure 
)
static

getter callback for the x attribute

References Base::BaseExceptionFreeCADError, getx(), and Base::PyObjectBase::isValid().

◆ staticCallback_gety()

PyObject * VectorPy::staticCallback_gety ( PyObject *  self,
void *  closure 
)
static

getter callback for the y attribute

References Base::BaseExceptionFreeCADError, gety(), and Base::PyObjectBase::isValid().

◆ staticCallback_getz()

PyObject * VectorPy::staticCallback_getz ( PyObject *  self,
void *  closure 
)
static

getter callback for the z attribute

References Base::BaseExceptionFreeCADError, getz(), and Base::PyObjectBase::isValid().

◆ staticCallback_isEqual()

◆ staticCallback_multiply()

◆ staticCallback_negative()

PyObject * VectorPy::staticCallback_negative ( PyObject *  self,
PyObject *  args 
)
static

◆ staticCallback_normalize()

◆ staticCallback_projectToLine()

◆ staticCallback_projectToPlane()

◆ staticCallback_scale()

◆ staticCallback_setLength()

int VectorPy::staticCallback_setLength ( PyObject *  self,
PyObject *  value,
void *  closure 
)
static

◆ staticCallback_setx()

int VectorPy::staticCallback_setx ( PyObject *  self,
PyObject *  value,
void *  closure 
)
static

◆ staticCallback_sety()

int VectorPy::staticCallback_sety ( PyObject *  self,
PyObject *  value,
void *  closure 
)
static

◆ staticCallback_setz()

int VectorPy::staticCallback_setz ( PyObject *  self,
PyObject *  value,
void *  closure 
)
static

◆ staticCallback_sub()

PyObject * VectorPy::staticCallback_sub ( PyObject *  self,
PyObject *  args 
)
static

◆ sub()

PyObject * VectorPy::sub ( PyObject *  args)

implementer for the sub() method

References Type, and VectorPy().

Referenced by staticCallback_sub().

◆ value()

Member Data Documentation

◆ GetterSetter

PyGetSetDef VectorPy::GetterSetter
static
Initial value:
= {
{"Length",
"Length([Float]) -> Float\n gets or sets the length of this vector\n ",
NULL
},
{"x",
"x([Float]) -> Float\n gets or sets the X component of this vector\n ",
NULL
},
{"y",
"y([Float]) -> Float\n gets or sets the Y component of this vector\n ",
NULL
},
{"z",
"z([Float]) -> Float\n gets or sets the Z component of this vector\n ",
NULL
},
{NULL, NULL, NULL, NULL, NULL}
}

Attribute structure of VectorPy.

◆ Mapping

PyMappingMethods VectorPy::Mapping
static
Initial value:

◆ Methods

PyMethodDef VectorPy::Methods
static

Methods structure of VectorPy.

◆ Number

PyNumberMethods VectorPy::Number
static

◆ Sequence

PySequenceMethods VectorPy::Sequence
static
Initial value:
= { {
0,
0,
0,
0,
0,
0,
0
} }

◆ Type

PyTypeObject VectorPy::Type
static

Type structure of VectorPy.

Referenced by ArchPanel.CommandPanelSheet::Activated(), add(), Base::BoundBoxPy::add(), Sketcher::SketchObjectPy::addCopy(), Mesh::MeshPy::addFacet(), Mesh::MeshPy::addFacets(), Sketcher::SketchObjectPy::addMove(), Points::PointsPy::addPoints(), Sketcher::SketchObjectPy::addRectangularArray(), ArchStructure.StructSelectionObserver::addSelection(), ArchSite.Compass::buildCoordinates(), Base::BoundBoxPy::closestPoint(), Part::ParabolaPy::compute(), cross(), Mesh::MeshPy::crossSections(), distanceToLine(), distanceToLineSegment(), distanceToPlane(), distanceToPoint(), dot(), ArchComponent.Component::execute(), DraftLayer.LayerContainer::execute(), Part::TopoShapePy::extrude(), Sketcher::SketchObjectPy::fillet(), getAngle(), Base::BoundBoxPy::getIntersectionPoint(), Part::TopoShapeSolidPy::getMomentOfInertia(), Gui::View3DInventorPy::getPointOnScreen(), Part::TopoShapeSolidPy::getRadiusOfGyration(), Part::BezierCurvePy::insertPoleAfter(), Part::BezierCurvePy::insertPoleBefore(), Mesh::MeshPy::insertVertex(), Part::BSplineCurvePy::interpolate(), Base::BoundBoxPy::intersect(), ArchSchedule.CommandArchSchedule::IsActive(), ArchAxis.CommandArchGrid::IsActive(), Base::BoundBoxPy::isCutPlane(), isEqual(), Base::BoundBoxPy::isInside(), Part::TopoShapePy::isInside(), TechDraw::DrawViewPartPy::makeCosmeticCircle(), TechDraw::DrawViewPartPy::makeCosmeticCircleArc(), TechDraw::DrawViewPartPy::makeCosmeticLine(), TechDraw::DrawViewPartPy::makeCosmeticVertex(), Part::TopoShapeShellPy::makeHalfSpace(), Part::TopoShapeFacePy::makeHalfSpace(), Part::TopoShapePy::makeParallelProjection(), Part::TopoShapePy::makePerspectiveProjection(), mapping_subscript(), Part::GeometryPy::mirror(), Part::TopoShapePy::mirror(), Base::MatrixPy::move(), Mesh::MeshPointPy::move(), Base::AxisPy::move(), Base::PlacementPy::move(), Base::BoundBoxPy::move(), Sketcher::SketchPy::movePoint(), Part::BSplineCurvePy::movePoint(), Sketcher::SketchObjectPy::movePoint(), Part::BSplineSurfacePy::movePoint(), Base::MatrixPy::multiply(), Base::PlacementPy::multVec(), Base::RotationPy::multVec(), Base::MatrixPy::multVec(), number_absolute_handler(), number_add_handler(), number_divide_handler(), Base::MatrixPy::number_multiply_handler(), number_multiply_handler(), number_negative_handler(), number_positive_handler(), number_remainder_handler(), number_subtract_handler(), draftobjects.draft_annotation.DraftAnnotation::onDocumentRestored(), Part::GeometryCurvePy::parameter(), Part::GeometrySurfacePy::parameter(), projectToLine(), projectToPlane(), Part::LinePy::PyInit(), Part::SurfaceOfRevolutionPy::PyInit(), Part::ArcPy::PyInit(), Part::ArcOfCirclePy::PyInit(), Base::BoundBoxPy::PyInit(), Part::TopoShapeVertexPy::PyInit(), Part::CirclePy::PyInit(), Part::ConePy::PyInit(), Base::AxisPy::PyInit(), Part::EllipsePy::PyInit(), Part::HyperbolaPy::PyInit(), Part::LineSegmentPy::PyInit(), Part::CylinderPy::PyInit(), Part::OffsetCurvePy::PyInit(), Part::ParabolaPy::PyInit(), Part::PlanePy::PyInit(), Part::PointPy::PyInit(), Part::SurfaceOfExtrusionPy::PyInit(), Base::PlacementPy::PyInit(), Base::RotationPy::PyInit(), PyInit(), Part::TopoShapePy::reflectLines(), Part::TopoShapePy::revolve(), richCompare(), Base::MatrixPy::scale(), Part::GeometryPy::scale(), Base::BoundBoxPy::scale(), Part::TopoShapePy::scale(), sequence_ass_item(), sequence_item(), Base::CoordinateSystemPy::setAxes(), Part::PlanePy::setAxis(), Part::ArcOfConicPy::setAxis(), Part::CylinderPy::setAxis(), Part::ConicPy::setAxis(), Part::ToroidPy::setAxis(), Part::SpherePy::setAxis(), Part::ConePy::setAxis(), Part::BRepOffsetAPI_MakePipeShellPy::setBiNormalMode(), Part::ArcOfConicPy::setCenter(), Part::ConicPy::setCenter(), Part::CylinderPy::setCenter(), Part::ToroidPy::setCenter(), Part::SpherePy::setCenter(), Part::ConePy::setCenter(), Base::RotationPy::setCustomAttributes(), Part::SurfaceOfRevolutionPy::setDirection(), Part::SurfaceOfExtrusionPy::setDirection(), Part::LinePy::setDirection(), Part::LineSegmentPy::setEndPoint(), Part::SurfaceOfRevolutionPy::setLocation(), Part::ConicPy::setLocation(), Part::LinePy::setLocation(), Part::ArcOfConicPy::setLocation(), FemGui::ViewProviderFemMeshPy::setNodeDisplacement(), Part::OffsetCurvePy::setOffsetDirection(), Mesh::MeshPy::setPoint(), Part::BezierCurvePy::setPole(), Part::BezierSurfacePy::setPole(), Part::BSplineCurvePy::setPole(), Part::BSplineSurfacePy::setPole(), Part::PlanePy::setPosition(), ArchReference.ArchReference::setProperties(), DraftLayer.Layer::setProperties(), App::PropertyVector::setPyObject(), Mesh::PropertyNormalList::setPyObject(), Points::PropertyNormalList::setPyObject(), Part::LineSegmentPy::setStartPoint(), Part::BRepOffsetAPI_MakePipeShellPy::setTrihedronMode(), Part::ArcOfConicPy::setXAxis(), Part::ConicPy::setXAxis(), Part::ArcOfConicPy::setYAxis(), Part::ConicPy::setYAxis(), Part::TopoShapePy::slice(), Part::TopoShapePy::slices(), Mesh::MeshPy::snapVertex(), Mesh::MeshPy::splitEdge(), Mesh::MeshPy::splitFacet(), sub(), Base::MatrixPy::transform(), Base::CoordinateSystemPy::transformTo(), Part::GeometryPy::translate(), Part::TopoShapePy::translate(), and Sketcher::SketchObjectPy::trim().


The documentation for this class was generated from the following files:
  • build/webdoc/src/Base/VectorPy.h
  • src/Base/VectorPyImp.cpp
  • build/webdoc/src/Base/VectorPy.cpp
static int staticCallback_setz(PyObject *self, PyObject *value, void *closure)
setter callback for the z attribute
Definition: VectorPy.cpp:1765
static PyObject * staticCallback_getz(PyObject *self, void *closure)
getter callback for the z attribute
Definition: VectorPy.cpp:1747
static Py_ssize_t sequence_length(PyObject *)
Definition: VectorPyImp.cpp:199
static int sequence_ass_item(PyObject *, Py_ssize_t, PyObject *)
Definition: VectorPyImp.cpp:219
static int staticCallback_setLength(PyObject *self, PyObject *value, void *closure)
setter callback for the Length attribute
Definition: VectorPy.cpp:1633
static PyObject * sequence_item(PyObject *, Py_ssize_t)
Definition: VectorPyImp.cpp:204
static PyObject * staticCallback_getLength(PyObject *self, void *closure)
getter callback for the Length attribute
Definition: VectorPy.cpp:1615
static int staticCallback_sety(PyObject *self, PyObject *value, void *closure)
setter callback for the y attribute
Definition: VectorPy.cpp:1721
static int staticCallback_setx(PyObject *self, PyObject *value, void *closure)
setter callback for the x attribute
Definition: VectorPy.cpp:1677
static PyObject * staticCallback_gety(PyObject *self, void *closure)
getter callback for the y attribute
Definition: VectorPy.cpp:1703
static PyObject * staticCallback_getx(PyObject *self, void *closure)
getter callback for the x attribute
Definition: VectorPy.cpp:1659
static PyObject * mapping_subscript(PyObject *, PyObject *)
Definition: VectorPyImp.cpp:243