Cog3DPlane SetPointAndNormal Method Cognex VisionPro
Sets this plane using the specified point (a point in the plane) and the specified normal. The specified normal is normalized to a unit vector.

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

public void SetPointAndNormal(
	Cog3DVect3 pointOnPlane3D,
	Cog3DVect3 normal3D
)

Parameters

pointOnPlane3D
Type: Cognex.VisionPro3D Cog3DVect3
A point on the plane.
normal3D
Type: Cognex.VisionPro3D Cog3DVect3
The normal of the plane. The specified normal is normalized to a unit vector.
Events

Event TypeReason
ICogChangedEvent Changed

Fires when some properties change.

The following state flags may be affected:

  • SfNormal
  • SfGetTilt
  • SfGetRotation
  • SfOffset
  • SfIsDegenerateSurface
Exceptions

ExceptionCondition
ArgumentException If normal3D is (0,0,0).
See Also