Point |
A class used to iterate individual points in a PointCollection.

Namespace: Autodesk.Revit.DB.PointClouds
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)

The PointIterator type exposes the following members.

Name | Description | |
---|---|---|
![]() | Current | |
![]() | CurrentObject | |
![]() | IsValidObject | Specifies whether the .NET object represents a valid Revit entity. |

Name | Description | |
---|---|---|
![]() | Dispose | Releases all resources used by the PointIterator |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object ) |
![]() | Free | Completes lifetime of the iterator. Call it when done using the iterator. |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object ) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object ) |
![]() | IsDone | Identifies if the iteration has reached the end of the collection. |
![]() | MoveNext | Increments the iterator to the next point in the collection. |
![]() | Reset | Resets the iterator to the beginning of the collection. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object ) |

Points may be iterated in two different ways:
- In the traditional IEnumerable interface, you can iterate the resulting points directly from the PointCollection.
- In an unsafe interface usable only from C# and C++/CLI, you can get a pointer to the point storage of the collection and access the points directly in memory. Although you must deal with pointers directly, there may be performance improvements when traversing large buffers of points.
