Skip to main content
Ctrl+K
Logo image

COMPAS Model

  • Introduction
  • Installation
  • Tutorial
  • Examples
  • API Reference
    • compas_model.algorithms
      • mesh_mesh_contacts
    • compas_model.elements
      • Element
      • Feature
    • compas_model.geometry
      • is_collision_poly_poly_xy
      • is_intersection_box_box
      • is_intersection_line_aabb
      • is_intersection_line_box
      • is_intersection_ray_aabb
      • is_intersection_ray_box
      • is_intersection_segment_aabb
      • is_intersection_segment_box
      • minkowski_difference_xy
      • minkowski_sum_xy
      • pca_box
    • compas_model.interactions
      • Contact
      • Modifier
    • compas_model.materials
      • Material
      • Concrete
      • Steel
      • Timber
    • compas_model.models
      • ElementNode
      • ElementTree
      • InteractionGraph
      • Model
    • compas_model.scene
      • ElementObject
      • ModelObject
  • License
COMPAS.dev
  • API Reference
  • compas_model.geometry
  • minkowski_sum_xy

minkowski_sum_xy

compas_model.geometry.minkowski_sum_xy(A, B)

Compute the Minkowski sum of two polygons.

Parameters:
Acompas.geometry.Polygon

The first polygon.

Bcompas.geometry.Polygon

The second polygon.

Returns:
compas.geometry.Polygon

The polygon representing the sum.

Warning

Currently only convex polygons are supported.

See also

minkowski_difference_xy

Notes

…

References

…

On this page
  • minkowski_sum_xy()

© Copyright ETH Zurich - Block Research Group.

Created using Sphinx 8.2.3.

Built with the PyData Sphinx Theme 0.13.3.