BoundingRectangle 클래스
내용물
[
숨다
]Summary:
Module: aspose.gis.common
Full Name: aspose.gis.common.BoundingRectangle
Aspose.PSD Version: 25.9.0
Constructors
| Name | Description |
|---|---|
| BoundingRectangle() | BoundingRectangle 클래스의 새 인스턴스를 초기화합니다. |
| BoundingRectangle(x_min, y_min, x_max, y_max) | BoundingRectangle 클래스의 새 인스턴스를 초기화합니다. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| 면적 | double | r | |
| center | Coordinate | r | |
| has_values | bool | r | |
| 높이 | double | r | |
| max_coordinate | Coordinate | r | |
| min_coordinate | Coordinate | r | |
| width | double | r | |
| x_max | double | r/w | |
| x_min | double | r/w | |
| y_max | double | r/w | |
| y_min | double | r/w |
Methods
| Name | Description |
|---|---|
| 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_min | double | |
| y_min | double | |
| x_max | double | |
| y_max | double |
Method: clone()
clone()
현재 인스턴스의 복사본인 새 객체를 생성합니다.
Returns
| 형식 | 설명 |
|---|---|
| BoundingRectangle |
Method: contains(c)
contains(c)
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| c | Coordinate |
Returns
| 형식 | 설명 |
|---|---|
| bool |
Method: contains(other)
contains(other)
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| other | BoundingRectangle |
Returns
| 형식 | 설명 |
|---|---|
| bool |
Method: contains(x, y)
contains(x, y)
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| x | double | |
| y | double |
Returns
| 형식 | 설명 |
|---|---|
| bool |
Method: contains_x(x)
contains_x(x)
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| x | double |
Returns
| 형식 | 설명 |
|---|---|
| bool |
Method: contains_y(y)
contains_y(y)
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| y | double |
Returns
| 형식 | 설명 |
|---|---|
| bool |
Method: distance(coordinate)
distance(coordinate)
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| coordinate | Coordinate |
Returns
| 형식 | 설명 |
|---|---|
| double |
Method: distance(other)
distance(other)
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| other | BoundingRectangle |
Returns
| 형식 | 설명 |
|---|---|
| double |
Method: distance(x, y)
distance(x, y)
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| x | double | |
| y | double |
Returns
| 형식 | 설명 |
|---|---|
| double |
Method: intersection(other)
intersection(other)
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| other | BoundingRectangle |
Returns
| 형식 | 설명 |
|---|---|
| BoundingRectangle |
Method: intersects(other)
intersects(other)
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| other | BoundingRectangle |
Returns
| 형식 | 설명 |
|---|---|
| bool |
Method: squared_distance(c)
squared_distance(c)
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| c | Coordinate |
Returns
| 형식 | 설명 |
|---|---|
| double |
Method: squared_distance(other)
squared_distance(other)
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| other | BoundingRectangle |
Returns
| 형식 | 설명 |
|---|---|
| double |
Method: squared_distance(x, y)
squared_distance(x, y)
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| x | double | |
| y | double |
Returns
| 형식 | 설명 |
|---|---|
| double |