parry3d/query/split/split.rs
1/// The result of a plane-splitting operation.
2pub enum SplitResult<T> {
3 /// The split operation yield two results: one lying on the negative half-space of the plane
4 /// and the second lying on the positive half-space of the plane.
5 Pair(T, T),
6 /// The shape being split is fully contained in the negative half-space of the plane.
7 Negative,
8 /// The shape being split is fully contained in the positive half-space of the plane.
9 Positive,
10}
11
12/// The result of a plane-intersection operation.
13pub enum IntersectResult<T> {
14 /// The intersect operation yielded a result, lying in the plane
15 Intersect(T),
16 /// The shape being intersected is fully contained in the negative half-space of the plane.
17 Negative,
18 /// The shape being intersected is fully contained in the positive half-space of the plane.
19 Positive,
20}