Coordinate Class

Summary:

Module: aspose.gis.common

Full Name: aspose.gis.common.Coordinate

Aspose.PSD Version: 25.9.0

Constructors

NameDescription
Coordinate()Initializes a new instance of the Coordinate class
Coordinate(x, y)Initializes a new instance of the Coordinate class

Properties

NameTypeAccessDescription
max_value [static]Coordinater
min_value [static]Coordinater
xdoubler
ydoubler

Methods

NameDescription
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:

ParameterTypeDescription
xdouble
ydouble

Method: compare_to(other)

 compare_to(other) 

Parameters:

ParameterTypeDescription
otherCoordinate

Returns

TypeDescription
int

Method: distance_to(other)

 distance_to(other) 

Parameters:

ParameterTypeDescription
otherCoordinate

Returns

TypeDescription
double

Method: nearly_equal(other)

 nearly_equal(other) 

Parameters:

ParameterTypeDescription
otherCoordinate

Returns

TypeDescription
bool