compas_cgal.intersections
¤
Functions¤
intersection_mesh_mesh
¤
intersection_mesh_mesh(A: VerticesFaces, B: VerticesFaces) -> PolylinesNumpy
Compute the intersection of tow meshes.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
A
|
VerticesFaces
|
Mesh A. |
required |
B
|
VerticesFaces
|
Mesh B. |
required |
Returns:
| Type | Description |
|---|---|
PolylinesNumpy
|
A list of intersection polylines, with each polyline an array of points. |
Examples:
>>> from compas.geometry import Box, Sphere, Polyline
>>> from compas_cgal.intersections import intersection_mesh_mesh