BlockSuite API Documentation / @blocksuite/affine-block-surface / AStarRunner
Class: AStarRunner
Constructors
new AStarRunner()
new AStarRunner(
points
,_sp
,_ep
,_originalSp
,_originalEp
,blocks
,expandBlocks
):AStarRunner
Parameters
points
IVec3
[]
_sp
IVec3
_ep
IVec3
_originalSp
IVec3
_originalEp
IVec3
blocks
Bound
[] = []
expandBlocks
Bound
[] = []
Returns
Defined in
packages/affine/block-surface/src/utils/a-star.ts:74
Accessors
path
Get Signature
get path():
IVec3
[]
Returns
IVec3
[]
Defined in
packages/affine/block-surface/src/utils/a-star.ts:56
Methods
reset()
reset():
void
Returns
void
Defined in
packages/affine/block-surface/src/utils/a-star.ts:119
run()
run():
void
Returns
void
Defined in
packages/affine/block-surface/src/utils/a-star.ts:128
step()
step():
void
Returns
void
Defined in
packages/affine/block-surface/src/utils/a-star.ts:134