Request

Response

    GeometryConversionExtensions class

    Extension methods for converting between StreamGeometry and FileGeometry. Provides fluent API for stream-to-file and file-to-stream conversions. Note: MeshGeometry is a separate type and does not participate in these conversions. If geometry is inherently a MeshGeometry, it will be returned as such from the SDK.

    public static class GeometryConversionExtensions
    

    Public Members

    namedescription
    static AsFileGeometryAsync(…) Asynchronously converts a StreamGeometry to a FileGeometry by writing the stream data to disk.
    static AsStreamGeometryAsync(…) Asynchronously converts a FileGeometry to a StreamGeometry by reading the file data into memory. (2 methods)

    See Also