Cog3DRangeImageCrossSectionProfile MapLineSegmentToRangeImage Method Cognex VisionPro 9.22 SR1
Maps a profile line segment to a line segment in the range image SelectedSpaceName.

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

public CogLineSegment MapLineSegmentToRangeImage(
	CogLineSegment profileLineSeg,
	string spaceName
)

Parameters

profileLineSeg
Type: Cognex.VisionPro CogLineSegment
The line segment in the profile.
spaceName
Type: System String
The 2D space name from the CoordinateSpaceTree.

Return Value

Type: CogLineSegment
A CogLineSegment in the spaceName specified.
Exceptions

ExceptionCondition
ArgumentNullException If the spaceName is null.
ArgumentNullException If the ProfileSpaceTree is null.
ArgumentNullException If the CoordinateSpaceTree is null.
ArgumentNullException If the ProfileSelectedSpaceName is null.
CogSpaceTreeNameNotInTreeException If the spaceName is not found in the CoordinateSpaceTree.
See Also