Class: VORuby::STCregion::V1_20::Polygon

Inherits:
Object
  • Object
show all
Includes:
XML::Mapping
Defined in:
lib/voruby/stc/region_v1_20.rb,
lib/voruby/stc/region_v1_20.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.