Search
Preparing search index...
The search index is not available
@motor/core
Options
All
Public
Public/Protected
All
Inherited
Menu
@motor/core
default
MeasureThreePointAnglePrimitive
Class MeasureThreePointAnglePrimitive
Hierarchy
DrawPrimitive
MeasureThreePointAnglePrimitive
Index
Constructors
constructor
Properties
_viewer
angle
assist
Line
assist
Mod
Ary
assist
Pt
end
Point
Color
point
point
Collection
polyline
Collection
tmp
Mod
Ary
total
Line
Color
viewer
Methods
calc
Angle
calculate
End
choose
Point
destroy
destroy
Primitive
Collection
draw
Bounding
Box
draw
Line
draw
Point
force
Update
init
on
Mousemove
remove
remove
All
remove
All
Point
remove
All
Polyline
vector3
Ary
ToNum
Ary
Constructors
constructor
new
Measure
Three
Point
Angle
Primitive
(
viewer
:
Viewer
)
:
MeasureThreePointAnglePrimitive
Parameters
viewer:
Viewer
Returns
MeasureThreePointAnglePrimitive
Properties
_viewer
_viewer
:
Viewer
angle
angle
:
number
Optional
assist
Line
assist
Line
:
Polyline
assist
Mod
Ary
assist
Mod
Ary
:
ModCZML
[]
Optional
assist
Pt
assist
Pt
:
PointPrimitive
end
Point
Color
end
Point
Color
:
Color
point
point
:
Vector3
[]
point
Collection
point
Collection
:
PointCollection
polyline
Collection
polyline
Collection
:
PolylineCollection
tmp
Mod
Ary
tmp
Mod
Ary
:
ModCZML
[]
total
Line
Color
total
Line
Color
:
Color
viewer
viewer
:
Viewer
Methods
calc
Angle
calc
Angle
(
pointAry
:
[
Vector3
,
Vector3
,
Vector3
]
)
:
number
Parameters
pointAry:
[
Vector3
,
Vector3
,
Vector3
]
Returns
number
calculate
End
calculate
End
(
angle
:
number
)
:
void
Parameters
angle:
number
Returns
void
choose
Point
choose
Point
(
e
:
MouseEvent
)
:
Promise
<
void
>
Parameters
e:
MouseEvent
Returns
Promise
<
void
>
destroy
destroy
(
)
:
void
Returns
void
destroy
Primitive
Collection
destroy
Primitive
Collection
(
)
:
void
Returns
void
draw
Bounding
Box
draw
Bounding
Box
(
box
:
Box
, lineColor
?:
Color
, lineWidth
?:
number
, useDash
?:
boolean
)
:
Polyline
Parameters
box:
Box
Optional
lineColor:
Color
Optional
lineWidth:
number
Optional
useDash:
boolean
Returns
Polyline
draw
Line
draw
Line
(
vec3
:
Vector3
[]
, lineColor
?:
Color
, lineWidth
?:
number
, useDash
?:
boolean
, cesiumMaterial
?:
CesiumMaterial
)
:
Polyline
Parameters
vec3:
Vector3
[]
Optional
lineColor:
Color
Optional
lineWidth:
number
Optional
useDash:
boolean
Optional
cesiumMaterial:
CesiumMaterial
Returns
Polyline
draw
Point
draw
Point
(
position
:
Vector3
, pointColor
?:
Color
, pixelSize
?:
number
)
:
PointPrimitive
Parameters
position:
Vector3
Optional
pointColor:
Color
Optional
pixelSize:
number
Returns
PointPrimitive
force
Update
force
Update
(
)
:
void
Returns
void
init
init
(
)
:
void
Returns
void
on
Mousemove
on
Mousemove
(
e
:
MouseEvent
)
:
Promise
<
void
>
Parameters
e:
MouseEvent
Returns
Promise
<
void
>
remove
remove
(
pointOrPolyline
:
PointPrimitive
|
Polyline
)
:
void
Parameters
pointOrPolyline:
PointPrimitive
|
Polyline
Returns
void
remove
All
remove
All
(
)
:
void
Returns
void
remove
All
Point
remove
All
Point
(
)
:
void
Returns
void
remove
All
Polyline
remove
All
Polyline
(
)
:
void
Returns
void
vector3
Ary
ToNum
Ary
vector3
Ary
ToNum
Ary
(
vec3Ary
:
Vector3
[]
)
:
number
[]
Parameters
vec3Ary:
Vector3
[]
Returns
number
[]
Exports
default
default.
Motor
Core
Measure
Three
Point
Angle
Primitive
constructor
_viewer
angle
assist
Line
assist
Mod
Ary
assist
Pt
end
Point
Color
point
point
Collection
polyline
Collection
tmp
Mod
Ary
total
Line
Color
viewer
calc
Angle
calculate
End
choose
Point
destroy
destroy
Primitive
Collection
draw
Bounding
Box
draw
Line
draw
Point
force
Update
init
on
Mousemove
remove
remove
All
remove
All
Point
remove
All
Polyline
vector3
Ary
ToNum
Ary