public override MPxGeometryIterator geometryIteratorSetup(MObjectArray componentList, MObject components, bool forReadOnly) { apiSimpleShapeIterator result; if (components.isNull) { result = new apiSimpleShapeIterator(controlPoints, componentList); } else { result = new apiSimpleShapeIterator(controlPoints, components); } return result; }
public override MPxGeometryIterator geometryIteratorSetup(MObjectArray componentList, MObject components, bool forReadOnly) { apiSimpleShapeIterator result; if (components.isNull) { result = new apiSimpleShapeIterator(controlPoints, componentList); } else { result = new apiSimpleShapeIterator(controlPoints, components); } return(result); }