Edit

Share via


LineUtility Class

Definition

Mixed Reality line utility class with helpful math functions for calculation, and other convenience methods.

public ref class LineUtility abstract sealed
public static class LineUtility
type LineUtility = class
Public Module LineUtility
Inheritance
LineUtility

Methods

GetEllipsePoint(Vector2, Single)

Calculate the ellipse point at the angle provided.

GetPointAlongConstrainedParabola(Vector3, Vector3, Vector3, Single, Single)

Gets the point along a constrained parabola.

GetPointAlongPhysicalParabola(Vector3, Vector3, Single, Vector3, Single)

Gets the point along a physics based parabola.

GetPointAlongSpline(MixedRealityPose[], Single, InterpolationType)

Gets the point along the spline.

GetVectorCollectionBlend(Vector3[], Single, Boolean)

Returns a blended value from a collection of vectors

InterpolateBezierPoints(Vector3, Vector3, Vector3, Vector3, Single)

Interpolate the provided points using the standard Bezier algorithm.

InterpolateCatmullRomPoints(Vector3, Vector3, Vector3, Vector3, Single)

Interpolate the provided points using Catmull Rom algorithm.

InterpolateHermitePoints(Vector3, Vector3, Vector3, Vector3, Single)

Interpolate the provided points using the Hermite algorithm.

InterpolateVectorArray(Vector3[], Single)

Interpolate a position between the provided points.

Invert(Color)

Inverts the color

Applies to