Base::Vector2dPy Class Reference

#include <GeometryPyCXX.h>

Public Member Functions

Py::Object getattro (const Py::String &name_)
 
virtual Py::Object repr ()
 
int setattro (const Py::String &name_, const Py::Object &value)
 
void setValue (const Vector2d &n)
 
void setValue (double x, double y)
 
const Vector2dvalue () const
 
 Vector2dPy (Py::PythonClassInstance *self, Py::Tuple &args, Py::Dict &kwds)
 
virtual ~Vector2dPy ()
 

Static Public Member Functions

static Py::PythonType & behaviors ()
 
static bool check (PyObject *p)
 
static Py::PythonClassObject< Vector2dPycreate (const Vector2d &)
 
static Py::PythonClassObject< Vector2dPycreate (double x, double y)
 
static void init_type ()
 
static PyTypeObject * type_object ()
 

methods for group handling

virtual Py::Object number_negative ()
 
virtual Py::Object number_positive ()
 
virtual Py::Object number_absolute ()
 
virtual Py::Object number_invert ()
 
virtual Py::Object number_int ()
 
virtual Py::Object number_float ()
 
virtual Py::Object number_long ()
 
virtual Py::Object number_add (const Py::Object &)
 
virtual Py::Object number_subtract (const Py::Object &)
 
virtual Py::Object number_multiply (const Py::Object &)
 
virtual Py::Object number_remainder (const Py::Object &)
 
virtual Py::Object number_divmod (const Py::Object &)
 
virtual Py::Object number_lshift (const Py::Object &)
 
virtual Py::Object number_rshift (const Py::Object &)
 
virtual Py::Object number_and (const Py::Object &)
 
virtual Py::Object number_xor (const Py::Object &)
 
virtual Py::Object number_or (const Py::Object &)
 
virtual Py::Object number_power (const Py::Object &, const Py::Object &)
 
Py::Object isNull (const Py::Tuple &)
 
Py::Object length (const Py::Tuple &)
 
Py::Object atan2 (const Py::Tuple &)
 
Py::Object square (const Py::Tuple &)
 
Py::Object scale (const Py::Tuple &)
 
Py::Object rotate (const Py::Tuple &)
 
Py::Object normalize (const Py::Tuple &)
 
Py::Object perpendicular (const Py::Tuple &)
 
Py::Object distance (const Py::Tuple &)
 
Py::Object isEqual (const Py::Tuple &)
 
Py::Object getAngle (const Py::Tuple &)
 
Py::Object projectToLine (const Py::Tuple &)
 

Constructor & Destructor Documentation

◆ Vector2dPy()

Base::Vector2dPy::Vector2dPy ( Py::PythonClassInstance *  self,
Py::Tuple &  args,
Py::Dict &  kwds 
)

◆ ~Vector2dPy()

Base::Vector2dPy::~Vector2dPy ( )
virtual

Member Function Documentation

◆ atan2()

Py::Object Base::Vector2dPy::atan2 ( const Py::Tuple &  )

◆ behaviors()

Py::PythonType & Base::Vector2dPy::behaviors ( )
static

◆ check()

bool Base::Vector2dPy::check ( PyObject p)
static

◆ create() [1/2]

Py::PythonClassObject< Vector2dPy > Base::Vector2dPy::create ( const Vector2d v)
static

◆ create() [2/2]

Py::PythonClassObject< Vector2dPy > Base::Vector2dPy::create ( double  x,
double  y 
)
static

◆ distance()

Py::Object Base::Vector2dPy::distance ( const Py::Tuple &  args)

◆ getAngle()

◆ getattro()

Py::Object Base::Vector2dPy::getattro ( const Py::String &  name_)

◆ init_type()

void Base::Vector2dPy::init_type ( void  )
static

◆ isEqual()

Py::Object Base::Vector2dPy::isEqual ( const Py::Tuple &  args)

◆ isNull()

Py::Object Base::Vector2dPy::isNull ( const Py::Tuple &  args)

◆ length()

◆ normalize()

Py::Object Base::Vector2dPy::normalize ( const Py::Tuple &  )

◆ number_absolute()

Py::Object Base::Vector2dPy::number_absolute ( )
virtual

References create().

◆ number_add()

Py::Object Base::Vector2dPy::number_add ( const Py::Object &  py)
virtual

References create().

◆ number_and()

Py::Object Base::Vector2dPy::number_and ( const Py::Object &  )
virtual

◆ number_divmod()

Py::Object Base::Vector2dPy::number_divmod ( const Py::Object &  )
virtual

◆ number_float()

Py::Object Base::Vector2dPy::number_float ( )
virtual

◆ number_int()

Py::Object Base::Vector2dPy::number_int ( )
virtual

◆ number_invert()

Py::Object Base::Vector2dPy::number_invert ( )
virtual

◆ number_long()

Py::Object Base::Vector2dPy::number_long ( )
virtual

◆ number_lshift()

Py::Object Base::Vector2dPy::number_lshift ( const Py::Object &  )
virtual

◆ number_multiply()

Py::Object Base::Vector2dPy::number_multiply ( const Py::Object &  py)
virtual

References create(), and type_object().

◆ number_negative()

Py::Object Base::Vector2dPy::number_negative ( )
virtual

References create().

◆ number_or()

Py::Object Base::Vector2dPy::number_or ( const Py::Object &  )
virtual

◆ number_positive()

Py::Object Base::Vector2dPy::number_positive ( )
virtual

References create().

◆ number_power()

Py::Object Base::Vector2dPy::number_power ( const Py::Object &  ,
const Py::Object &   
)
virtual

◆ number_remainder()

Py::Object Base::Vector2dPy::number_remainder ( const Py::Object &  )
virtual

◆ number_rshift()

Py::Object Base::Vector2dPy::number_rshift ( const Py::Object &  )
virtual

◆ number_subtract()

Py::Object Base::Vector2dPy::number_subtract ( const Py::Object &  py)
virtual

References create().

◆ number_xor()

Py::Object Base::Vector2dPy::number_xor ( const Py::Object &  )
virtual

◆ perpendicular()

Py::Object Base::Vector2dPy::perpendicular ( const Py::Tuple &  args)

◆ projectToLine()

Py::Object Base::Vector2dPy::projectToLine ( const Py::Tuple &  args)

◆ repr()

Py::Object Base::Vector2dPy::repr ( )
virtual

◆ rotate()

◆ scale()

◆ setattro()

int Base::Vector2dPy::setattro ( const Py::String &  name_,
const Py::Object &  value 
)

◆ setValue() [1/2]

void Base::Vector2dPy::setValue ( const Vector2d n)

◆ setValue() [2/2]

void Base::Vector2dPy::setValue ( double  x,
double  y 
)

◆ square()

Py::Object Base::Vector2dPy::square ( const Py::Tuple &  )

◆ type_object()

PyTypeObject * Base::Vector2dPy::type_object ( )
static

Referenced by number_multiply().

◆ value()


The documentation for this class was generated from the following files: