|
AGX Dynamics
2.37.3.2
|
A line segment that is swept in time from t=0 to t=1. More...
#include <LineSegmentIntersectionFinder.h>
Public Member Functions | |
| SweptLineSegment () | |
| Creates a SweptLineSegment, with both line segments degenaring to points at the origin. More... | |
| SweptLineSegment (const LineSegment &start, const LineSegment &end) | |
| The SweptLineSegment constructor. More... | |
| agx::Vec3 | computeSweepDirectionPoint0 () const |
| Returns the non-normalized sweep direction of point0 over time. More... | |
| agx::Vec3 | computeSweepDirectionPoint1 () const |
| Returns the non-normalized sweep direction of point1 over time. More... | |
| LineSegment | computeSweepSegmentPoint0 () const |
| Returns the line segment point0 over time. More... | |
| LineSegment | computeSweepSegmentPoint1 () const |
| Returns the line segment point1 over time. More... | |
| agx::Vec3 | evaluateAt (const agx::Real time, const agx::Real lineParameter) const |
| Evaluates the swept line at a given time and line parameter and returns a point. More... | |
| LineSegment | evaluateAt (const agx::Real time) const |
| Evaluates the swept line at a given time. More... | |
| bool | isDegeneratedToLine () const |
| Is the swept line segment degenerated to a line? More... | |
| bool | isDegeneratedToPoint () const |
| Is the swept line segment degenerated to a point? More... | |
| LineSegment & | segment0 () |
| Gets the swept line segment's first line segment, i.e. at t=0. More... | |
| const LineSegment & | segment0 () const |
| Gets the swept line segment's first line segment, i.e. at t=0. More... | |
| LineSegment & | segment1 () |
| Gets the swept line segment's second line segment, i.e. at t=1. More... | |
| const LineSegment & | segment1 () const |
| Gets the swept line segment's second line segment, i.e. at t=1. More... | |
A line segment that is swept in time from t=0 to t=1.
All sweeping is done by linear interpolation.
Definition at line 135 of file LineSegmentIntersectionFinder.h.
| agxCollide::agxGeometryQueries::SweptLineSegment::SweptLineSegment | ( | ) |
Creates a SweptLineSegment, with both line segments degenaring to points at the origin.
Definition at line 375 of file LineSegmentIntersectionFinder.h.
| agxCollide::agxGeometryQueries::SweptLineSegment::SweptLineSegment | ( | const LineSegment & | start, |
| const LineSegment & | end | ||
| ) |
The SweptLineSegment constructor.
| start | The segment at t=0. |
| end | The segment at t=1. |
Definition at line 379 of file LineSegmentIntersectionFinder.h.
| agx::Vec3 agxCollide::agxGeometryQueries::SweptLineSegment::computeSweepDirectionPoint0 | ( | ) | const |
Returns the non-normalized sweep direction of point0 over time.
Definition at line 438 of file LineSegmentIntersectionFinder.h.
References agxCollide::agxGeometryQueries::LineSegment::point0().
| agx::Vec3 agxCollide::agxGeometryQueries::SweptLineSegment::computeSweepDirectionPoint1 | ( | ) | const |
Returns the non-normalized sweep direction of point1 over time.
Definition at line 444 of file LineSegmentIntersectionFinder.h.
References agxCollide::agxGeometryQueries::LineSegment::point1().
| LineSegment agxCollide::agxGeometryQueries::SweptLineSegment::computeSweepSegmentPoint0 | ( | ) | const |
Returns the line segment point0 over time.
Definition at line 450 of file LineSegmentIntersectionFinder.h.
References agxCollide::agxGeometryQueries::LineSegment, and agxCollide::agxGeometryQueries::LineSegment::point0().
| LineSegment agxCollide::agxGeometryQueries::SweptLineSegment::computeSweepSegmentPoint1 | ( | ) | const |
Returns the line segment point1 over time.
Definition at line 456 of file LineSegmentIntersectionFinder.h.
References agxCollide::agxGeometryQueries::LineSegment, and agxCollide::agxGeometryQueries::LineSegment::point1().
| agx::Vec3 agxCollide::agxGeometryQueries::SweptLineSegment::evaluateAt | ( | const agx::Real | time, |
| const agx::Real | lineParameter | ||
| ) | const |
Evaluates the swept line at a given time and line parameter and returns a point.
| time | The time between 0 and 1. |
| lineParameter | The line parameter between 0 and 1. |
| The | evaluated point. |
Definition at line 385 of file LineSegmentIntersectionFinder.h.
References agxCollide::agxGeometryQueries::LineSegment::evaluateAt().
| agxGeometryQueries::LineSegment agxCollide::agxGeometryQueries::SweptLineSegment::evaluateAt | ( | const agx::Real | time | ) | const |
Evaluates the swept line at a given time.
| time | The time between 0 and 1. |
| The | evaluated line segment. |
Definition at line 392 of file LineSegmentIntersectionFinder.h.
References agxCollide::agxGeometryQueries::LineSegment::point0(), and agxCollide::agxGeometryQueries::LineSegment::point1().
| bool agxCollide::agxGeometryQueries::SweptLineSegment::isDegeneratedToLine | ( | ) | const |
Is the swept line segment degenerated to a line?
Definition at line 432 of file LineSegmentIntersectionFinder.h.
References agxCollide::agxGeometryQueries::LineSegment::isDegeneratedToPoint().
| bool agxCollide::agxGeometryQueries::SweptLineSegment::isDegeneratedToPoint | ( | ) | const |
Is the swept line segment degenerated to a point?
Definition at line 425 of file LineSegmentIntersectionFinder.h.
References agx::equivalent(), agxCollide::agxGeometryQueries::LineSegment::isDegeneratedToPoint(), and agxCollide::agxGeometryQueries::LineSegment::point0().
| LineSegment & agxCollide::agxGeometryQueries::SweptLineSegment::segment0 | ( | ) |
Gets the swept line segment's first line segment, i.e. at t=0.
Definition at line 401 of file LineSegmentIntersectionFinder.h.
| const LineSegment & agxCollide::agxGeometryQueries::SweptLineSegment::segment0 | ( | ) | const |
Gets the swept line segment's first line segment, i.e. at t=0.
Definition at line 407 of file LineSegmentIntersectionFinder.h.
| LineSegment & agxCollide::agxGeometryQueries::SweptLineSegment::segment1 | ( | ) |
Gets the swept line segment's second line segment, i.e. at t=1.
Definition at line 413 of file LineSegmentIntersectionFinder.h.
| const LineSegment & agxCollide::agxGeometryQueries::SweptLineSegment::segment1 | ( | ) | const |
Gets the swept line segment's second line segment, i.e. at t=1.
Definition at line 419 of file LineSegmentIntersectionFinder.h.