CogImage16Range GetIsImageZAlignedSpace Method Cognex VisionPro 9.8 SR1
Determine if the specified 3D space's Z axis is aligned with (parallel to) the image Z axis within 0.0000001 degrees. Return true if it is, return false otherwise.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.CorePlus (in Cognex.VisionPro.CorePlus.dll) Version: 75.0.0.0
Syntax

public bool GetIsImageZAlignedSpace(
	string SpaceName
)

Parameters

SpaceName
Type: System String
The name of the 3D space to be evaluated.

Return Value

Type: Boolean
True if the specified space's Z axis is aligned with (parallel to) the image Z axis within 0.0000001 degrees. Otherwise returns false.
Exceptions

ExceptionCondition
ArgumentNullException If the SpaceName argument is null.
CogImageNoTreeException If CoordinateSpaceTree3D is null.
CogSpaceTreeNameNotInTreeException If the specified space name is not found in the
See Also