Constructors
constructor
-
Parameters
-
-
-
Default value rootGroup: ProjectionGroup = null
-
Default value constraints: any[] = null
-
Default value avoidOverlaps: boolean = false
Properties
Private avoidOverlaps
avoidOverlaps: boolean
Methods
Private createAlignment
- createAlignment(c: any): void
Private createConstraints
- createConstraints(constraints: any[]): void
Private makeFeasible
- makeFeasible(c: any): void
Private project
- project(x0: number[], y0: number[], start: number[], desired: number[], getDesired: function, cs: Constraint[], generateConstraints: function, updateNodeBounds: function, updateGroupBounds: function): void
-
Parameters
-
x0: number[]
-
y0: number[]
-
start: number[]
-
desired: number[]
-
getDesired: function
-
-
Parameters
Returns number
-
-
generateConstraints: function
-
updateNodeBounds: function
-
updateGroupBounds: function
Returns void
projectFunctions
- projectFunctions(): function[]
Private setupVariablesAndBounds
- setupVariablesAndBounds(x0: number[], y0: number[], desired: number[], getDesired: function): void
-
Parameters
-
x0: number[]
-
y0: number[]
-
desired: number[]
-
getDesired: function
-
-
Parameters
Returns number
Returns void
Private solve
-
Parameters
-
-
-
starting: number[]
-
desired: number[]
Returns void
xProject
- xProject(x0: number[], y0: number[], x: number[]): void
-
Parameters
-
x0: number[]
-
y0: number[]
-
x: number[]
Returns void
yProject
- yProject(x0: number[], y0: number[], y: number[]): void
-
Parameters
-
x0: number[]
-
y0: number[]
-
y: number[]
Returns void