API Reference > imodeljs-common > Geometry > GeometryStreamIterator > constructor constructor Method Construct a new GeometryStreamIterator given a GeometryStreamProps from either a GeometricElement3d, GeometricElement2d, or GeometryPart. Supply the GeometricElement's category to initialize the appearance information for each geometric entry. GeometryStreamIterator(geometryStream: GeometryStreamProps, categoryOrGeometryParams?: string | GeometryParams, localToWorld?: Transform): GeometryStreamIterator Parameter Type Description geometryStream GeometryStreamProps categoryOrGeometryParams string | GeometryParams localToWorld Transform Returns - GeometryStreamIterator Defined in core/common/src/geometry/GeometryStream.ts Line 523 Last Updated: 12 June, 2024