Class: RCAP::CAP_1_0::Circle

Inherits:
Base::Circle show all
Defined in:
lib/rcap/cap_1_0/circle.rb

Overview

A Circle object is valid if

  • it has a valid lattitude and longitude

  • it has a radius with a value greater than zero

Constant Summary

Constant Summary

Constants inherited from Base::Circle

Base::Circle::RADIUS_INDEX, Base::Circle::RADIUS_KEY, Base::Circle::XML_ELEMENT_NAME, Base::Circle::XPATH

Constants inherited from Base::Point

Base::Point::LATTITUDE_INDEX, Base::Point::LATTITUDE_KEY, Base::Point::LONGITUDE_INDEX, Base::Point::LONGITUDE_KEY, Base::Point::MAX_LATTITUDE, Base::Point::MAX_LONGITUDE, Base::Point::MIN_LATTITUDE, Base::Point::MIN_LONGITUDE

Instance Attribute Summary

Attributes inherited from Base::Circle

#radius

Attributes inherited from Base::Point

#lattitude, #longitude

Method Summary

Methods inherited from Base::Circle

#==, from_a, from_h, from_xml_element, from_yaml_data, #initialize, #inspect, parse_circle_string, #to_a, #to_h, #to_s, #to_xml, #to_xml_element

Methods inherited from Base::Point

#==, from_a, from_h, #initialize, #inspect, #to_a, #to_h, #to_s

Constructor Details

This class inherits a constructor from RCAP::Base::Circle