The end point of the line segment.
The start point of the line segment.
Returns a point at a certain position along the line segment. When t = 0, it returns the start vector, and when t = 1 it returns the end vector.
The position along the line segment, in the 0-1 range.
the result will be copied into this Vector3.
Returns a new Line3 with the same start and end vectors as this one.
Returns the closets point on the line segment. If clampToLine is true, then the returned value will be clamped to the line segment.
return the closest point on the line to this point.
whether to clamp the returned value to the line segment.
Returns a point parameter based on the closest point as projected on the line segement. If clampToLine is true, then the returned value will be between 0 and 1.
The point for which to return a point parameter.
Whether to clamp the result to the range [0, 1].
Returns the Euclidean distance (straight-line distance) between the line segment's start and end points.
Returns the square of the Euclidean distance (straight-line distance) between the line segment's start and end points.
Creates a new Line3.