Check whether one line and one plane are parallel within the specified
tolerance, i.e., whether line3D is
perpendicular to the normal vector of plane3D
within the specified tolerance.
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: 87.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 parallel 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