Summary

Represents a line in 3D space.

Constructors

Line

Properties

Center Returns the midpoint between a and b
Delta Returns the result of b - a
End End position of the line.
Start Start position of the line.

Methods

ClosestPoint Returns closest point on this line to the given point.
Distance Returns closest distance from this line to given point.
SqrDistance Returns closest squared distance from this line to given point.
Trace Perform a "trace" between this line and given ray. If the 2 lines intersect, returns true.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.