Classes | Functions | Variables
polygon_array_to_box_array Namespace Reference

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
 

Function Documentation

◆ angle_between_vectors()

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.

◆ cross_product()

def polygon_array_to_box_array.cross_product (   a,
  b 
)

Definition at line 23 of file polygon_array_to_box_array.py.

◆ minimum_rotated_rectangle()

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.

◆ outer_product_matrix()

def polygon_array_to_box_array.outer_product_matrix (   v)

Definition at line 17 of file polygon_array_to_box_array.py.

◆ rotate_points()

def polygon_array_to_box_array.rotate_points (   points,
  a,
  b 
)

Definition at line 97 of file polygon_array_to_box_array.py.

◆ rotation_matrix_from_axis()

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.

Variable Documentation

◆ act

polygon_array_to_box_array.act = PolygonArrayToRectBoxArray()

Definition at line 235 of file polygon_array_to_box_array.py.

◆ minimum_rotated_rectangle

polygon_array_to_box_array.minimum_rotated_rectangle

Definition at line 67 of file polygon_array_to_box_array.py.



jsk_recognition_utils
Author(s):
autogenerated on Tue Jan 7 2025 04:04:52