cubing.js — API Reference - v0.56.1-dev
Go to main documentation 🔗
Preparing search index...
kpuzzle
KTransformation
Class KTransformation
Index
Constructors
constructor
Properties
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
:
KPuzzle
,
transformationData
:
KTransformationData
,
)
:
KTransformation
Parameters
kpuzzle
:
KPuzzle
transformationData
:
KTransformationData
Returns
KTransformation
Properties
Readonly
kpuzzle
kpuzzle
:
KPuzzle
Readonly
transformation
Data
transformationData
:
KTransformationData
Methods
apply
apply
(
source
:
KTransformationSource
)
:
KTransformation
Parameters
source
:
KTransformationSource
Returns
KTransformation
Deprecated
apply
Alg
applyAlg
(
alg
:
string
|
Alg
)
:
KTransformation
Parameters
alg
:
string
|
Alg
Returns
KTransformation
apply
Move
applyMove
(
move
:
string
|
Move
)
:
KTransformation
Parameters
move
:
string
|
Move
Returns
KTransformation
apply
Transformation
applyTransformation
(
t2
:
KTransformation
)
:
KTransformation
Parameters
t2
:
KTransformation
Returns
KTransformation
invert
invert
()
:
KTransformation
Returns
KTransformation
is
Identical
isIdentical
(
t2
:
KTransformation
)
:
boolean
Parameters
t2
:
KTransformation
Returns
boolean
is
Identity
Transformation
isIdentityTransformation
()
:
boolean
Returns
boolean
repetition
Order
repetitionOrder
()
:
number
Returns
number
self
Multiply
selfMultiply
(
amount
:
number
)
:
KTransformation
Parameters
amount
:
number
Returns
KTransformation
toJSON
toJSON
()
:
any
Returns
any
toKPattern
toKPattern
()
:
KPattern
Returns
KPattern
Static
experimental
Construct
Identity
experimentalConstructIdentity
(
kpuzzle
:
KPuzzle
)
:
KTransformation
Parameters
kpuzzle
:
KPuzzle
Returns
KTransformation
Deprecated
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
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
Go to main documentation 🔗
cubing.js — API Reference - v0.56.1-dev
Loading...
Deprecated