Class: Wx::Point2DInt

Inherits:
Object
  • Object
show all
Defined in:
lib/wx/doc/gen/geometry.rb,
lib/wx/doc/geometry.rb

Overview

Note:

This class is untracked and should not be derived from nor instances extended!

Requires:

  • USE_GEOMETRY

Instance Method Summary collapse

Constructor Details

#initializeWx::Point2DInt #initialize(x, y) ⇒ Wx::Point2DInt #initialize(pt) ⇒ Wx::Point2DInt #initialize(pt) ⇒ Wx::Point2DInt

Returns a new instance of Point2DInt.

Overloads:



59
# File 'lib/wx/doc/gen/geometry.rb', line 59

def initialize(*args) end

Instance Method Details

#*(v) ⇒ Wx::Point2DInt

Parameters:

Returns:



73
# File 'lib/wx/doc/geometry.rb', line 73

def *(v) end

#+(pt) ⇒ Wx::Point2DInt

Parameters:

Returns:



65
# File 'lib/wx/doc/geometry.rb', line 65

def +(pt) end

#-Wx::Point2DInt

Returns:



69
# File 'lib/wx/doc/geometry.rb', line 69

def -(pt) end

#/(v) ⇒ Wx::Point2DInt

Parameters:

Returns:



77
# File 'lib/wx/doc/geometry.rb', line 77

def /(v) end

#==(pt) ⇒ Boolean

Parameters:

Returns:

  • (Boolean)


115
# File 'lib/wx/doc/gen/geometry.rb', line 115

def ==(pt) end

#add!(pt) ⇒ self

Parameters:

Returns:

  • (self)


49
# File 'lib/wx/doc/geometry.rb', line 49

def add!(pt) end

#assign(pt) ⇒ self

Parameters:

Returns:

  • (self)


45
# File 'lib/wx/doc/geometry.rb', line 45

def assign(pt) end

#div!(v) ⇒ self

Parameters:

Returns:

  • (self)


61
# File 'lib/wx/doc/geometry.rb', line 61

def div!(v) end

#get_cross_product(vec) ⇒ Integer Also known as: cross_product

Parameters:

Returns:

  • (Integer)


107
# File 'lib/wx/doc/gen/geometry.rb', line 107

def get_cross_product(vec) end

#get_distance(pt) ⇒ Float Also known as: distance

Parameters:

Returns:

  • (Float)


92
# File 'lib/wx/doc/gen/geometry.rb', line 92

def get_distance(pt) end

#get_distance_square(pt) ⇒ Float Also known as: distance_square

Parameters:

Returns:

  • (Float)


97
# File 'lib/wx/doc/gen/geometry.rb', line 97

def get_distance_square(pt) end

#get_dot_product(vec) ⇒ Integer Also known as: dot_product

Parameters:

Returns:

  • (Integer)


102
# File 'lib/wx/doc/gen/geometry.rb', line 102

def get_dot_product(vec) end

#get_floorArray(Integer,Integer) Also known as: floor

Returns:

  • (Array(Integer,Integer))


62
# File 'lib/wx/doc/gen/geometry.rb', line 62

def get_floor; end

#get_roundedArray(Integer,Integer) Also known as: rounded

Returns:

  • (Array(Integer,Integer))


66
# File 'lib/wx/doc/gen/geometry.rb', line 66

def get_rounded; end

#get_vector_angleFloat Also known as: vector_angle

Returns:

  • (Float)


74
# File 'lib/wx/doc/gen/geometry.rb', line 74

def get_vector_angle; end

#get_vector_lengthFloat Also known as: vector_length

Returns:

  • (Float)


70
# File 'lib/wx/doc/gen/geometry.rb', line 70

def get_vector_length; end

#get_xInteger Also known as: x

Returns:

  • (Integer)


28
# File 'lib/wx/doc/geometry.rb', line 28

def get_x; end

#get_yInteger Also known as: y

Returns:

  • (Integer)


36
# File 'lib/wx/doc/geometry.rb', line 36

def get_y; end

#mul!(v) ⇒ self

Parameters:

Returns:

  • (self)


57
# File 'lib/wx/doc/geometry.rb', line 57

def mul!(v) end

#normalizevoid

This method returns an undefined value.



88
# File 'lib/wx/doc/gen/geometry.rb', line 88

def normalize; end

#set_vector_angle(degrees) ⇒ void Also known as: vector_angle=

This method returns an undefined value.

Parameters:

  • degrees (Float)


84
# File 'lib/wx/doc/gen/geometry.rb', line 84

def set_vector_angle(degrees) end

#set_vector_length(length) ⇒ void Also known as: vector_length=

This method returns an undefined value.

Parameters:

  • length (Float)


79
# File 'lib/wx/doc/gen/geometry.rb', line 79

def set_vector_length(length) end

#set_x(v) ⇒ Integer Also known as: x=

Parameters:

  • v (Integer)

Returns:

  • (Integer)


32
# File 'lib/wx/doc/geometry.rb', line 32

def set_x(v) end

#set_y(v) ⇒ Integer Also known as: y=

Parameters:

  • v (Integer)

Returns:

  • (Integer)


40
# File 'lib/wx/doc/geometry.rb', line 40

def set_y(v) end

#sub!(pt) ⇒ self

Parameters:

Returns:

  • (self)


53
# File 'lib/wx/doc/geometry.rb', line 53

def sub!(pt) end