Class GpxBoundingBox
Represents two lat/lon pairs defining the extent of an element.
Inherited Members
Namespace: NetTopologySuite.IO
Assembly: NetTopologySuite.IO.GPX.dll
Syntax
public sealed class GpxBoundingBox : ICanWriteToXmlWriterRemarks
In the official XSD schema for GPX 1.1, this corresponds to the complex type "boundsType".
Constructors
| Improve this Doc View SourceGpxBoundingBox(GpxLongitude, GpxLatitude, GpxLongitude, GpxLatitude)
Initializes a new instance of the GpxBoundingBox class.
Declaration
public GpxBoundingBox(GpxLongitude minLongitude, GpxLatitude minLatitude, GpxLongitude maxLongitude, GpxLatitude maxLatitude)Parameters
| Type | Name | Description | 
|---|---|---|
| GpxLongitude | minLongitude | The value for MinLongitude. | 
| GpxLatitude | minLatitude | The value for MinLatitude. | 
| GpxLongitude | maxLongitude | The value for MaxLongitude. | 
| GpxLatitude | maxLatitude | The value for MaxLatitude. | 
Fields
| Improve this Doc View SourceEntireWgs84Bounds
Represents the entire WGS-84 bounds, as near as it can be represented in GPX.
Declaration
public static readonly GpxBoundingBox EntireWgs84BoundsField Value
| Type | Description | 
|---|---|
| GpxBoundingBox | 
Properties
| Improve this Doc View SourceMaxLatitude
Gets the maximum GpxLatitude value.
Declaration
public GpxLatitude MaxLatitude { get; }Property Value
| Type | Description | 
|---|---|
| GpxLatitude | 
Remarks
In the official XSD schema for GPX 1.1, this corresponds to the "maxlat" attribute.
MaxLongitude
Gets the maximum GpxLongitude value.
Declaration
public GpxLongitude MaxLongitude { get; }Property Value
| Type | Description | 
|---|---|
| GpxLongitude | 
Remarks
In the official XSD schema for GPX 1.1, this corresponds to the "maxlon" attribute.
MinLatitude
Gets the minimum GpxLatitude value.
Declaration
public GpxLatitude MinLatitude { get; }Property Value
| Type | Description | 
|---|---|
| GpxLatitude | 
Remarks
In the official XSD schema for GPX 1.1, this corresponds to the "minlat" attribute.
MinLongitude
Gets the minimum GpxLongitude value.
Declaration
public GpxLongitude MinLongitude { get; }Property Value
| Type | Description | 
|---|---|
| GpxLongitude | 
Remarks
In the official XSD schema for GPX 1.1, this corresponds to the "minlon" attribute.
Methods
| Improve this Doc View SourceEquals(Object)
Declaration
public override bool Equals(object obj)Parameters
| Type | Name | Description | 
|---|---|---|
| Object | obj | 
Returns
| Type | Description | 
|---|---|
| Boolean | 
Overrides
| Improve this Doc View SourceGetHashCode()
Declaration
public override int GetHashCode()Returns
| Type | Description | 
|---|---|
| Int32 | 
Overrides
| Improve this Doc View SourceToString()
Declaration
public override string ToString()Returns
| Type | Description | 
|---|---|
| String |