Cog3DShapeProjector Execute Method (Cog3DVect2Collection, ICogGraphic, Boolean, CogGraphicCollection)Cognex VisionPro 9.7
Overload to draw a collection of 2D points. exemplarShape can be a VisionPro shape that serves as a marker: CogCircle, CogPointMarker, or CogRectangle.

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

public void Execute(
	Cog3DVect2Collection pointsRaw2D,
	ICogGraphic exemplarShape,
	bool usingGraphicPropertiesOfShapeProjector,
	CogGraphicCollection graphicCollection
)

Parameters

pointsRaw2D
Type: Cognex.VisionPro3D Cog3DVect2Collection
A collection of 2D points in the Raw2D space.
exemplarShape
Type: Cognex.VisionPro ICogGraphic
An example shape graphic used to draw each 2D point.
usingGraphicPropertiesOfShapeProjector
Type: System Boolean
If it is true, the graphic properties of this shape projector will be used in rendering, otherwise the graphic properties of exemplarShape will be used instead.
graphicCollection
Type: Cognex.VisionPro CogGraphicCollection
The VisionPro graphics collection the rendered graphics is appended to.
Exceptions

ExceptionCondition
ArgumentNullException If pointsRaw2D, exemplarShape, or graphicCollection is null.
ArgumentException If exemplarShape is not of Type CogCircle, CogRectangle, or CogPointMarker.
See Also