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= ⇒ 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
#range ⇒ Object
622 623 624 |
# File 'lib/kamelopard/classes.rb', line 622 def range raise "The range element is part of LookAt objects, not Camera objects" end |
#range= ⇒ Object
626 627 628 |
# File 'lib/kamelopard/classes.rb', line 626 def range= # The range element doesn't exist in Camera objects end |