CircularArc Class
Contents
[
Hide
]Summary:
Module: aspose.gis.common
Full Name: aspose.gis.common.CircularArc
Aspose.PSD Version: 25.9.0
Constructors
| Name | Description |
|---|---|
| CircularArc() | Initializes a new instance of the CircularArc class |
| CircularArc(start, mid, end) | Initializes a new instance of the CircularArc class |
| CircularArc(x0, y0, x1, y1, x2, y2) | Initializes a new instance of the CircularArc class |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| circle_center | Coordinate | r | |
| end | Coordinate | r | |
| is_circle | bool | r | |
| is_clockwise | bool | r | |
| is_line | bool | r | |
| is_minor | bool | r | |
| is_point | bool | r | |
| length | double | r | |
| mid | Coordinate | r | |
| radius | double | r | |
| start | Coordinate | r |
Methods
| Name | Description |
|---|---|
| equal(other) | |
| from_center(center, radius, start_angle_rad, end_angle_rad, clockwise) | |
| from_center(center, start, end, clockwise) | |
| get_coordinate(angle) | |
| get_normalized_angles(start_angle, mid_angle, end_angle) | |
| grow_bounding_rectangle(brect) | |
| linearize(result, tolerance, add_endpoints) | |
| linearize(result, tolerance, add_endpoints, index_of_mid) |
Constructor: CircularArc()
CircularArc()
Initializes a new instance of the CircularArc class
Constructor: CircularArc(start, mid, end)
CircularArc(start, mid, end)
Initializes a new instance of the CircularArc class
Parameters:
| Parameter | Type | Description |
|---|---|---|
| start | Coordinate | |
| mid | Coordinate | |
| end | Coordinate |
Constructor: CircularArc(x0, y0, x1, y1, x2, y2)
CircularArc(x0, y0, x1, y1, x2, y2)
Initializes a new instance of the CircularArc class
Parameters:
| Parameter | Type | Description |
|---|---|---|
| x0 | double | |
| y0 | double | |
| x1 | double | |
| y1 | double | |
| x2 | double | |
| y2 | double |
Method: equal(other)
equal(other)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| other | CircularArc |
Returns
| Type | Description |
|---|---|
| bool |
Method: from_center(center, radius, start_angle_rad, end_angle_rad, clockwise) [static]
from_center(center, radius, start_angle_rad, end_angle_rad, clockwise)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| center | Coordinate | |
| radius | double | |
| start_angle_rad | double | |
| end_angle_rad | double | |
| clockwise | bool |
Returns
| Type | Description |
|---|---|
| CircularArc |
Method: from_center(center, start, end, clockwise) [static]
from_center(center, start, end, clockwise)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| center | Coordinate | |
| start | Coordinate | |
| end | Coordinate | |
| clockwise | bool |
Returns
| Type | Description |
|---|---|
| CircularArc |
Method: get_coordinate(angle)
get_coordinate(angle)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| angle | double |
Returns
| Type | Description |
|---|---|
| Coordinate |