Class: Wx::Point2DInt
- Inherits:
-
Object
- Object
- Wx::Point2DInt
- 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!
Instance Method Summary collapse
- #*(v) ⇒ Wx::Point2DInt
- #+(pt) ⇒ Wx::Point2DInt
- #- ⇒ Wx::Point2DInt
- #/(v) ⇒ Wx::Point2DInt
- #==(pt) ⇒ Boolean
- #add!(pt) ⇒ self
- #assign(pt) ⇒ self
- #div!(v) ⇒ self
- #get_cross_product(vec) ⇒ Integer (also: #cross_product)
- #get_distance(pt) ⇒ Float (also: #distance)
- #get_distance_square(pt) ⇒ Float (also: #distance_square)
- #get_dot_product(vec) ⇒ Integer (also: #dot_product)
- #get_floor ⇒ Array(Integer,Integer) (also: #floor)
- #get_rounded ⇒ Array(Integer,Integer) (also: #rounded)
- #get_vector_angle ⇒ Float (also: #vector_angle)
- #get_vector_length ⇒ Float (also: #vector_length)
- #get_x ⇒ Integer (also: #x)
- #get_y ⇒ Integer (also: #y)
-
#initialize(*args) ⇒ Point2DInt
constructor
A new instance of Point2DInt.
- #mul!(v) ⇒ self
- #normalize ⇒ void
- #set_vector_angle(degrees) ⇒ void (also: #vector_angle=)
- #set_vector_length(length) ⇒ void (also: #vector_length=)
- #set_x(v) ⇒ Integer (also: #x=)
- #set_y(v) ⇒ Integer (also: #y=)
- #sub!(pt) ⇒ self
Constructor Details
#initialize ⇒ Wx::Point2DInt #initialize(x, y) ⇒ Wx::Point2DInt #initialize(pt) ⇒ Wx::Point2DInt #initialize(pt) ⇒ Wx::Point2DInt
Returns a new instance of Point2DInt.
59 |
# File 'lib/wx/doc/gen/geometry.rb', line 59 def initialize(*args) end |
Instance Method Details
#==(pt) ⇒ Boolean
115 |
# File 'lib/wx/doc/gen/geometry.rb', line 115 def ==(pt) end |
#add!(pt) ⇒ self
49 |
# File 'lib/wx/doc/geometry.rb', line 49 def add!(pt) end |
#assign(pt) ⇒ self
45 |
# File 'lib/wx/doc/geometry.rb', line 45 def assign(pt) end |
#div!(v) ⇒ self
61 |
# File 'lib/wx/doc/geometry.rb', line 61 def div!(v) end |
#get_cross_product(vec) ⇒ Integer Also known as: cross_product
107 |
# File 'lib/wx/doc/gen/geometry.rb', line 107 def get_cross_product(vec) end |
#get_distance(pt) ⇒ Float Also known as: distance
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
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
102 |
# File 'lib/wx/doc/gen/geometry.rb', line 102 def get_dot_product(vec) end |
#get_floor ⇒ Array(Integer,Integer) Also known as: floor
62 |
# File 'lib/wx/doc/gen/geometry.rb', line 62 def get_floor; end |
#get_rounded ⇒ Array(Integer,Integer) Also known as: rounded
66 |
# File 'lib/wx/doc/gen/geometry.rb', line 66 def get_rounded; end |
#get_vector_angle ⇒ Float Also known as: vector_angle
74 |
# File 'lib/wx/doc/gen/geometry.rb', line 74 def get_vector_angle; end |
#get_vector_length ⇒ Float Also known as: vector_length
70 |
# File 'lib/wx/doc/gen/geometry.rb', line 70 def get_vector_length; end |
#get_x ⇒ Integer Also known as: x
28 |
# File 'lib/wx/doc/geometry.rb', line 28 def get_x; end |
#get_y ⇒ Integer Also known as: y
36 |
# File 'lib/wx/doc/geometry.rb', line 36 def get_y; end |
#mul!(v) ⇒ self
57 |
# File 'lib/wx/doc/geometry.rb', line 57 def mul!(v) end |
#normalize ⇒ void
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.
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.
79 |
# File 'lib/wx/doc/gen/geometry.rb', line 79 def set_vector_length(length) end |
#set_x(v) ⇒ Integer Also known as: x=
32 |
# File 'lib/wx/doc/geometry.rb', line 32 def set_x(v) end |
#set_y(v) ⇒ Integer Also known as: y=
40 |
# File 'lib/wx/doc/geometry.rb', line 40 def set_y(v) end |
#sub!(pt) ⇒ self
53 |
# File 'lib/wx/doc/geometry.rb', line 53 def sub!(pt) end |