Cog3DShapeGeometricOperations Intersect Method (Cog3DPlane, Cog3DPlane, Cog3DLine , Cog3DShapeIntersectionStatusConstants )Cognex VisionPro 9.5
Compute the intersection line between two given planes. It is the caller responsibility to map the shapes to a common 3D space before calling this method.

Namespace: Cognex.VisionPro3D
Assembly: Cognex.VisionPro3D.Core (in Cognex.VisionPro3D.Core.dll) Version: 69.0.0.0
Syntax

public static void Intersect(
	Cog3DPlane planeA,
	Cog3DPlane planeB,
	out Cog3DLine line3D,
	out Cog3DShapeIntersectionStatusConstants intersectionStatus
)

Parameters

planeA
Type: Cognex.VisionPro3D Cog3DPlane
The first 3D plane. May not be null.
planeB
Type: Cognex.VisionPro3D Cog3DPlane
The second 3D plane. May not be null.
line3D
Type: Cognex.VisionPro3D Cog3DLine 
This output parameter is used to keep the intersection line.
intersectionStatus
Type: Cognex.VisionPro3D Cog3DShapeIntersectionStatusConstants 
This output parameter is used to keep the intersection status.
Exceptions

ExceptionCondition
ArgumentNullException If planeA or planeB is null.
ArgumentException If planeA is degenerate or planeB is degenerate.
Remarks

line3D is valid if and only if intersectionStatus is Cog3DShapeIntersectionStatusConstants.Intersect, and unchanged otherwise.

intersectionStatus is Cog3DShapeIntersectionStatusConstants.Overlap if planeB is coincident with planeA.

intersectionStatus is Cog3DShapeIntersectionStatusConstants.None if planeB is parallel to planeA.

See Also