FoundLineGetBorderPoints Method |
Calculates to this line the intersection points P1 and P2 with the
given quadrangle.
/ Line
/
P1 /
+-----------+---------+
\ / |
\ / |
\ / Quad- |
\ / +
\ / rangle /
P2 + /
/ \ /
/ \ /
/ \ /
/ \ /
\ /
\ /
+
Namespace: RAYLASE.Marker.JobElement.ImageProcessingAssembly: RAYLASE.Marker.JobElement (in RAYLASE.Marker.JobElement.dll) Version: 2.19.0
Syntaxpublic bool GetBorderPoints(
dvec2 topLeftPoint,
dvec2 topRightPoint,
dvec2 bottomLeftPoint,
dvec2 bottomRightPoint,
out dvec2 p1,
out dvec2 p2
)
Parameters
- topLeftPoint dvec2
- Top left point of the quadrangle.
- topRightPoint dvec2
- Top right point of the quadrangle.
- bottomLeftPoint dvec2
- Bottom left point of the quadrangle.
- bottomRightPoint dvec2
- Bottom right point of the quadrangle.
- p1 dvec2
- The first intersection point of the quadrangle
with the line.
- p2 dvec2
- The second intersection point of the quadrangle
with the line.
Return Value
Booleantrue if there are intersection points, false otherwise.
See Also