CogCaliperResults Map Method Cognex VisionPro
Map between filtered image location and result position and projection image location.

Namespace: Cognex.VisionPro.Caliper
Assembly: Cognex.VisionPro.Caliper (in Cognex.VisionPro.Caliper.dll) Version: 65.1.0.0
Syntax

public double Map(
	double position,
	CogCaliperSpaceConstants toSpace,
	CogCaliperSpaceConstants fromSpace
)

Return Value

Type: Double

The mapped position.

Exceptions

ExceptionCondition
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