Expand description
Application of the Separating-Axis-Theorem (SAT).
Functionsยง
- cuboid_
cuboid_ compute_ separation_ wrt_ local_ line - Computes the separation of two cuboids along
axis1
. - cuboid_
cuboid_ find_ local_ separating_ edge_ twoway - Finds the best separating edge between two cuboids.
- cuboid_
cuboid_ find_ local_ separating_ normal_ oneway - Finds the best separating normal between two cuboids.
- cuboid_
segment_ find_ local_ separating_ edge_ twoway - Finds the best separating edge between a cuboid and a segment.
- cuboid_
support_ map_ compute_ separation_ wrt_ local_ line - Computes the separation between a cuboid an a convex shape implementing the
SupportMap
trait, along the given axis. - cuboid_
support_ map_ find_ local_ separating_ edge_ twoway - Finds the best separating edge between a cuboid and a convex shape implementing the
Supportmap
trait. - cuboid_
support_ map_ find_ local_ separating_ normal_ oneway - Finds the best separating normal between a cuboid and a convex shape implementing the
SupportMap
trait. - cuboid_
triangle_ find_ local_ separating_ edge_ twoway - Finds the best separating edge between a cuboid and a triangle.
- point_
cuboid_ find_ local_ separating_ normal_ oneway - Computes the separation between a point and a cuboid, along the given direction
normal1
. - segment_
triangle_ find_ local_ separating_ edge_ twoway - Finds the best separating edge between a segment and a triangle.
- support_
map_ support_ map_ compute_ separation - Computes the separation along the given direction,
between two convex shapes implementing the
SupportMap
trait. - triangle_
cuboid_ find_ local_ separating_ normal_ oneway - Finds the best separating normal a triangle and a cuboid.
- triangle_
segment_ find_ local_ separating_ normal_ oneway - Finds the best separating normal a triangle and a segment.