Members
-
<readonly> length :Number
-
Details
Methods
-
intersect( line )
-
Description
Get the intersection of this line with an other one Return false if lines does not intersectParameters
Name Type Description line
Line Second line Returns
Details
-
alongPoint( lerpValue )
-
Description
Get a point on the line from start to end at lerpValueParameters
Name Type Description lerpValue
Number The lerp value, should be between 0 and 1, and it will be clamped Returns
Details
-
alongPointUnclamped( lerpValue )
-
Description
Get a point on the line from start to end at lerpValue (Unclamped version)Parameters
Name Type Description lerpValue
Number The lerp value, should be between 0 and 1, but can be out of bound Returns
Details
-
<static> Intersect( l1, l2 )