Math2DIsPointIntoDistance(PointD2D, Double, PointD2D, PointD2D) Method |
Determines whether or not a given point is within a specified distance to a finite line, that is spanned between two points.
Namespace: Altaxo.GeometryAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxpublic 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
BooleanTrue if the distance between point and the line is less or equal to
distance.
See Also