FoundLine.CalcIntersectionPoint(FoundLine, Nullable<dvec3>, Double) Method |
Calculates the intersection point of this line with the given line.
Namespace: RAYLASE.Marker.JobElement.ImageProcessingAssembly: RAYLASE.Marker.JobElement (in RAYLASE.Marker.JobElement.dll) Version: 2.20.0
Syntaxpublic 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
Booleantrue if the lines are nearly parallel, false otherwise.
See Also