Class: Kamelopard::Camera
- Inherits:
-
AbstractView
- Object
- Object
- AbstractView
- Kamelopard::Camera
- Defined in:
- lib/kamelopard/classes.rb
Overview
Corresponds to KML’s Camera object
Instance Attribute Summary
Attributes inherited from AbstractView
#altitudeMode, #className, #heading, #point, #roll, #tilt, #timespan, #timestamp, #viewerOptions
Attributes inherited from Object
#comment, #kml_id, #master_only
Instance Method Summary collapse
-
#initialize(point = nil, options = {}) ⇒ Camera
constructor
A new instance of Camera.
- #range ⇒ Object
- #range=(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?, parse, #to_kml
Constructor Details
Instance Method Details
#range ⇒ Object
702 703 704 |
# File 'lib/kamelopard/classes.rb', line 702 def range raise "The range element is part of LookAt objects, not Camera objects" end |
#range=(a) ⇒ Object
706 707 708 |
# File 'lib/kamelopard/classes.rb', line 706 def range=(a) # The range element doesn't exist in Camera objects end |