Struct Leap::Unity::Geometry::LocalSegment3

struct Leap.Unity.Geometry.LocalSegment3

Public Functions

float Parameterize (Vector3 pointOnSegment)

Given a point on the segment, parameterizes that point into a value such that a + (b - a).magnitude * value = b.

float Intersect (Rect rect)

Returns the squared distance between this line segment and the rect.