WebCAD-Lib-TS API 文档 - v1.0.0
Preparing search index...
PolygonCommand
Class PolygonCommand
Index
Constructors
constructor
Properties
center
Point
World
second
Point
World
sides
Count
draw
Callback
last
Sides
Methods
main
start
P1
P2
P3
DB1
getdist
Between
Constructors
constructor
new
PolygonCommand
()
:
PolygonCommand
Returns
PolygonCommand
Properties
center
Point
World
centerPointWorld
:
Point2D
second
Point
World
secondPointWorld
:
Point2D
sides
Count
sidesCount
:
number
draw
Callback
drawCallback
:
(
canvasPoint
:
Point2D
)
=>
void
Static
last
Sides
lastSides
:
number
= 4
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
>
DB1
DB1
()
:
Promise
<
void
>
Returns
Promise
<
void
>
getdist
Between
getdistBetween
(
firstPoint
:
Point2D
,
secondPoint
:
Point2D
)
:
number
Parameters
firstPoint
:
Point2D
secondPoint
:
Point2D
Returns
number
Settings
Member Visibility
Protected
Internal
Alpha
Beta
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
center
Point
World
second
Point
World
sides
Count
draw
Callback
last
Sides
Methods
main
start
P1
P2
P3
DB1
getdist
Between
WebCAD-Lib-TS API 文档 - v1.0.0
Loading...