IModelJson.Writer Class

Class to deserialize json objects into GeometryQuery objects

Extends

Methods

Name Description
constructor(): IModelJson.Writer    
emit(data: any): any Convert GeometryQuery data (array or single instance) to instance to tagged json  
emitArray(data: object[]): any Convert an array of strongly typed instances to an array of tagged json  
handleAkimaCurve3d(curve: AkimaCurve3d): any Convert strongly typed instance to tagged json  
handleArc3d(data: Arc3d): any Convert strongly typed instance to tagged json  
handleBSplineCurve3d(curve: BSplineCurve3d): any Convert strongly typed instance to tagged json  
handleBSplineCurve3dH(curve: BSplineCurve3dH): any Convert strongly typed instance to tagged json  
handleBSplineSurface3d(surface: BSplineSurface3d): any Convert strongly typed instance to tagged json  
handleBSplineSurface3dH(surface: BSplineSurface3dH): any Convert strongly typed instance to tagged json  
handleBagOfCurves(data: BagOfCurves): any Convert strongly typed instance to tagged json  
handleBezierCurve3d(curve: BezierCurve3d): any Convert strongly typed instance to tagged json  
handleBezierCurve3dH(curve: BezierCurve3dH): any Convert strongly typed instance to tagged json  
handleBox(box: Box): any Convert strongly typed instance to tagged json  
handleCone(data: Cone): any Convert strongly typed instance to tagged json  
handleCoordinateXYZ(data: CoordinateXYZ): any Convert strongly typed instance to tagged json  
handleIndexedPolyface(pf: IndexedPolyface): any Convert strongly typed instance to tagged json  
handleInterpolationCurve3d(curve: InterpolationCurve3d): any Convert strongly typed instance to tagged json  
handleLineSegment3d(data: LineSegment3d): any Convert strongly typed instance to tagged json  
handleLineString3d(data: LineString3d): any Convert strongly typed instance to tagged json  
handleLinearSweep(data: LinearSweep): any Convert strongly typed instance to tagged json  
handleLoop(data: Loop): any Convert strongly typed instance to tagged json  
handleParityRegion(data: ParityRegion): any Convert strongly typed instance to tagged json  
handlePath(data: Path): any Convert strongly typed instance to tagged json  
handlePointString3d(data: PointString3d): any Convert strongly typed instance to tagged json  
handleRotationalSweep(data: RotationalSweep): any Convert strongly typed instance to tagged json  
handleRuledSweep(data: RuledSweep): any Convert strongly typed instance to tagged json  
handleSphere(data: Sphere): any Convert strongly typed instance to tagged json  
handleTaggedNumericData(data: TaggedNumericData): IModelJson.TaggedNumericDataProps    
handleTorusPipe(data: TorusPipe): any Convert strongly typed instance to tagged json  
handleUnionRegion(data: UnionRegion): any Convert strongly typed instance to tagged json  
toIModelJson(data: any): any Static One-step static method to create a writer and emit a json object  

Inherited methods

Name Inherited from Description
handleCurveCollection(_g: CurveCollection): any GeometryHandler handle strongly typed CurveCollection

Defined in

Last Updated: 11 June, 2024