Pergunta de entrevista da empresa Detroit Engineered Products

Polymorphism from c++. How will you fid wheather a dot is inside or outside a polygon?