windkit.spatial.BBox.buffer
- BBox.buffer(distance, cap_style=3, join_style=2)[source]
Buffer bounding box by fixed distance.
- Parameters:
Distance (float) – Distance to buffer each direction.
cap_style (shapely.BufferCapStyle or {'round', 'square', 'flat'}) – Shape of buffered line endings, it is passed to
shapely.buffer
. Defaults to (3) ‘square’join_style (shapely.BufferJoinStyle or {'round', 'mitre', 'bevel'}) – Shape of bufered line midpoints, it is passed to
shapely.buffer
. Defaults to (2) ‘mitre’
- Returns:
New Bounding box object buffered by requested amount.
- Return type: