
**Summary:** 

**Module:** [aspose.gis.common](/psd/python-net/aspose.gis.common/)

**Full Name:** aspose.gis.common.Coordinate

**Aspose.PSD Version:** 25.9.0

## **Constructors**
| **Name** | **Description** |
| :- | :- |
| [Coordinate()](#Coordinate__1) | Initializes a new instance of the Coordinate class |
| [Coordinate(x, y)](#Coordinate_x_y_2) | Initializes a new instance of the Coordinate class |
## **Properties**
| **Name** | **Type** | **Access** | **Description** |
| :- | :- | :- | :- |
| max_value [static] | [Coordinate](/psd/python-net/aspose.gis.common/coordinate) | r |    |
| min_value [static] | [Coordinate](/psd/python-net/aspose.gis.common/coordinate) | r |    |
| x | double | r |    |
| y | double | r |    |
## **Methods**
| **Name** | **Description** |
| :- | :- |
| [compare_to(other)](#compare_to_other_1) |    |
| [distance_to(other)](#distance_to_other_2) |    |
| [nearly_equal(other)](#nearly_equal_other_3) |    |


### Constructor: Coordinate() {#Coordinate__1}


```
 Coordinate() 
```

Initializes a new instance of the Coordinate class

### Constructor: Coordinate(x, y) {#Coordinate_x_y_2}


```
 Coordinate(x, y) 
```

Initializes a new instance of the Coordinate class

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| x | double |  |
| y | double |  |

### Method: compare_to(other) {#compare_to_other_1}


```
 compare_to(other) 
```

  

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| other | [Coordinate](/psd/python-net/aspose.gis.common/coordinate) |  |

**Returns**

| Type | Description |
| :- | :- |
| int |  |


### Method: distance_to(other) {#distance_to_other_2}


```
 distance_to(other) 
```

  

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| other | [Coordinate](/psd/python-net/aspose.gis.common/coordinate) |  |

**Returns**

| Type | Description |
| :- | :- |
| double |  |


### Method: nearly_equal(other) {#nearly_equal_other_3}


```
 nearly_equal(other) 
```

  

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| other | [Coordinate](/psd/python-net/aspose.gis.common/coordinate) |  |

**Returns**

| Type | Description |
| :- | :- |
| bool |  |


