Handles DXF INSERT entities (block insertions) and their nested entities. This dxfContext processes inserted blocks, applies transformations (rotation, scale, position), and generates GeoJSON or map layers for point-based block placements.

Constructors

Properties

The shared DXF processing context, including renderer objects and feature collections.

Methods

  • Converts all processed point features into a GeoJSONLayer and adds it to the sublayer list for visualization.

    Returns void

  • Processes a top-level DXF INSERT entity and creates its corresponding GeoJSON point representation with block information.

    Parameters

    • entity: IInsertEntity

      The DXF INSERT entity to process.

    Returns Promise<void>

  • Processes a DXF INSERT entity that references a block definition. Applies translation, rotation, and scaling to all entities within the block, creating corresponding GeoJSON point features and rendering symbols.

    Parameters

    • insert: IInsertEntity

      The DXF insert definition representing the block reference.

    Returns Promise<void>

    A Promise that resolves once all block entities are processed.

  • Processes a DXF POINT entity and creates its corresponding GeoJSON point representation.

    Parameters

    • entity: IPointEntity

      The DXF POINT entity to process.

    Returns Promise<void>