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.VisionPro3DAssembly: Cognex.VisionPro3D (in Cognex.VisionPro3D.dll) Version: 75.0.0.0
Syntax
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
| Exception | Condition |
|---|---|
| ArgumentNullException | If pointsRaw2D, exemplarShape, or graphicCollection is null. |
| ArgumentException | If exemplarShape is not of Type CogCircle, CogRectangle, or CogPointMarker. |
See Also