Home Reference Source Repository

References

Class Summary

Static Public Class Summary
public
public
public

Arc

public

Ast

public
public
public
public

The Canvas class holds the webGL context and maps the underlying views.

public
public
public

DSU

public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public

Class Properties is based on awv3's plugin architecture. It can be used to define bend- and signature-lines in the 2D view.

public
public
public
public
public
public
public

Sample format for patterns array: var patterns = [ {name: "pA", type: "point", position: [10, 20]}, //point with precise location {name: "pB", type: "point"}, //point (location may be arbitrary) {name: "lCD", type: "line", ends: [[0, 0], [50, 0]]}, //line with precise location of endpoints {name: "a1", type: "arc", ends: [[0, 0], [50, 0]]}, //arc with precise location of endpoints (arbitrary center) {type: "arc", ends: [[30, 0], [50, 0]], middle: [40, 10]}, //unnamed curve with precise geometric state (endpoints + middle point) {type: "line", ends: [[0, -10], [50, -10]], undir: true}, //unnamed line with given endpoints (maybe in reversed order) {name: "lST", type: "line", middle: [50, 50]}, //line with prescribed middle point {type: "fixation", args: "pA"}, //fixation constraint on point named "pA" {type: "incidence", args: ["lCD", "lST"]}, //lines "lCD" and "lST" have collinearity constraint on them {type: "distance", args: [1, "lCD"], value: 50}, //distance constraint from "pB" (second pattern in array) to "lCD" with value = 50 {type: "incidence", args: ["lST.e", "3.c"]}, //'c'enter of arc a1 (by index 3) is coincident with 'e'ndpoint of line lST ];

public
public
public
public
public
public
public
public

Function Summary

Static Public Function Summary
public

Assign(target: *, value: *): *

public

Constraint(type: *): *

public

Graphics(name: *): *

public

Graphics(name: *, args: ...*): *

public

Handler(sketcher: *, name: *): *

public

Member(value: *, attr: *): *

public

Return(value: *): *

public

Sequence(commands: ...*): *

public

Variable(basename: string): *

public

adapt(ct: *, entities: *): *

public

calcSketchPos(ray: *, sketch: *): *

public

commandRunner(session: *, commands: *): *

public

drawArcBy_Angle_M(vertexPos: *, startDir: *, endDir: *, middlePos: *): {"start": *, "end": *, "center": *, "clockwise": boolean}

public

drawArcBy_S_E_CPh(startPos: *, endPos: *, controlPointHint: *): {"start": *, "end": *, "center": *, "clockwise": *}

public

drawArcBy_S_E_Ch(startPos: *, endPos: *, centerPosHint: *, takeLarger: *): {"start": *, "end": *, "center": *, "clockwise": *}

public

drawArcBy_S_E_M(startPos: *, endPos: *, middlePos: *): {"start": *, "end": *, "center": *, "clockwise": *}

public

drawArcBy_S_T_E(startPos: *, startTangent: *, endPos: *): {"start": *, "end": *, "center": *, "clockwise": *}

public

drawCurveBy_S_Eh_Restrictions(start: *, endHint: *, restrictions: *): {"start": *, "end": *}

public

drawLineBy_Angle_M(vertexPos: *, startDir: *, endDir: *, middlePos: *): {"start": *, "end": *}

public

getArcAngles(params: *): {"center": *, "mid": *, "radius": *, "start": *, "end": *, "bulge": *}

public

getSnappedPointWrap(sketch: *, mousePosition: *, obj: *, lastDragPoint: *): *

public

getTangent(geomParams: *, point: *): *

public

halt(message: *)

public

intersectLines(pntA: *, dirA: *, pntB: *, dirB: *, angularTolerance: *): *

public

linear(k: *): *

public

log(message: *)

public

move(geomParams: *, subType: *, displacement: *): *

public

observeConsole(consoleElement: *, handlerThunk: *, useNewConsole: *)

public

queryDom(item: *): *

public

async runAllTests(sketcher: *, rootObject: *)

public

async runPerfoTest(sketcher: *)

public

setPrefixedValue(elm: *, prop: *, value: *, fallback: *)

public

signalrhub(scope: *)

public

url(param: *): *

Variable Summary

Static Public Variable Summary
public
public
public

angle: *

public

angleox: *

public

back: {"in": function, "out": function, "inOut": function}

public

bounce: {"in": function, "out": function, "inOut": function}

public

circular: {"in": function, "out": function, "inOut": function}

public
public
public

cubic: {"in": function, "out": function, "inOut": function}

public
public
public

elastic: {"in": function, "out": function, "inOut": function}

public
public
public

exponential: {"in": function, "out": function, "inOut": function}

public
public
public
public
public
public

last created canvas

public
public
public
public

quadratic: {"in": function, "out": function, "inOut": function}

public

quartic: {"in": function, "out": function, "inOut": function}

public

quintic: {"in": function, "out": function, "inOut": function}

public

radius: *

public

reducer: *

public

sinusoidal: {"in": function, "out": function, "inOut": function}

public
public
public

Global awv3 version

public
public