LineSegment defined by two Vector3, an start and a end.
More...
#include <LineSegment.h>
LineSegment defined by two Vector3, an start and a end.
◆ CreateFromRayAndLength()
static LineSegment AZ::LineSegment::CreateFromRayAndLength |
( |
const Ray & |
segment, |
|
|
float |
length |
|
) |
| |
|
static |
Create a LineSegment from a ray where origin is the start and the length defines the end of the LineSegment given the direction of the Ray.
◆ GetDifference()
The difference between the end the the start.
- Returns
- Direction and mangitude of the LineSegment.
◆ GetPoint()
Returns the point along the segment from start to end -range [0, 1].
- Parameters
-
- Returns
- The Position give the fraction t.
The documentation for this class was generated from the following file:
- Code/Framework/AzCore/AzCore/Math/LineSegment.h