Implement this method to fill the provided buffer with points up to the number of maximum points for
which the buffer was allocated.
Namespace: Autodesk.Revit.DB.PointCloudsAssembly: RevitAPI (in RevitAPI.dll) Version: 23.0.0.0 (23.1.0.0)
Since: 2012
Syntax
C# |
---|
int ReadPoints( IntPtr buffer, int bufferSize ) |
Visual Basic |
---|
Function ReadPoints ( _ buffer As IntPtr, _ bufferSize As Integer _ ) As Integer |
Visual C++ |
---|
int ReadPoints( IntPtr buffer, int bufferSize ) |
Parameters
- buffer
- Type: System..::..IntPtr
Memory buffer into which the points should be written. The buffer was allocated by Revit and it is guaranteed to be valid for the duration of the call.
- bufferSize
- Type: System..::..Int32
The maximum number of CloudPoint objects that may be copied into the buffer.