ICog3DShape ComputeDistance Method Cognex VisionPro 9.21
Computes the distance from this shape to the specified point. The point on this shape used to compute the distance is a function of ShapeState.

Namespace: Cognex.VisionPro3D
Assembly: Cognex.VisionPro3D.Core (in Cognex.VisionPro3D.Core.dll) Version: 83.0.0.0
Syntax

double ComputeDistance(
	Cog3DVect3 point3D
)

Parameters

point3D
Type: Cognex.VisionPro3D Cog3DVect3
The specified point to use when computing the distance to this shape.

Return Value

Type: Double
The distance from this shape to the specified point.
See Also