sidesradiusthetaindexanglecosdresult
0180000(0,0)(0,0)(0,0)

Notice that if you are inside the polygon the result is positive.