Class: VORuby::STC::V1_30::ShapeType
- Inherits:
-
RegionType
- Object
- STCBaseType
- CoordIntervalType
- SpatialIntervalType
- RegionType
- VORuby::STC::V1_30::ShapeType
- Defined in:
- lib/voruby/stc/1.30/stc.rb
Overview
Shape is the abstract type that is the building block of regions; in real life it needs to be replaced by a concrete shape.
Direct Known Subclasses
AllSkyType, BoxType, CircleType, ConvexHullType, ConvexType, EllipseType, PolygonType, SectorType, SkyIndexType
Instance Attribute Summary
Attributes inherited from RegionType
#area, #coord_system_id, #note
Attributes inherited from SpatialIntervalType
Attributes inherited from CoordIntervalType
#fill_factor, #frame_id, #hi_include, #lo_include
Attributes included from STCReference
#id, #idref, #ucd, #xlink_href, #xlink_type
Class Method Summary collapse
Methods inherited from RegionType
#==, from_xml, #initialize, region_from_xml, #to_xml
Methods inherited from SpatialIntervalType
#==, from_xml, spatial_interval_from_xml, #to_xml
Methods inherited from CoordIntervalType
#==, coord_interval_from_xml, from_xml, #hi_include?, #initialize, #lo_include?, #to_xml
Methods inherited from STCBaseType
#==, #initialize, stc_base_from_xml, #to_xml
Methods included from STCReference
#stc_reference_eq, stc_reference_from_xml, #stc_reference_to_xml
Methods included from SerializableToXml
Constructor Details
This class inherits a constructor from VORuby::STC::V1_30::RegionType
Class Method Details
.shape_from_xml(root) ⇒ Object
5280 5281 5282 |
# File 'lib/voruby/stc/1.30/stc.rb', line 5280 def self.shape_from_xml(root) RegionType.region_from_xml(root) end |