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

Returns the signed distance of the point to the plane. If the point is "above" the plane, then a positive distance is return - if "below" then negative. This "above" means that the point is on the side of the plane that the normal points towards.

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

Syntax


public static double DistancePointToPlane(
	double[] point,
	double[] normalOfPlane,
	double signedDistanceToPlane
)
Public Shared Function DistancePointToPlane ( _
	point As Double(), _
	normalOfPlane As Double(), _
	signedDistanceToPlane As Double _
) As Double
public:
static double^ DistancePointToPlane(
	array<double^>^ point, 
	array<double^>^ normalOfPlane, 
	double^ signedDistanceToPlane
)

Parameters

point
Type: array<Double>[]()[][]
The point.
normalOfPlane
Type: array<Double>[]()[][]
The normal of plane.
signedDistanceToPlane
Type: Double
The signed distance to plane.

Return Value

the distance between the two 3D points.