Parallelogram contains Point

Hi

What would be the fastest way to check whether a point P is inside a Parrallelogram(A, B, C, D). Please bare in mind that the Parrallologram could have vertical lines -> slope=infinity.

Thanks in Advance :smiley: