BoundingRectangle 클래스

Summary:

Module: aspose.gis.common

Full Name: aspose.gis.common.BoundingRectangle

Aspose.PSD Version: 25.9.0

Constructors

NameDescription
BoundingRectangle()BoundingRectangle 클래스의 새 인스턴스를 초기화합니다.
BoundingRectangle(x_min, y_min, x_max, y_max)BoundingRectangle 클래스의 새 인스턴스를 초기화합니다.

Properties

NameTypeAccessDescription
면적doubler
centerCoordinater
has_valuesboolr
높이doubler
max_coordinateCoordinater
min_coordinateCoordinater
widthdoubler
x_maxdoubler/w
x_mindoubler/w
y_maxdoubler/w
y_mindoubler/w

Methods

NameDescription
clone()현재 인스턴스의 복사본인 새 객체를 생성합니다.
contains(c)
contains(other)
contains(x, y)
contains_x(x)
contains_y(y)
distance(coordinate)
distance(other)
distance(x, y)
grow(c)
grow(other)
grow(x, y)
grow_x(x)
grow_y(y)
intersection(other)
intersects(other)
squared_distance(c)
squared_distance(other)
squared_distance(x, y)

Constructor: BoundingRectangle()

 BoundingRectangle() 

BoundingRectangle 클래스의 새 인스턴스를 초기화합니다.

Constructor: BoundingRectangle(x_min, y_min, x_max, y_max)

 BoundingRectangle(x_min, y_min, x_max, y_max) 

BoundingRectangle 클래스의 새 인스턴스를 초기화합니다.

Parameters:

매개변수형식설명
x_mindouble
y_mindouble
x_maxdouble
y_maxdouble

Method: clone()

 clone() 

현재 인스턴스의 복사본인 새 객체를 생성합니다.

Returns

형식설명
BoundingRectangle

Method: contains(c)

 contains(c) 

Parameters:

매개변수형식설명
cCoordinate

Returns

형식설명
bool

Method: contains(other)

 contains(other) 

Parameters:

매개변수형식설명
otherBoundingRectangle

Returns

형식설명
bool

Method: contains(x, y)

 contains(x, y) 

Parameters:

매개변수형식설명
xdouble
ydouble

Returns

형식설명
bool

Method: contains_x(x)

 contains_x(x) 

Parameters:

매개변수형식설명
xdouble

Returns

형식설명
bool

Method: contains_y(y)

 contains_y(y) 

Parameters:

매개변수형식설명
ydouble

Returns

형식설명
bool

Method: distance(coordinate)

 distance(coordinate) 

Parameters:

매개변수형식설명
coordinateCoordinate

Returns

형식설명
double

Method: distance(other)

 distance(other) 

Parameters:

매개변수형식설명
otherBoundingRectangle

Returns

형식설명
double

Method: distance(x, y)

 distance(x, y) 

Parameters:

매개변수형식설명
xdouble
ydouble

Returns

형식설명
double

Method: intersection(other)

 intersection(other) 

Parameters:

매개변수형식설명
otherBoundingRectangle

Returns

형식설명
BoundingRectangle

Method: intersects(other)

 intersects(other) 

Parameters:

매개변수형식설명
otherBoundingRectangle

Returns

형식설명
bool

Method: squared_distance(c)

 squared_distance(c) 

Parameters:

매개변수형식설명
cCoordinate

Returns

형식설명
double

Method: squared_distance(other)

 squared_distance(other) 

Parameters:

매개변수형식설명
otherBoundingRectangle

Returns

형식설명
double

Method: squared_distance(x, y)

 squared_distance(x, y) 

Parameters:

매개변수형식설명
xdouble
ydouble

Returns

형식설명
double