WebCAD-Lib-TS API 文档 - v1.0.0
Preparing search index...
ArcCommand
Class ArcCommand
圆弧命令类
绘制圆弧的命令,支持三点画弧等多种方式。
Index
Constructors
constructor
Properties
first
Point
World
second
Point
World
third
Point
World
center
Point
World
scale
intermediate
Point
World
last
Position
is
Large
Arc
is
Counter
Clockwise
three
Point
Callback
center
Start
End
Callback
Methods
main
start
P1
P1_
Center
P2_
Center_
Start
Ang
P3_
Center_
Start
Ang_
End
Ang
P2
P3
DB_
Center_
Start
Ang_
End
Ang
DB1
get
Arc_
Center_
Start
Ang_
End
Ang
Constructors
constructor
new
ArcCommand
()
:
ArcCommand
Returns
ArcCommand
Properties
first
Point
World
firstPointWorld
:
Point2D
second
Point
World
secondPointWorld
:
Point2D
third
Point
World
thirdPointWorld
:
Point2D
center
Point
World
centerPointWorld
:
Point2D
scale
scale
:
number
intermediate
Point
World
intermediatePointWorld
:
Point2D
last
Position
lastPosition
:
number
is
Large
Arc
isLargeArc
:
boolean
is
Counter
Clockwise
isCounterClockwise
:
boolean
three
Point
Callback
threePointCallback
:
(
canvasPoint
:
any
)
=>
void
center
Start
End
Callback
centerStartEndCallback
:
(
canvasPoint
:
any
)
=>
void
Methods
main
main
()
:
Promise
<
void
>
Returns
Promise
<
void
>
start
start
()
:
Promise
<
void
>
Returns
Promise
<
void
>
P1
P1
()
:
Promise
<
void
>
Returns
Promise
<
void
>
P1_
Center
P1_Center
()
:
Promise
<
void
>
Returns
Promise
<
void
>
P2_
Center_
Start
Ang
P2_Center_StartAng
()
:
Promise
<
void
>
Returns
Promise
<
void
>
P3_
Center_
Start
Ang_
End
Ang
P3_Center_StartAng_EndAng
()
:
Promise
<
void
>
Returns
Promise
<
void
>
P2
P2
()
:
Promise
<
void
>
Returns
Promise
<
void
>
P3
P3
()
:
Promise
<
void
>
Returns
Promise
<
void
>
DB_
Center_
Start
Ang_
End
Ang
DB_Center_StartAng_EndAng
()
:
Promise
<
void
>
Returns
Promise
<
void
>
DB1
DB1
()
:
Promise
<
void
>
Returns
Promise
<
void
>
get
Arc_
Center_
Start
Ang_
End
Ang
getArc_Center_StartAng_EndAng
(
centerPoint
:
Point2D
,
startPoint
:
Point2D
,
endPoint
:
Point2D
,
isCounterClockwise
:
boolean
,
)
:
ArcEnt
Parameters
centerPoint
:
Point2D
startPoint
:
Point2D
endPoint
:
Point2D
isCounterClockwise
:
boolean
Returns
ArcEnt
Settings
Member Visibility
Protected
Internal
Alpha
Beta
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
first
Point
World
second
Point
World
third
Point
World
center
Point
World
scale
intermediate
Point
World
last
Position
is
Large
Arc
is
Counter
Clockwise
three
Point
Callback
center
Start
End
Callback
Methods
main
start
P1
P1_
Center
P2_
Center_
Start
Ang
P3_
Center_
Start
Ang_
End
Ang
P2
P3
DB_
Center_
Start
Ang_
End
Ang
DB1
get
Arc_
Center_
Start
Ang_
End
Ang
WebCAD-Lib-TS API 文档 - v1.0.0
Loading...
圆弧命令类
绘制圆弧的命令,支持三点画弧等多种方式。