Version: 2.9.4
Public Member Functions | Public Attributes
wxPoint2DInt Class Reference

#include </home/zeitlin/src/wx/github/interface/wx/geometry.h>

Public Member Functions

 wxPoint2DInt ()
 wxPoint2DInt (wxInt32 x, wxInt32 y)
 wxPoint2DInt (const wxPoint2DInt &pt)
 wxPoint2DInt (const wxPoint &pt)
void GetFloor (wxInt32 *x, wxInt32 *y) const
void GetRounded (wxInt32 *x, wxInt32 *y) const
wxDouble GetVectorLength () const
wxDouble GetVectorAngle () const
void SetVectorLength (wxDouble length)
void SetVectorAngle (wxDouble degrees)
void SetPolarCoordinates (wxInt32 angle, wxInt32 length)
void Normalize ()
wxDouble GetDistance (const wxPoint2DInt &pt) const
wxDouble GetDistanceSquare (const wxPoint2DInt &pt) const
wxInt32 GetDotProduct (const wxPoint2DInt &vec) const
wxInt32 GetCrossProduct (const wxPoint2DInt &vec) const
wxPoint2DInt operator- ()
wxPoint2DIntoperator= (const wxPoint2DInt &pt)
wxPoint2DIntoperator+= (const wxPoint2DInt &pt)
wxPoint2DIntoperator-= (const wxPoint2DInt &pt)
wxPoint2DIntoperator*= (const wxPoint2DInt &pt)
wxPoint2DIntoperator*= (wxDouble n)
wxPoint2DIntoperator*= (wxInt32 n)
wxPoint2DIntoperator/= (const wxPoint2DInt &pt)
wxPoint2DIntoperator/= (wxDouble n)
wxPoint2DIntoperator/= (wxInt32 n)
 operator wxPoint () const
bool operator== (const wxPoint2DInt &pt) const
bool operator!= (const wxPoint2DInt &pt) const

Public Attributes

wxInt32 m_x
wxInt32 m_y

List of all members.


Constructor & Destructor Documentation

wxPoint2DInt::wxPoint2DInt ( )
wxPoint2DInt::wxPoint2DInt ( wxInt32  x,
wxInt32  y 
)
wxPoint2DInt::wxPoint2DInt ( const wxPoint2DInt pt)
wxPoint2DInt::wxPoint2DInt ( const wxPoint pt)

Member Function Documentation

wxInt32 wxPoint2DInt::GetCrossProduct ( const wxPoint2DInt vec) const
wxDouble wxPoint2DInt::GetDistance ( const wxPoint2DInt pt) const
wxDouble wxPoint2DInt::GetDistanceSquare ( const wxPoint2DInt pt) const
wxInt32 wxPoint2DInt::GetDotProduct ( const wxPoint2DInt vec) const
void wxPoint2DInt::GetFloor ( wxInt32 x,
wxInt32 y 
) const
void wxPoint2DInt::GetRounded ( wxInt32 x,
wxInt32 y 
) const
wxDouble wxPoint2DInt::GetVectorAngle ( ) const
wxDouble wxPoint2DInt::GetVectorLength ( ) const
void wxPoint2DInt::Normalize ( )
wxPoint2DInt::operator wxPoint ( ) const
bool wxPoint2DInt::operator!= ( const wxPoint2DInt pt) const
wxPoint2DInt& wxPoint2DInt::operator*= ( const wxPoint2DInt pt)
wxPoint2DInt& wxPoint2DInt::operator*= ( wxDouble  n)
wxPoint2DInt& wxPoint2DInt::operator*= ( wxInt32  n)
wxPoint2DInt& wxPoint2DInt::operator+= ( const wxPoint2DInt pt)
wxPoint2DInt wxPoint2DInt::operator- ( )
wxPoint2DInt& wxPoint2DInt::operator-= ( const wxPoint2DInt pt)
wxPoint2DInt& wxPoint2DInt::operator/= ( wxDouble  n)
wxPoint2DInt& wxPoint2DInt::operator/= ( const wxPoint2DInt pt)
wxPoint2DInt& wxPoint2DInt::operator/= ( wxInt32  n)
wxPoint2DInt& wxPoint2DInt::operator= ( const wxPoint2DInt pt)
bool wxPoint2DInt::operator== ( const wxPoint2DInt pt) const
void wxPoint2DInt::SetPolarCoordinates ( wxInt32  angle,
wxInt32  length 
)
void wxPoint2DInt::SetVectorAngle ( wxDouble  degrees)
void wxPoint2DInt::SetVectorLength ( wxDouble  length)

Member Data Documentation

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines