Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

  • getMapSize(displaySize: [number, number], metersPerUnit: number, units: UnitOfMeasure, resolution?: number, precision?: number): [number, number]
  • Utility function to compute the physical map size based on the given display size and various display settings

    since

    0.11

    export

    Parameters

    • displaySize: [number, number]
    • metersPerUnit: number
    • units: UnitOfMeasure
    • Optional resolution: number
    • Optional precision: number

    Returns [number, number]

  • Gets all available units of measure

    since

    0.12.2

    Returns UnitOfMeasure[]

  • tryParseArbitraryCs(csCode: undefined | string): { code: string; units: UnitOfMeasure } | undefined
  • Attempts to be parse unit information for the given mentor CS code

    since

    0.14.3

    Parameters

    • csCode: undefined | string

    Returns { code: string; units: UnitOfMeasure } | undefined

Generated using TypeDoc