Classes | |
class | PolygonArrayToRectBoxArray |
Functions | |
def | angle_between_vectors (v1, v2, normalize=True, directed=True) |
def | cross_product (a, b) |
def | minimum_rotated_rectangle (polygon) |
def | outer_product_matrix (v) |
def | rotate_points (points, a, b) |
def | rotation_matrix_from_axis (first_axis=(1, 0, 0), second_axis=(0, 1, 0), axes='xy') |
Variables | |
act = PolygonArrayToRectBoxArray() | |
minimum_rotated_rectangle | |
def polygon_array_to_box_array.angle_between_vectors | ( | v1, | |
v2, | |||
normalize = True , |
|||
directed = True |
|||
) |
Definition at line 88 of file polygon_array_to_box_array.py.
def polygon_array_to_box_array.cross_product | ( | a, | |
b | |||
) |
Definition at line 23 of file polygon_array_to_box_array.py.
def polygon_array_to_box_array.minimum_rotated_rectangle | ( | polygon | ) |
Returns the general minimum bounding rectangle of the geometry. Can possibly be rotated. If the convex hull of the object is a degenerate (line or point) this same degenerate is returned.
Definition at line 35 of file polygon_array_to_box_array.py.
def polygon_array_to_box_array.outer_product_matrix | ( | v | ) |
Definition at line 17 of file polygon_array_to_box_array.py.
def polygon_array_to_box_array.rotate_points | ( | points, | |
a, | |||
b | |||
) |
Definition at line 97 of file polygon_array_to_box_array.py.
def polygon_array_to_box_array.rotation_matrix_from_axis | ( | first_axis = (1, 0, 0) , |
|
second_axis = (0, 1, 0) , |
|||
axes = 'xy' |
|||
) |
Definition at line 69 of file polygon_array_to_box_array.py.
polygon_array_to_box_array.act = PolygonArrayToRectBoxArray() |
Definition at line 235 of file polygon_array_to_box_array.py.
polygon_array_to_box_array.minimum_rotated_rectangle |
Definition at line 67 of file polygon_array_to_box_array.py.