MiscFunctions..::..DistancePointToLine Method (array<Double>[]()[][], array<Double>[]()[][], array<Double>[]()[][])

Returns the distance the point to line.

Namespace:  TVGL
Assembly:  TessellationAndVoxelizationGeometryLibraryUniversal (in TessellationAndVoxelizationGeometryLibraryUniversal.dll)

Syntax


public static double DistancePointToLine(
	double[] qPoint,
	double[] lineRefPt,
	double[] lineVector
)
Public Shared Function DistancePointToLine ( _
	qPoint As Double(), _
	lineRefPt As Double(), _
	lineVector As Double() _
) As Double
public:
static double^ DistancePointToLine(
	array<double^>^ qPoint, 
	array<double^>^ lineRefPt, 
	array<double^>^ lineVector
)

Parameters

qPoint
Type: array<Double>[]()[][]
The q point that is off of the line.
lineRefPt
Type: array<Double>[]()[][]
The line reference point on the line.
lineVector
Type: array<Double>[]()[][]
The line direction vector.

Return Value

System.Double.