Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Sketch

Hierarchy

  • Sketch

Index

Constructors

constructor

Properties

figures

figures: Figure[]

relationManager

relationManager: RelationManager

Methods

addFigure

  • addFigure(figure: Figure): void

addFigures

  • addFigures(figures: Figure[]): void

getClosestFigure

  • getClosestFigure(point: Point, scale?: number, maxDist?: number): Figure
  • Parameters

    • point: Point
    • Default value scale: number = 1
    • Default value maxDist: number = 10

    Returns Figure

solveWithConstantFigures

  • solveWithConstantFigures(figures: Figure[], tireless?: boolean): void
  • Parameters

    • figures: Figure[]
    • Default value tireless: boolean = false

    Returns void

Generated using TypeDoc