Check whether one line and one plane are perpendicular within the
specified tolerance, i.e., whether line3D is parallel
to the normal vector of plane3D
within epsilon .
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: 69.0.0.0
Syntax
Parameters
- line3D
- Type: Cognex.VisionPro3D Cog3DLine
The 3D line. May not be null.
- plane3D
- Type: Cognex.VisionPro3D Cog3DPlane
The 3D plane. May not be null.
- epsilon
- Type: System Double
The tolerance used in checking.
Return Value
Type: BooleanTrue if plane3D and line3D are perpendicular within the specified tolerance, false otherwise.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | If plane3D or line3D is null. |
| ArgumentException | If plane3D is degenerate or line3D is degenerate. |
Remarks
See Also