Map between filtered image location and result position and projection image location.
Namespace: Cognex.VisionPro.CaliperAssembly: Cognex.VisionPro.Caliper (in Cognex.VisionPro.Caliper.dll) Version: 65.1.0.0
Syntax
Parameters
- position
- Type: System Double
The 1-dimensional position to map.
- toSpace
- Type: Cognex.VisionPro.Caliper CogCaliperSpaceConstants
The space to which to map position.
- fromSpace
- Type: Cognex.VisionPro.Caliper CogCaliperSpaceConstants
The space from which to map position.
Return Value
Type: DoubleThe mapped position.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | fromSpace or toSpace is not a member of CogCaliperSpaceConstants. |
Remarks
Maps 1-dimensional points among the three defined 1-d spaces supported by the Caliper tool: Filter, Projection, and Result.
See Also