lib/aixm/component/geometry.rb in aixm-0.3.11 vs lib/aixm/component/geometry.rb in aixm-1.0.0

- old
+ new

@@ -29,19 +29,21 @@ class Geometry include AIXM::Association # @!method segments # @return [Array<AIXM::Component::Geometry::Point, + # AIXM::Component::Geometry::RhumbLine # AIXM::Component::Geometry::Arc, - # AIXM::Component::Geometry::Border, - # AIXM::Component::Geometry::Circle>] points, arcs, borders or circle + # AIXM::Component::Geometry::Circle, + # AIXM::Component::Geometry::Border>] points, rhumb lines, arcs, borders or circle # @!method add_segment(segment) # @param segment [AIXM::Component::Geometry::Point, + # AIXM::Component::Geometry::RhumbLine, # AIXM::Component::Geometry::Arc, - # AIXM::Component::Geometry::Border, - # AIXM::Component::Geometry::Circle] + # AIXM::Component::Geometry::Circle, + # AIXM::Component::Geometry::Border] # @return [self] - has_many :segments, accept: %i(point arc border circle) + has_many :segments, accept: %i(point rhumb_line arc circle border) # @!method airspace # @return [AIXM::Feature::Airspace] airspace the geometry defines belongs_to :airspace