Cog3DPointCloudMesh GetPositionEnumerator Method Cognex VisionPro 9.8
Returns an iterator that will step through the positions of every point in this point cloud.

Namespace: Cognex.VisionPro3D
Assembly: Cognex.VisionPro.CorePlus (in Cognex.VisionPro.CorePlus.dll) Version: 75.1.0.0
Syntax

public virtual IEnumerator<Cog3DPointCloudAttribute3F> GetPositionEnumerator()

Return Value

Type: IEnumerator Cog3DPointCloudAttribute3F 
A reference to a Cog3DPointCloudMesh PositionAccessor.

Implements

ICog3DPointCloud GetPositionEnumerator 
Exceptions

ExceptionCondition
InvalidOperationException If there is less than one root in this point cloud.
Remarks

If this point cloud has multiple roots, then this iterator will step through every point in every root.
See Also