Method ScreenToBaseSurface
ScreenToBaseSurface(Point)
Converts the specified screen coordinate, relative to the upper-left corner of the local scene view, to a location on the base surface in geographic coordinates.
Declaration
public MapPoint? ScreenToBaseSurface(Point screenPoint)
Parameters
| Type | Name | Description |
|---|---|---|
| Point | screenPoint | The screen coordinate to convert to a location on the base surface. The coordinate of the top left corner of the screen is 0,0. |
Returns
| Type | Description |
|---|---|
| MapPoint | A point on the base surface. |
Remarks
Note that the elevation value for the converted location is approximated, as the precision of the elevation value decreases with increasing distance between the camera and the surface.
This method returns null if the provided screen coordinate is outside the bounds of the current
screen or if its location does not intersect with the surface of the local scene.
To call this method, assign a local scene to the local scene view and ensure that it is loaded.
See Also
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET | 300 |
| .NET Windows | 300 |
| .NET Android | 300 |
| .NET iOS | 300 |