FoundLineCalcDistance(FoundLine, Boolean, dvec3) Method | 
            Distance between two lines:
            The distance between two parallel lines 1 and 2 is just the
            difference R2-R1. This calculation turned out to be instable in case
            the angles of the lines differ too much. Too much can mean rather
            small angles if R is big. Therefore another distance definition is
            used if the flag isMidpointBased is true:
            This line is the base line which defines the Angle. The given 
            "other" line in the argument is the line we want the distance to
            know with its start and end points P1 and P2. For the "other line" the
            mid point M is calculated, and its distance D to the plumb point will
            be returned as the distance between the lines.
            
Namespace: RAYLASE.Marker.JobElement.ImageProcessingAssembly: RAYLASE.Marker.JobElement (in RAYLASE.Marker.JobElement.dll) Version: 2.31.0
Syntaxpublic double CalcDistance(
	FoundLine line,
	bool isMidpointBased,
	out dvec3 offset
)
Parameters
- line  FoundLine
 - The other line.
 - isMidpointBased  Boolean
 - if true the distance and offset
            is calculated based on the mid point between P1 and P2 of the 
            other line; if false the distance and offset is calculated
            based on the difference line.R - R.
 - offset  dvec3
 - The calculated offset between the two
            lines, perpendicular to this line.
 
Return Value
DoubleThe distance between the two lines.
See Also