Compute the intersection point between the given plane and
the given 3D line.
It is the caller responsibility to map the shapes to a common 3D
space before calling this method.
Namespace: Cognex.VisionPro3DAssembly: Cognex.VisionPro3D.Core (in Cognex.VisionPro3D.Core.dll) Version: 75.1.0.0
Syntax
Parameters
- plane3D
- Type: Cognex.VisionPro3D Cog3DPlane
The 3D plane. May not be null.
- line3D
- Type: Cognex.VisionPro3D Cog3DLine
The 3D line. May not be null.
- point3D
- Type: Cognex.VisionPro3D Cog3DVect3
This output parameter is used to keep the intersection point.
- intersectionStatus
- Type: Cognex.VisionPro3D Cog3DShapeIntersectionStatusConstants
This output parameter is used to keep the intersection status.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | If plane3D or line3D is null. |
| ArgumentException | If plane3D is degenerate or line3D is degenerate. |
Remarks
intersectionStatus is Cog3DShapeIntersectionStatusConstants.Overlap if line3D is on plane3D.
intersectionStatus is Cog3DShapeIntersectionStatusConstants.None if line3D is parallel to plane3D.
See Also