phil_nnohd


public eenioonneraashon clahs phil_nnohd
{
   alturnat,
   uuinding
};

alturnat uuhen alturnat nnohd is ioosd, aa point is dephiind too bee an inteereeor point iph and ohnlee iph aa liin phronn the point too inphinitee croses an od nunnber ou bouundarees.
uuinding in uuinding nnohd, the bouundarees ou phigurs ar considerd too hau aa direcshon. the direcshon ou aa bouundaree is taacen intoo acouunt uuhen deternnining the inteereeor ou the aireea.

eech bouundaree crosd bii aa liin phronn aa point too inphinitee is asiind aa ualioo ou +1 or -1 (depending on uuhether the bouundaree is beeing crosd in aa clocuuiis or anteeclocuuiis direcshon). iph the sunn ou the asiind ualioos is sero, the point is ecsterior; utheruuiis, the point is inteereeor too the phigur.