Computes the line segments for the edges of this rectangle.
Namespace: Cognex.VisionPro3DAssembly: Cognex.VisionPro3D.Core (in Cognex.VisionPro3D.Core.dll) Version: 73.0.0.0
Syntax
Return Value
Type: List Cog3DLineSegThe list of line segments for the edges of this rectangle.
Remarks
- Assuming a unit rectangle, 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)
- Each element of the returned list has the ShapeState value of Cog3DShapeStateConstants.Curve no matter the current ShapeState value of the rectangle.
- Some elements of the returned list might be degenerate line segments and some elements might be duplicate if this rectangle is degenerate.
See Also