Coordinate Class
Contents
[
Hide
]Summary:
Module: aspose.gis.common
Full Name: aspose.gis.common.Coordinate
Aspose.PSD Version: 25.9.0
Constructors
| Name | Description |
|---|---|
| Coordinate() | Initializes a new instance of the Coordinate class |
| Coordinate(x, y) | Initializes a new instance of the Coordinate class |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| max_value [static] | Coordinate | r | |
| min_value [static] | Coordinate | r | |
| x | double | r | |
| y | double | r |
Methods
| Name | Description |
|---|---|
| compare_to(other) | |
| distance_to(other) | |
| nearly_equal(other) |
Constructor: Coordinate()
Coordinate()
Initializes a new instance of the Coordinate class
Constructor: Coordinate(x, y)
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)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| other | Coordinate |
Returns
| Type | Description |
|---|---|
| int |
Method: distance_to(other)
distance_to(other)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| other | Coordinate |
Returns
| Type | Description |
|---|---|
| double |
Method: nearly_equal(other)
nearly_equal(other)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| other | Coordinate |
Returns
| Type | Description |
|---|---|
| bool |