Class: Wx::Point2DDouble

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::Point2DDouble #initialize(x, y) ⇒ Wx::Point2DDouble #initialize(pt) ⇒ Wx::Point2DDouble #initialize(pt) ⇒ Wx::Point2DDouble #initialize(pt) ⇒ Wx::Point2DDouble

Returns a new instance of Point2DDouble.

Overloads:



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

def initialize(*args) end

Instance Method Details

#*(v) ⇒ Wx::Point2DDouble

Parameters:

Returns:



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

def *(v) end

#+(pt) ⇒ Wx::Point2DDouble

Parameters:

Returns:



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

def +(pt) end

#-Wx::Point2DDouble

Returns:



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

def -(pt) end

#/(v) ⇒ Wx::Point2DDouble

Parameters:

Returns:



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

def /(v) end

#==(pt) ⇒ Boolean

Parameters:

Returns:

  • (Boolean)


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

def ==(pt) end

#add!(pt) ⇒ self

Parameters:

Returns:

  • (self)


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

def add!(pt) end

#assign(pt) ⇒ self

Parameters:

Returns:

  • (self)


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

def assign(pt) end

#div!(v) ⇒ self

Parameters:

Returns:

  • (self)


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

def div!(v) end

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

Parameters:

Returns:

  • (Float)


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

def get_cross_product(vec) end

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

Parameters:

Returns:

  • (Float)


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

def get_distance(pt) end

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

Parameters:

Returns:

  • (Float)


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

def get_distance_square(pt) end

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

Parameters:

Returns:

  • (Float)


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

def get_dot_product(vec) end

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

Returns:

  • (Array(Integer,Integer))


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

def get_floor; end

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

Returns:

  • (Array(Integer,Integer))


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

def get_rounded; end

#get_vector_angleFloat Also known as: vector_angle

Returns:

  • (Float)


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

def get_vector_angle; end

#get_vector_lengthFloat Also known as: vector_length

Returns:

  • (Float)


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

def get_vector_length; end

#get_xInteger Also known as: x

Returns:

  • (Integer)


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

def get_x; end

#get_yInteger Also known as: y

Returns:

  • (Integer)


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

def get_y; end

#mul!(v) ⇒ self

Parameters:

Returns:

  • (self)


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

def mul!(v) end

#normalizevoid

This method returns an undefined value.



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

def normalize; end

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

This method returns an undefined value.

Parameters:

  • degrees (Float)


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

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)


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

def set_vector_length(length) end

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

Parameters:

  • v (Integer)

Returns:

  • (Integer)


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

def set_x(v) end

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

Parameters:

  • v (Integer)

Returns:

  • (Integer)


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

def set_y(v) end

#sub!(pt) ⇒ self

Parameters:

Returns:

  • (self)


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

def sub!(pt) end