@@ -105,6 +105,17 @@ void define_aabb(py::module_& m)
105
105
vertices_t0, vertices_t1, vertex_boxes, inflation_radius);
106
106
return vertex_boxes;
107
107
},
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" ,
108
119
py::arg (" vertices_t0" ), py::arg (" vertices_t1" ),
109
120
py::arg (" inflation_radius" ) = 0 );
110
121
@@ -116,6 +127,16 @@ void define_aabb(py::module_& m)
116
127
build_edge_boxes (vertex_boxes, edges, edge_boxes);
117
128
return edge_boxes;
118
129
},
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" ,
119
140
py::arg (" vertex_boxes" ), py::arg (" edges" ));
120
141
121
142
m.def (
@@ -126,5 +147,15 @@ void define_aabb(py::module_& m)
126
147
build_face_boxes (vertex_boxes, faces, face_boxes);
127
148
return face_boxes;
128
149
},
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" ,
129
160
py::arg (" vertex_boxes" ), py::arg (" faces" ));
130
161
}
0 commit comments