Computes the line segments for the edges of this box.
Namespace: Cognex.VisionPro3DAssembly: Cognex.VisionPro3D.Core (in Cognex.VisionPro3D.Core.dll) Version: 79.0.0.0
Syntax
Return Value
Type: List Cog3DLineSegThe list of line segments for the edges of this box.
Remarks
- Assuming a unit box, the order of the returned line segments is:
- 0 Cog3DLineSeg(Cog3DVect3(0,0,0), Cog3DVect3(1,0,0), Cog3DShapeStateConstants.Curve)
- 1 Cog3DLineSeg(Cog3DVect3(1,0,0), Cog3DVect3(1,1,0), Cog3DShapeStateConstants.Curve)
- 2 Cog3DLineSeg(Cog3DVect3(1,1,0), Cog3DVect3(0,1,0), Cog3DShapeStateConstants.Curve)
- 3 Cog3DLineSeg(Cog3DVect3(0,1,0), Cog3DVect3(0,0,0), Cog3DShapeStateConstants.Curve)
- 4 Cog3DLineSeg(Cog3DVect3(0,0,1), Cog3DVect3(1,0,1), Cog3DShapeStateConstants.Curve)
- 5 Cog3DLineSeg(Cog3DVect3(1,0,1), Cog3DVect3(1,1,1), Cog3DShapeStateConstants.Curve)
- 6 Cog3DLineSeg(Cog3DVect3(1,1,1), Cog3DVect3(0,1,1), Cog3DShapeStateConstants.Curve)
- 7 Cog3DLineSeg(Cog3DVect3(0,1,1), Cog3DVect3(0,0,1), Cog3DShapeStateConstants.Curve)
- 8 Cog3DLineSeg(Cog3DVect3(0,0,0), Cog3DVect3(0,0,1), Cog3DShapeStateConstants.Curve)
- 9 Cog3DLineSeg(Cog3DVect3(1,0,0), Cog3DVect3(1,0,1), Cog3DShapeStateConstants.Curve)
- 10 Cog3DLineSeg(Cog3DVect3(1,1,0), Cog3DVect3(1,1,1), Cog3DShapeStateConstants.Curve)
- 11 Cog3DLineSeg(Cog3DVect3(0,1,0), Cog3DVect3(0,1,1), Cog3DShapeStateConstants.Curve)
- Each element of the returned list has the ShapeState value of Cog3DShapeStateConstants.Curve no matter the current ShapeState value of the box.
- Some elements of the returned list might be degenerate line segments and some elements might be duplicate if this box is degenerate.
See Also