Map from the image to one of the caliper 1D spaces.
Namespace: Cognex.VisionPro.CaliperAssembly: Cognex.VisionPro.Caliper (in Cognex.VisionPro.Caliper.dll) Version: 87.1.0.0
Syntax
Parameters
- x
- Type: System Double
The X-coordinate of the point to map.
- y
- Type: System Double
The Y-Coordinate of the point to map.
- toSpace
- Type: Cognex.VisionPro.Caliper CogCaliperSpaceConstants
The space to which to map the supplied point.
Return Value
Type: DoubleThe mapped point.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | toSpace is not a member of CogCaliperSpaceConstants. |
Remarks
Maps a point from the input image to one of the three defined 1-d spaces supported by the Caliper tool: Filter, Projection, and Result.
See Also