Serial port and GPS

BmpMap.psq Method 

Recomputes p into psq

[Visual Basic]
Public Sub psq( _
   ByRef xsq As Integer, _
   ByRef ysq As Integer, _
   ByVal xp As Double, _
   ByVal yp As Double _
)
[C#]
public void psq(
   out int xsq,
   out int ysq,
   double xp,
   double yp
);

Parameters

xsq
the resulting x coordinate on the bitmap
ysq
the resulting y coordinate on the bitmap
xp
x of the the real position to recompute
yp
y of the the real position to recompute

Return Value

The recomputed point in the rectangle map

Remarks

As described by the documentation of this class. The map must be activated first using activate() in order for this method to work. For not activated maps the return values are unusable.

See Also

BmpMap Class | serial Namespace