StiGisRectLatLng Struct
Namespace: Stimulsoft.Map.Gis.Core
Constructors
| Constructor | Description |
|---|---|
| StiGisRectLatLng(StiGisPointLatLng location, StiGisSizeLatLng size) | |
| StiGisRectLatLng(double lat, double lng, double widthLng, double heightLat) |
StiGisRectLatLng(location: StiGisPointLatLng, size: StiGisSizeLatLng)
Parameters
- location (StiGisPointLatLng)
- size (StiGisSizeLatLng)
StiGisRectLatLng(lat: double, lng: double, widthLng: double, heightLat: double)
Parameters
- lat (double)
- lng (double)
- widthLng (double)
- heightLat (double)
Properties
| Property | Type | Description |
|---|---|---|
| HeightLat | double | |
| Lat | double | |
| Lng | double | |
| WidthLng | double |
Methods
| Method | Returns | Description |
|---|---|---|
| Contains (+1 overloads) | bool | |
| Equals | bool | |
FromLTRB static |
StiGisRectLatLng | |
| GetHashCode | int | |
| ToString | string |
Method Details
Contains
Contains(lat: double, lng: double): bool
Parameters
- lat (double)
- lng (double)
Returns bool
Contains(pt: StiGisPointLatLng): bool
Parameters
- pt (StiGisPointLatLng)
Returns bool
Equals
Equals(obj: object): bool
Parameters
- obj (object)
Returns bool
FromLTRB static
FromLTRB(leftLng: double, topLat: double, rightLng: double, bottomLat: double): StiGisRectLatLng
Parameters
- leftLng (double)
- topLat (double)
- rightLng (double)
- bottomLat (double)
Returns StiGisRectLatLng
GetHashCode
GetHashCode(): int
Returns int
ToString
ToString(): string
Returns string
Fields
| Field | Type | Description |
|---|---|---|
| Empty | StiGisRectLatLng |