@@ -105,6 +105,17 @@ void define_aabb(py::module_& m)
105105 vertices_t0, vertices_t1, vertex_boxes, inflation_radius);
106106 return vertex_boxes;
107107 },
108+ R"ipc_Qu8mg5v7(
109+ Build one AABB per vertex position moving linearly from t=0 to t=1.
110+
111+ Parameters:
112+ vertices_t0: Vertex positions at t=0 (rowwise).
113+ vertices_t1: Vertex positions at t=1 (rowwise).
114+ inflation_radius: Radius of a capsule around the temporal edges which the AABBs enclose.
115+
116+ Returns:
117+ Vertex AABBs.
118+ )ipc_Qu8mg5v7" ,
108119 py::arg (" vertices_t0" ), py::arg (" vertices_t1" ),
109120 py::arg (" inflation_radius" ) = 0 );
110121
@@ -116,6 +127,16 @@ void define_aabb(py::module_& m)
116127 build_edge_boxes (vertex_boxes, edges, edge_boxes);
117128 return edge_boxes;
118129 },
130+ R"ipc_Qu8mg5v7(
131+ Build one AABB per edge.
132+
133+ Parameters:
134+ vertex_boxes: Vertex AABBs.
135+ edges: Edges (rowwise).
136+
137+ Returns:
138+ edge_boxes: Edge AABBs.
139+ )ipc_Qu8mg5v7" ,
119140 py::arg (" vertex_boxes" ), py::arg (" edges" ));
120141
121142 m.def (
@@ -126,5 +147,15 @@ void define_aabb(py::module_& m)
126147 build_face_boxes (vertex_boxes, faces, face_boxes);
127148 return face_boxes;
128149 },
150+ R"ipc_Qu8mg5v7(
151+ Build one AABB per face.
152+
153+ Parameters:
154+ vertex_boxes: Vertex AABBs.
155+ faces: Faces (rowwise).
156+
157+ Returns:
158+ face_boxes: Face AABBs.
159+ )ipc_Qu8mg5v7" ,
129160 py::arg (" vertex_boxes" ), py::arg (" faces" ));
130161}
0 commit comments