Maps a profile point to a point in the range image SelectedSpaceName.
Namespace: Cognex.VisionPro3DAssembly: Cognex.VisionPro3D (in Cognex.VisionPro3D.dll) Version: 75.1.0.0
Syntax
Parameters
- profilePointX
- Type: System Double
The x-coordinate of the profile point.
- profilePointY
- Type: System Double
The y-coordinate of the profile point.
- spaceName
- Type: System String
The 2D space name within the CoordinateSpaceTree.
- mappedX
- Type: System Double
The resulting mapped x-coordinate in the spaceName specified.
- mappedY
- Type: System Double
The resulting mapped Y-coordinate in the spaceName specified.
Exceptions
| Exception | Condition |
|---|---|
| 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