Click or drag to resize

GdiExtensionMethodsIsPointIntoDistance(PointF, Double, PointF, PointF) Method

Determines whether or not a given point (point) is into a distance to a finite line, that is spanned between two points lineOrg and lineEnd.

Namespace: Altaxo.Graph.Gdi
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static bool IsPointIntoDistance(
	PointF point,
	double distance,
	PointF lineOrg,
	PointF lineEnd
)

Parameters

point  PointF
Point under test.
distance  Double
Distance.
lineOrg  PointF
Starting point of the line.
lineEnd  PointF
End point of the line.

Return Value

Boolean
True if the distance between point point and the line between lineOrg and lineEnd is less or equal to distance.
See Also