lsdo_genie.utils.bounding_boxes
Module Contents
Functions
|
Calcuate an enlarged bounding box of a given point cloud |
|
The minimum bounding box of a given point cloud |
- lsdo_genie.utils.bounding_boxes.enlarged_bbox(surface_points: numpy.ndarray, percent: float = 10.0)
Calcuate an enlarged bounding box of a given point cloud
- Parameters:
- surface_pointsnp.ndarray(Ngamma,d)
The positions of points in a point cloud in ‘d’ dimensions
- percentfloat
The percentage to increase the bounding box from the minimum bounding box
- Returns:
- domainnp.ndarray(d,2)
The lower and upper bounds along each dimension
- lsdo_genie.utils.bounding_boxes.minimum_bbox(surface_points: numpy.ndarray)
The minimum bounding box of a given point cloud
- Parameters:
- surface_pointsnp.ndarray(Ngamma,d)
The positions of points in a point cloud in ‘d’ dimensions
- Returns:
- domainnp.ndarray(d,2)
The lower and upper bounds along each dimension