ICog3DDisplayV2Impl AddGeometryGraphic Method Cognex VisionPro 9.25 SR1
Adds a Cog3DGeometryGraphicBase to the display

Namespace: Cognex.VisionPro3D.Implementation.Internal
Assembly: Cognex.VisionPro3D.Graphic (in Cognex.VisionPro3D.Graphic.dll) Version: 93.1.0.0
Syntax

long AddGeometryGraphic(
	long groupKey,
	Cog3DGeometryGraphicBase geometryGraphic,
	ICog3DTransform transform
)

Parameters

groupKey
Type: System Int64
the key of the group to add the Cog3DGeometryGraphicBase to
geometryGraphic
Type: Cognex.VisionPro3D Cog3DGeometryGraphicBase
the ICog3DShapeGraphic to add
transform
Type: Cognex.VisionPro3D ICog3DTransform
the transofrm to be used on the geometry graphics to map the vertices from the SelectedSpaceName3D of the graphic to the display's displaySpaceName3D

Return Value

Type: Int64
the unique identifier of the graphic in the display
See Also