# Region file format: DS9 version 4.1
global color=green dashlist=8 3 width=1 font="helvetica 10 normal roman" select=1 highlite=1 dash=0 fixed=0 edit=1 move=1 delete=1 include=1 source=1
fk5

# The polygons below were created manually. They create areas around each of the image points.
# The comments below contain the corresponding 0-based pixel coordinates.

# The 'point' values are artifical values, for testing DS9FacetFile only.
# These points are selected such that they coincide with one of the vertices that
# are not located on the boundary.

# Ra+dec@(400,64). Polygon is (379,-9) (377,91) (548,95) (551,-5).
polygon(23.0,30.5, 23.0,31.5, 21.0,31.5, 21.0,30.5) # text=CygA
point(23.0,31.5)

# Ra@(400,256). Polygon is (364,129) (366,301) (541,305) (547,128).
polygon(23.15,31.88, 23.10,33.6, 21.0,33.6, 21.0,31.83) # text=CygAO
point(23.10,33.6)

# Dec@(256,64). Polygon is (128,-9) (128,128) (384,128) (384,-9).
polygon(25.91,30.5, 25.93,31.87, 22.92,31.87, 22.94,30.5) # text=CygTJ
# Test that the reader uses the last point when supplying multiple.
point(0, 0)
point(22.92,31.87)

# Center@(256,256). Polygon is (160,160) (160,352) (352,352) (352,160).
polygon(25.56,32.19 25.58,34.11, 23.26,34.11, 23.29,32.19)
# No explicit point -> RA() and Dec() should be nan.

# For debugging: Region that covers everything.
#polygon(33.0,27.0, 33.0,40.0, 17.0,40.0, 17.0,27.0)
