Go to main documentation 🔗
Preparing search index...
The search index is not available
cubing.js — API Reference - v0.48.3
cubing.js — API Reference
kpuzzle
KTransformation
Class KTransformation
Index
Constructors
constructor
Properties
#cached
Is
Identity
kpuzzle
transformation
Data
Methods
apply
apply
Alg
apply
Move
apply
Transformation
invert
is
Identical
is
Identity
Transformation
repetition
Order
self
Multiply
toJSON
toKPattern
experimental
Construct
Identity
Constructors
constructor
new KTransformation
(
kpuzzle
,
transformationData
)
:
KTransformation
Parameters
kpuzzle
:
KPuzzle
transformationData
:
KTransformationData
Returns
KTransformation
Properties
Private
#cached
Is
Identity
#cached
Is
Identity
:
undefined
|
boolean
Readonly
kpuzzle
kpuzzle
:
KPuzzle
Readonly
transformation
Data
transformation
Data
:
KTransformationData
Methods
apply
apply
(
source
)
:
KTransformation
Parameters
source
:
KTransformationSource
Returns
KTransformation
Deprecated
apply
Alg
apply
Alg
(
alg
)
:
KTransformation
Parameters
alg
:
string
|
Alg
Returns
KTransformation
apply
Move
apply
Move
(
move
)
:
KTransformation
Parameters
move
:
string
|
Move
Returns
KTransformation
apply
Transformation
apply
Transformation
(
t2
)
:
KTransformation
Parameters
t2
:
KTransformation
Returns
KTransformation
invert
invert
(
)
:
KTransformation
Returns
KTransformation
is
Identical
is
Identical
(
t2
)
:
boolean
Parameters
t2
:
KTransformation
Returns
boolean
is
Identity
Transformation
is
Identity
Transformation
(
)
:
boolean
Returns
boolean
repetition
Order
repetition
Order
(
)
:
number
Returns
number
self
Multiply
self
Multiply
(
amount
)
:
KTransformation
Parameters
amount
:
number
Returns
KTransformation
toJSON
toJSON
(
)
:
any
Returns
any
toKPattern
toKPattern
(
)
:
KPattern
Returns
KPattern
Static
experimental
Construct
Identity
experimental
Construct
Identity
(
kpuzzle
)
:
KTransformation
Parameters
kpuzzle
:
KPuzzle
Returns
KTransformation
Deprecated
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
#cached
Is
Identity
kpuzzle
transformation
Data
apply
apply
Alg
apply
Move
apply
Transformation
invert
is
Identical
is
Identity
Transformation
repetition
Order
self
Multiply
toJSON
toKPattern
experimental
Construct
Identity
cubing.js — API Reference - v0.48.3
Loading...
Deprecated