Class: VORuby::STC::V1_30::Polygon
- Inherits:
-
PolygonType
- Object
- STCBaseType
- CoordIntervalType
- SpatialIntervalType
- RegionType
- ShapeType
- PolygonType
- VORuby::STC::V1_30::Polygon
- Includes:
- Region
- Defined in:
- lib/voruby/stc/1.30/stc.rb
Overview
A polygon is a shape delineated by a list of vertices connected with lines, great circles, or small circles; the inside of the polygon is circumscribed counter-clockwise by the list of vertices; the polygon may be concave but not self-intersecting; the last vertex in the list is the predecessor of the first. For celestial coordinates it is assumed that we are looking at the sphere from the inside, with Right Ascension increasing to the left. Sides should span less than 180 deg in each coordinate.
Instance Attribute Summary
Attributes inherited from PolygonType
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
Method Summary
Methods inherited from PolygonType
#==, from_xml, #initialize, #to_s, #to_xml
Methods inherited from ShapeType
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::PolygonType