BIM.works SDKs - v3.0.0-b.115
    Preparing search index...

    viewer3d.frames of both 3D viewers: a loaded version's own frame (its coordinates before alignment and placement, in metres) and the render frame (the camera's and the section planes', mm). What a stored value keeps its coordinates in, as the render frame moves with the first loaded model (docs/ui-api-wp4/1-frames-and-placement.md F3)

    Index

    Constructors

    • Parameters

      • viewer3d: object

      Returns VersionFrames

    Methods

    • A point in the version frame of vid in the render frame; null when vid is not loaded

      Parameters

      • vid: string
      • point: ArrayLike<number>

      Returns number[] | null

    • A direction in the version frame of vid in the render frame, the same length; null when vid is not loaded

      Parameters

      • vid: string
      • direction: ArrayLike<number>

      Returns number[] | null

    • A point of the measurement frame (where the measuring tools work, mm) in the version frame of vid; null when vid is not loaded

      Parameters

      • vid: string
      • point: ArrayLike<number>

      Returns [number, number, number] | null

    • A render point in the version frame of vid; null when vid is not loaded

      Parameters

      • vid: string
      • point: ArrayLike<number>

      Returns [number, number, number] | null

    • A render direction in the version frame of vid, the same length; null when vid is not loaded

      Parameters

      • vid: string
      • direction: ArrayLike<number>

      Returns number[] | null

    • A point in the version frame of vid in the measurement frame (mm); null when vid is not loaded

      Parameters

      • vid: string
      • point: ArrayLike<number>

      Returns number[] | null