Click or drag to resize

LineComputePointToPointDistance Method

Computes the distance from the line point to another point

Namespace:  Internal.Net3dBool
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public double ComputePointToPointDistance(
	Vector3 otherPoint
)

Parameters

otherPoint
Type: Internal.Net3dBoolVector3
the point to compute the distance from the line point. The point is supposed to be on the same line.

Return Value

Type: Double
points distance. If the point submitted is behind the direction, the distance is negative
See Also