CogPolygon MapLinear Method Cognex VisionPro
Create a new polygon by mapping this one through the given transform.

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

public CogPolygon MapLinear(
	CogTransform2DLinear transform,
	CogCopyShapeConstants copyFlags
)

Parameters

transform
Type: Cognex.VisionPro CogTransform2DLinear

The CogTransform2DLinear through which to map this polygon.

copyFlags
Type: Cognex.VisionPro CogCopyShapeConstants

One or more values from CogCopyShapeConstants specifying which attributes of this polygon are to be copied to the mapped polygon.

Return Value

Type: CogPolygon

The returned CogPolygon.

Exceptions

ExceptionCondition
ArgumentException

transform is NULL.

Remarks

Creates a new polygon by mapping the vertices through a linear transform.

See Also