Serial port and GPS

BmpMap.isPointInside Method 

Checks if the given point is inside of the map

[Visual Basic]
Public Function isPointInside( _
   ByVal x As Double, _
   ByVal y As Double _
) As Boolean
[C#]
public bool isPointInside(
   double x,
   double y
);

Parameters

x
the coordinate x of the point to check
y
the coordinate y of the point to check

Return Value

true, if the point is located within the map, false else.

Remarks

The point is inside of the map area, if it is below the upper line and above the bottom line and if if is on the lefthand side of the right line and on the righthand side of the left line (or if it is max. located on one of the lines).

See Also

BmpMap Class | serial Namespace