Computes the surfaces of this box.
Namespace: Cognex.VisionPro3DAssembly: Cognex.VisionPro3D.Core (in Cognex.VisionPro3D.Core.dll) Version: 65.1.0.0
Syntax
Return Value
Type: List Cog3DRectangleThe list of surfaces of this box.
Remarks
- Assuming a unit box, the order of the returned rectangles is
(uisng a pair of opposite vertices for each rectangle):
- 0 Cog3DVect3(0,0,0), Cog3DVect3(1,1,0)
- 1 Cog3DVect3(0,0,1), Cog3DVect3(1,1,1)
- 2 Cog3DVect3(0,0,0), Cog3DVect3(1,0,1)
- 3 Cog3DVect3(1,0,0), Cog3DVect3(1,1,1)
- 4 Cog3DVect3(0,1,0), Cog3DVect3(1,1,1)
- 5 Cog3DVect3(0,0,0), Cog3DVect3(0,1,1)
- Each element of the returned list has the ShapeState value of Cog3DShapeStateConstants.Surface no matter the current ShapeState value of the box.
- Some elements of the returned list might be degenerate rectangles and some elements might be duplicate if this box is degenerate.
See Also