Click or drag to resize

FoundLine.CalcIntersectionPoint(FoundLine, Nullable<dvec3>, Double) Method

Calculates the intersection point of this line with the given line.

Namespace: RAYLASE.Marker.JobElement.ImageProcessing
Assembly: RAYLASE.Marker.JobElement (in RAYLASE.Marker.JobElement.dll) Version: 2.20.0
Syntax
C#
public bool CalcIntersectionPoint(
	FoundLine line,
	out dvec3? intersectionPoint,
	double isParallelThreshold = 100000
)

Parameters

line  FoundLine
The line to calculate the intersection with.
intersectionPoint  Nullable<dvec3>
The intersection point of the two lines or null if the lines are nearly parallel.
isParallelThreshold  Double  (Optional)
Lower threshold for the two lines to be taken as parallel (1e6 by default). Set to 0 if intersection point should be caluclated in any case.

Return Value

Boolean
true if the lines are nearly parallel, false otherwise.
See Also