Cog3DAlignedBox Constructor (Cog3DVect3, Double, Double, Double, Cog3DShapeStateConstants)Cognex VisionPro
Constructs an aligned box using the specified size, translation, and Cog3DShapeStateConstants.

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

public Cog3DAlignedBox(
	Cog3DVect3 size,
	double translationX,
	double translationY,
	double translationZ,
	Cog3DShapeStateConstants shapeState
)

Parameters

size
Type: Cognex.VisionPro3D Cog3DVect3
The X, Y, and Z extents of this aligned box. X, Y, and Z must be > 0.
translationX
Type: System Double
The X translation of this aligned box.
translationY
Type: System Double
The Y translation of this aligned box.
translationZ
Type: System Double
The Z translation of this aligned box.
shapeState
Type: Cognex.VisionPro3D Cog3DShapeStateConstants
The state of this aligned box. Must be Cog3DShapeStateConstants.Vertex, Cog3DShapeStateConstants.Curve, Cog3DShapeStateConstants.Surface, or Cog3DShapeStateConstants.Volume.
Exceptions

ExceptionCondition
ArgumentException If any member of size is less than 0.
ArgumentException If shapeState is not one of Cog3DShapeStateConstants.Vertex, .Curve, .Surface, and .Volume.
See Also