Class GeometryTreeNodeIteratorHelper
Inheritance
GeometryTreeNodeIteratorHelper
Assembly: CAMAPI.DotnetHelper.dll
Syntax
public static class GeometryTreeNodeIteratorHelper
Methods
AsEnumerable(ComWrapper<ICAMAPIGeometryTreeNodeIterator>)
List all nodes in geometry tree, depth first
Declaration
public static IEnumerable<ComWrapper<ICAMAPIGeometryTreeNode>> AsEnumerable(this ComWrapper<ICAMAPIGeometryTreeNodeIterator> it)
Parameters
Returns
Current(ComWrapper<ICAMAPIGeometryTreeNodeIterator>)
Get current geometry tree node
Declaration
public static ComWrapper<ICAMAPIGeometryTreeNode> Current(this ComWrapper<ICAMAPIGeometryTreeNodeIterator> iteratorCom)
Parameters
Returns
MoveToChild(ComWrapper<ICAMAPIGeometryTreeNodeIterator>)
Get next geometry tree node in depth-first order
Declaration
public static bool MoveToChild(this ComWrapper<ICAMAPIGeometryTreeNodeIterator> iteratorCom)
Parameters
Returns
MoveToParent(ComWrapper<ICAMAPIGeometryTreeNodeIterator>)
Get parent geometry tree node
Declaration
public static bool MoveToParent(this ComWrapper<ICAMAPIGeometryTreeNodeIterator> iteratorCom)
Parameters
Returns
MoveToSibling(ComWrapper<ICAMAPIGeometryTreeNodeIterator>)
Get next geometry tree node in breadth-first order
Declaration
public static bool MoveToSibling(this ComWrapper<ICAMAPIGeometryTreeNodeIterator> iteratorCom)
Parameters
Returns
Reset(ComWrapper<ICAMAPIGeometryTreeNodeIterator>)
Reset iterator to the root of geometry tree
Declaration
public static void Reset(this ComWrapper<ICAMAPIGeometryTreeNodeIterator> iteratorCom)
Parameters