WebCAD-Lib-TS API 文档 - v1.0.0
Preparing search index...
RotateCommand
Class RotateCommand
旋转命令类
旋转选定实体的命令。
Index
Constructors
constructor
Properties
base
Point
World
base
Point
Ucs
second
Point
World
second
Point
Ucs
selection
Set
base
Angle
copy
Mode
rotate
Preview
Callback
Methods
main
start
P1
P2
P3
P3_
R
DB1_
rotate
Entities
With
Undo
Constructors
constructor
new
RotateCommand
()
:
RotateCommand
Returns
RotateCommand
Properties
base
Point
World
basePointWorld
:
Point2D
base
Point
Ucs
basePointUcs
:
Point2D
second
Point
World
secondPointWorld
:
Point2D
second
Point
Ucs
secondPointUcs
:
Point2D
selection
Set
selectionSet
:
any
[]
base
Angle
baseAngle
:
number
copy
Mode
copyMode
:
boolean
rotate
Preview
Callback
rotatePreviewCallback
:
(
canvasPoint
:
Point2D
)
=>
void
Methods
main
main
()
:
Promise
<
void
>
Returns
Promise
<
void
>
start
start
()
:
Promise
<
void
>
Returns
Promise
<
void
>
P1
P1
()
:
Promise
<
void
>
Returns
Promise
<
void
>
P2
P2
()
:
Promise
<
void
>
Returns
Promise
<
void
>
P3
P3
()
:
Promise
<
void
>
Returns
Promise
<
void
>
P3_
R
P3_R
()
:
Promise
<
void
>
Returns
Promise
<
void
>
DB1_
rotate
Entities
With
Undo
DB1_rotateEntitiesWithUndo
(
entities
:
any
[]
,
basePoint
:
Point2D
,
rotationAngle
:
number
,
)
:
Promise
<
void
>
Parameters
entities
:
any
[]
basePoint
:
Point2D
rotationAngle
:
number
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Internal
Alpha
Beta
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
base
Point
World
base
Point
Ucs
second
Point
World
second
Point
Ucs
selection
Set
base
Angle
copy
Mode
rotate
Preview
Callback
Methods
main
start
P1
P2
P3
P3_
R
DB1_
rotate
Entities
With
Undo
WebCAD-Lib-TS API 文档 - v1.0.0
Loading...
旋转命令类
旋转选定实体的命令。