Class: Wx::Point2DDouble
- Inherits:
-
Object
- Object
- Wx::Point2DDouble
- 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::Point2DDouble
- #+(pt) ⇒ Wx::Point2DDouble
- #- ⇒ Wx::Point2DDouble
- #/(v) ⇒ Wx::Point2DDouble
- #==(pt) ⇒ Boolean
- #add!(pt) ⇒ self
- #assign(pt) ⇒ self
- #div!(v) ⇒ self
- #get_cross_product(vec) ⇒ Float (also: #cross_product)
- #get_distance(pt) ⇒ Float (also: #distance)
- #get_distance_square(pt) ⇒ Float (also: #distance_square)
- #get_dot_product(vec) ⇒ Float (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) ⇒ Point2DDouble
constructor
A new instance of Point2DDouble.
- #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::Point2DDouble #initialize(x, y) ⇒ Wx::Point2DDouble #initialize(pt) ⇒ Wx::Point2DDouble #initialize(pt) ⇒ Wx::Point2DDouble #initialize(pt) ⇒ Wx::Point2DDouble
Returns a new instance of Point2DDouble.
143 |
# File 'lib/wx/doc/gen/geometry.rb', line 143 def initialize(*args) end |
Instance Method Details
#==(pt) ⇒ Boolean
199 |
# File 'lib/wx/doc/gen/geometry.rb', line 199 def ==(pt) end |
#add!(pt) ⇒ self
105 |
# File 'lib/wx/doc/geometry.rb', line 105 def add!(pt) end |
#assign(pt) ⇒ self
101 |
# File 'lib/wx/doc/geometry.rb', line 101 def assign(pt) end |
#div!(v) ⇒ self
117 |
# File 'lib/wx/doc/geometry.rb', line 117 def div!(v) end |
#get_cross_product(vec) ⇒ Float Also known as: cross_product
191 |
# File 'lib/wx/doc/gen/geometry.rb', line 191 def get_cross_product(vec) end |
#get_distance(pt) ⇒ Float Also known as: distance
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
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
186 |
# File 'lib/wx/doc/gen/geometry.rb', line 186 def get_dot_product(vec) end |
#get_floor ⇒ Array(Integer,Integer) Also known as: floor
146 |
# File 'lib/wx/doc/gen/geometry.rb', line 146 def get_floor; end |
#get_rounded ⇒ Array(Integer,Integer) Also known as: rounded
150 |
# File 'lib/wx/doc/gen/geometry.rb', line 150 def get_rounded; end |
#get_vector_angle ⇒ Float Also known as: vector_angle
158 |
# File 'lib/wx/doc/gen/geometry.rb', line 158 def get_vector_angle; end |
#get_vector_length ⇒ Float Also known as: vector_length
154 |
# File 'lib/wx/doc/gen/geometry.rb', line 154 def get_vector_length; end |
#get_x ⇒ Integer Also known as: x
84 |
# File 'lib/wx/doc/geometry.rb', line 84 def get_x; end |
#get_y ⇒ Integer Also known as: y
92 |
# File 'lib/wx/doc/geometry.rb', line 92 def get_y; end |
#mul!(v) ⇒ self
113 |
# File 'lib/wx/doc/geometry.rb', line 113 def mul!(v) end |
#normalize ⇒ void
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.
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.
163 |
# File 'lib/wx/doc/gen/geometry.rb', line 163 def set_vector_length(length) end |
#set_x(v) ⇒ Integer Also known as: x=
88 |
# File 'lib/wx/doc/geometry.rb', line 88 def set_x(v) end |
#set_y(v) ⇒ Integer Also known as: y=
96 |
# File 'lib/wx/doc/geometry.rb', line 96 def set_y(v) end |
#sub!(pt) ⇒ self
109 |
# File 'lib/wx/doc/geometry.rb', line 109 def sub!(pt) end |