CogCADFile SplineApproximationTolerance Property Cognex VisionPro 9.22 SR1
All splines in the CAD file will be approximated. Sample points along the spline are guaranteed to be no further than this tolerance from the actual shape. This tolerance value is in the same units as the CAD file.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 87.1.0.0
Syntax

public double SplineApproximationTolerance { get; set; }

Property Value

Type: Double
Events

Event TypeReason
CogCADFile Changed

Fires when this property changes.

The following state flag may be affected:

    Exceptions

    ExceptionCondition
    ArgumentException

    A value less than or equal to 0 was supplied.

    Remarks

    All splines in the CAD file will be approximated. Sample points along the spline are guaranteed to be no further than this tolerance from the actual shape. This value is specified in the units of the CAD file's coordinate system.

    Default Value: 1.0

    See Also