Determines the perimeter of this shape. For a wireframe shape, the
perimeter is the total length of all the wires. For an infinite shape, like Cog3DLine,
the perimeter is 0.
Namespace: Cognex.VisionPro3DAssembly: Cognex.VisionPro3D.Core (in Cognex.VisionPro3D.Core.dll) Version: 65.1.0.0
Syntax
Return Value
Type: DoubleThe perimeter of this shape.
Implements
ICog3DCurve ComputePerimeterRemarks
- For a Cog3DCylinder shape, no matter whether is is degenerate or not, its perimeter is computed as StartCircle.ComputePerimeter() * 2 .
- For a Cog3DRectangle shape, no matter whether is is degenerate or not, its perimeter is computed as (Size.X + Size.Y) * 2 .
- For a Cog3DBox or Cog3DAlignedBox shape, no matter whether is is degenerate or not, its perimeter is computed as (Size.X + Size.Y + Size.Z) * 4.
See Also