Skip to main content

geometryLoader

Index

Functions

createAndCacheGeometry

  • createAndCacheGeometry(geometryId: string, options: GeometryOptions): Promise<IGeometry>
  • It creates a geometry object and caches it


    Parameters

    • geometryId: string

      A unique identifier for the geometry.

    • options: GeometryOptions

      GeometryOptions

    Returns Promise<IGeometry>

    A promise that resolves to a geometry object.