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

Distances the point to line.

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

Syntax


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

Parameters

qPoint
Type: array<Double>[]()[][]
q is the point that is off of the line.
lineRefPt
Type: array<Double>[]()[][]
p is a reference point on the line.
lineVector
Type: array<Double>[]()[][]
n is the vector of the line direction.
pointOnLine
Type: array<Double>[]()[][]%
The point on line closest to point, q.

Return Value

System.Double.