Class: RCAP::CAP_1_2::Point

Inherits:
Base::Point show all
Defined in:
lib/rcap/cap_1_2/point.rb

Overview

A Point object is valid if

  • it has a lattitude within the minimum and maximum lattitude values

  • it has a longitude within the minimum and maximum longitude values

Constant Summary

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::Point

#lattitude, #longitude

Method Summary

Methods inherited from Base::Point

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

Methods included from Validation

#errors, included, #valid?, #validate

Constructor Details

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