Cog3DBox Size Property Cognex VisionPro 9.7
Gets/sets the size of this box. The setter may change the value of Center. It does not change the value of ShapeFromScaledUnitBox.

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

public virtual Cog3DVect3 Size { get; set; }

Property Value

Type: Cog3DVect3
The size of this box.
Events

Event TypeReason
ICogChangedEvent Changed

Fires when this property changes.

The following state flags may be affected:

  • SfSize
  • SfCenter
  • SfGetSurfaces
  • SfGetLineSegments
  • SfGetVertices
  • SfComputePerimeter
  • SfComputeArea
  • SfComputeVolume
  • SfGetOriginVertexXVectorYVectorZ
  • SfComputeBoundingBox
  • SfIsDegenerateCurve
  • SfIsDegenerateSurface
  • SfIsDegenerateVolume
Exceptions

ExceptionCondition
ArgumentException If any member of size is less than 0.
See Also