Class: Kamelopard::LookAt
- Inherits:
-
AbstractView
- Object
- Object
- AbstractView
- Kamelopard::LookAt
- Defined in:
- lib/kamelopard/classes.rb
Overview
Corresponds to KML’s LookAt object
Instance Attribute Summary
Attributes inherited from AbstractView
#altitudeMode, #className, #heading, #point, #range, #tilt, #timespan, #timestamp, #viewerOptions
Attributes inherited from Object
#comment, #kml_id, #master_only
Instance Method Summary collapse
-
#initialize(point = nil, options = {}) ⇒ LookAt
constructor
A new instance of LookAt.
- #roll ⇒ Object
- #roll=(a) ⇒ Object
Methods inherited from AbstractView
#[], #[]=, #altitude, #altitude=, #latitude, #latitude=, #longitude, #longitude=, #to_kml, #to_queries_txt
Methods inherited from Object
#_alternate_to_kml, #change, #master_only?, #to_kml
Constructor Details
Instance Method Details
#roll ⇒ Object
637 638 639 640 |
# File 'lib/kamelopard/classes.rb', line 637 def roll # The roll element doesn't exist in LookAt objects raise "The roll element is part of Camera objects, not LookAt objects" end |
#roll=(a) ⇒ Object
642 643 644 645 |
# File 'lib/kamelopard/classes.rb', line 642 def roll=(a) # The roll element doesn't exist in LookAt objects raise "The roll element is part of Camera objects, not LookAt objects" end |