Click or drag to resize

Math3DGetDistancePointToPlane Method

Gets the signed distance of a point a to a plane defined by a point p and a normal vector q. The distance is positive if the point a lies in the half-space into which q points.

Namespace: Altaxo.Geometry
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public static double GetDistancePointToPlane(
	PointD3D a,
	PointD3D p,
	VectorD3D q
)

Parameters

a  PointD3D
The point a.
p  PointD3D
A point on a plane.
q  VectorD3D
The normal vector of that plane (can be not-normalized).

Return Value

Double
The signed distance from point a to the plane.
See Also