Inheritance: Curve →
A curve representing a 3D line segment.
Constructs a new line curve.
v1
The start point.
v2
The end point.
This flag can be used for type testing.
Default is true.
The start point.
The end point.
Returns a point on the line.
t
A interpolation factor representing a position on the line. Must be in the range [0,1].
optionalTarget
The optional target vector the result is written to.
Overrides: Curve#getPoint
Returns: The position on the line.