API Reference > geometry-core > ArraysAndInterfaces > GeometryHandler GeometryHandler Class GeometryHandler defines the base abstract methods for double-dispatch geometry computation. User code that wants to handle one or all of the commonly known geometry types implements a handler class. User code that does not handle all types is most likely to start with NullGeometryHandler, which will provide no-action implementations for all types. Extended by NullGeometryHandler RecurseToCurvesGeometryHandler IModelJson.Writer Methods Name Description constructor(): GeometryHandler handleAkimaCurve3d(g: AkimaCurve3d): any Abstract handle strongly typed AkimaCurve3d handleArc3d(g: Arc3d): any Abstract handle strongly typed Arc3d handleBSplineCurve3d(g: BSplineCurve3d): any Abstract handle strongly typed BSplineCurve3d handleBSplineCurve3dH(g: BSplineCurve3dH): any Abstract handle strongly typed BSplineCurve3dH handleBSplineSurface3d(g: BSplineSurface3d): any Abstract handle strongly typed BSplineSurface3d handleBSplineSurface3dH(g: BSplineSurface3dH): any Abstract handle strongly typed BSplineSurface3dH handleBagOfCurves(g: BagOfCurves): any handle strongly typed BagOfCurves (base class method calls handleCurveCollection) handleBezierCurve3d(g: BezierCurve3d): any Abstract handle strongly typed BezierCurve3d handleBezierCurve3dH(g: BezierCurve3dH): any Abstract handle strongly typed BezierCurve3dH handleBox(g: Box): any Abstract handle strongly typed Box handleCone(g: Cone): any Abstract handle strongly typed Cone handleCoordinateXYZ(g: CoordinateXYZ): any Abstract handle strongly typed CoordinateXYZ handleCurveCollection(_g: CurveCollection): any handle strongly typed CurveCollection handleIndexedPolyface(g: IndexedPolyface): any Abstract handle strongly typed IndexedPolyface handleInterpolationCurve3d(g: InterpolationCurve3d): any Abstract handle strongly typed InterpolationCurve3d handleLineSegment3d(g: LineSegment3d): any Abstract handle strongly typed LineSegment3d handleLineString3d(g: LineString3d): any Abstract handle strongly typed LineString3d handleLinearSweep(g: LinearSweep): any Abstract handle strongly typed LinearSweep handleLoop(g: Loop): any handle strongly typed Loop (base class method calls handleCurveCollection) handleParityRegion(g: ParityRegion): any handle strongly typed ParityRegion (base class method calls handleCurveCollection) handlePath(g: Path): any handle strongly typed Path (base class method calls handleCurveCollection) handlePointString3d(g: PointString3d): any Abstract handle strongly typed PointString3d handleRotationalSweep(g: RotationalSweep): any Abstract handle strongly typed RotationalSweep handleRuledSweep(g: RuledSweep): any Abstract handle strongly typed RuledSweep handleSphere(g: Sphere): any Abstract handle strongly typed Sphere handleTorusPipe(g: TorusPipe): any Abstract handle strongly typed TorusPipe handleUnionRegion(g: UnionRegion): any handle strongly typed UnionRegion (base class method calls handleCurveCollection) Defined in geometry3d/GeometryHandler.ts Line 49 Last Updated: 12 June, 2024