Constructs a Cog3DRay using parameterizationType to interpret v1 and v2.
Namespace: Cognex.VisionPro3DAssembly: Cognex.VisionPro3D.Core (in Cognex.VisionPro3D.Core.dll) Version: 65.1.0.0
Syntax
Parameters
- v1
- Type: Cognex.VisionPro3D Cog3DVect3
The start point of the ray.
- v2
- Type: Cognex.VisionPro3D Cog3DVect3
If parameterizationType is Points, then v2 is interpreted as a point along the ray. If parameterizationType is PointAndDirection, then v2 is interpreted as a direction vector.
- parameterizationType
- Type: Cognex.VisionPro3D Cog3DRay ParameterizationType
Specifies how v1 and v2 are interpreted.
- shapeState
- Type: Cognex.VisionPro3D Cog3DShapeStateConstants
The state of this ray. Must be Cog3DShapeStateConstants.Vertex or Cog3DShapeStateConstants.Curve.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | If shapeState is not Cog3DShapeStateConstants.Vertex or Cog3DShapeStateConstants.Curve. |
See Also