Table of Contents

Class LineHitTestResult

Namespace
HelixToolkit.SharpDX
Assembly
HelixToolkit.SharpDX.dll

A specialized line hit test result.

public class LineHitTestResult : HitTestResult, IComparable<HitTestResult>
Inheritance
LineHitTestResult
Implements
Inherited Members

Properties

LineHitPointScalar

Gets or sets the scalar of the closest point on the line that was hit.

public double LineHitPointScalar { get; set; }

Property Value

double

LineIndex

Gets or sets the index of the line segment that was hit.

public int LineIndex { get; set; }

Property Value

int

RayHitPointScalar

Gets or sets the scalar of the closest point on the hit test ray.

public double RayHitPointScalar { get; set; }

Property Value

double

RayToLineDistance

Gets or sets the shortest distance between the hit test ray and the line that was hit.

public double RayToLineDistance { get; set; }

Property Value

double