CogCADFile SplineApproximationSpacing Property Cognex VisionPro 9.22
All splines in the CAD file will be approximated. Sample points are computed along the spline such that the arc lengths between adjacent sample points do not exceed this spacing. This spacing value is in the the same units as the CAD file.

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

public double SplineApproximationSpacing { 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 are computed along the spline such that the arc lengths between adjacent sample points do not exceed this spacing. This value is specified in the units of the CAD file's coordinate system.

    Default Value: 1.0

    See Also