Constructs a Cog3DLineSeg using p1 and p2.
Namespace: Cognex.VisionPro3DAssembly: Cognex.VisionPro3D.Core (in Cognex.VisionPro3D.Core.dll) Version: 73.0.0.0
Syntax
Parameters
- p1
- Type: Cognex.VisionPro3D Cog3DVect3
The start point of the LineSeg.
- p2
- Type: Cognex.VisionPro3D Cog3DVect3
The end point of the LineSeg.
- shapeState
- Type: Cognex.VisionPro3D Cog3DShapeStateConstants
The state of this LineSeg. Must be Cog3DShapeStateConstants.Vertex or Cog3DShapeStateConstants.Curve.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | If shapeState is not Cog3DShapeStateConstants.Vertex or Cog3DShapeStateConstants.Curve. |
See Also