Bitbybit Docs
    Preparing search index...

    Class BaseBitByBit

    Every service of the base package, wired to each other once. The kernels, the renderers and code running in Node take this one object rather than building the services themselves, so each package calls the same maths a user does.

    Index

    Constructors

    Properties

    geometryHelper: GeometryHelper
    vector: Bit.Vector
    transforms: Bit.Transforms
    lists: Bit.Lists
    point: Bit.Point
    line: Bit.Line
    polyline: Bit.Polyline
    textService: TextBitByBit
    frame: Bit.Frame
    color: Bit.Color
    logic: Bit.Logic
    dates: Bit.Dates
    engineering: Bit.Engineering
    recipes: Bit.Recipes

    Accessors

    • get settings(): BitbybitSettings

      The settings this instance works by, such as the coordinate system its numbers are in, set by whoever owns this object: the renderer for its scene, a worker when it is told them, a program in Node for itself. A setting left out keeps the behaviour from before it existed. Settings are checked as they are set: a name that is no setting, or a value its setting does not take, is refused as an InputError and the earlier settings stay. The settings read back are frozen, so they change only by assigning new ones.

      Returns BitbybitSettings

    • set settings(settings: BitbybitSettings): void

      Parameters

      • settings: BitbybitSettings

      Returns void