Class: RCAP::CAP_1_1::Polygon
- Inherits:
-
Base::Polygon
- Object
- Base::Polygon
- RCAP::CAP_1_1::Polygon
- Defined in:
- lib/rcap/cap_1_1/polygon.rb
Overview
A Polygon object is valid if
-
it has a minimum of three points
-
each Point object in the points collection is valid
Constant Summary
Constant Summary
Constants inherited from Base::Polygon
Base::Polygon::POINTS_KEY, Base::Polygon::XML_ELEMENT_NAME, Base::Polygon::XPATH
Instance Attribute Summary
Attributes inherited from Base::Polygon
Instance Method Summary (collapse)
Methods inherited from Base::Polygon
#==, #add_point, from_h, from_xml_element, from_yaml_data, #initialize, #inspect, parse_polygon_string, #to_h, #to_s, #to_xml, #to_xml_element, #to_yaml
Constructor Details
This class inherits a constructor from RCAP::Base::Polygon
Instance Method Details
- (Class) point_class
10 11 12 |
# File 'lib/rcap/cap_1_1/polygon.rb', line 10 def point_class Point end |