Determines the area of this shape.
For an infinite shape, like Cog3DPlane, the area is 0.
Namespace: Cognex.VisionPro3DAssembly: Cognex.VisionPro3D.Core (in Cognex.VisionPro3D.Core.dll) Version: 80.0.0.0
Syntax
Return Value
Type: DoubleThe area of this shape or returns 0, if this surface shape is empty or degenerate.
Implements
ICog3DSurface ComputeAreaRemarks
- For a Cog3DCylinder shape, no matter whether is is degenerate or not, its area is computed as: StartCircle.ComputeArea * 2 + Radius *Height .
- For a Cog3DBox or Cog3DAlignedBox shape, no matter whether is is degenerate or not, its area is computed as: (Size.X * Size.Y + Size.X * Size.Z + Size.Y * Size.Z) * 2 .
See Also