#include <LineSegmentIntersectionFinder.h>
◆ calculateLineSegmentCollision()
- Parameters
-
| sweptSegment0 | The first line segment (swept over time). |
| sweptSegment1 | The second line segment (swept over time). |
| t | Output value - found overlap time. |
| lineParameters0 | Output value - interval along line parameters for segment0 which overlaps with segment1 at time t. |
| lineParameters1 | Output value - interval along line parameters for segment1 which overlaps with segment0 at time t. |
| points | Output value - The contact points from the given time t, transferred to time 1. |
| normal | Output value - The contact normal from the given time t, transferred to time 1. |
| distance | Output value - The distance that the points from lineParameter0 and lineParameter1 moved from each other between times t and 1. |
- Return values
-
| Was | a collision found? All output value are only valid if method returns true. |
The documentation for this class was generated from the following file: