Click or drag to resize

PointD2DIsPointIntoDistance 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.Geometry
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static bool IsPointIntoDistance(
	PointD2D point,
	double distance,
	PointD2D lineOrg,
	PointD2D lineEnd
)

Parameters

point  PointD2D
Point under test.
distance  Double
Distance.
lineOrg  PointD2D
Starting point of the line.
lineEnd  PointD2D
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