Search
Preparing search index...
The search index is not available
@motor/core
Options
All
Public
Public/Protected
All
Inherited
Menu
@motor/core
default
MeasureMultiplePointPrimitive
Class MeasureMultiplePointPrimitive
Hierarchy
DrawPrimitive
MeasureMultiplePointPrimitive
Index
Constructors
constructor
Properties
_viewer
assist
Distance
assist
Line
assist
Pt
distance
end
Point
Color
point
point
Collection
polyline
Collection
total
Line
Color
viewer
Methods
calc
Distance
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
start
Draw
Line
vector3
Ary
ToNum
Ary
Constructors
constructor
new
Measure
Multiple
Point
Primitive
(
viewer
:
Viewer
)
:
MeasureMultiplePointPrimitive
Parameters
viewer:
Viewer
Returns
MeasureMultiplePointPrimitive
Properties
_viewer
_viewer
:
Viewer
assist
Distance
assist
Distance
:
number
Optional
assist
Line
assist
Line
:
Polyline
Optional
assist
Pt
assist
Pt
:
PointPrimitive
distance
distance
:
number
end
Point
Color
end
Point
Color
:
Color
point
point
:
Vector3
[]
point
Collection
point
Collection
:
PointCollection
polyline
Collection
polyline
Collection
:
PolylineCollection
total
Line
Color
total
Line
Color
:
Color
viewer
viewer
:
Viewer
Methods
calc
Distance
calc
Distance
(
pointAry
:
[
Vector3
,
Vector3
]
)
:
number
Parameters
pointAry:
[
Vector3
,
Vector3
]
Returns
number
calculate
End
calculate
End
(
total
:
number
)
:
void
Parameters
total:
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
start
Draw
Line
start
Draw
Line
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
vector3
Ary
ToNum
Ary
vector3
Ary
ToNum
Ary
(
vec3Ary
:
Vector3
[]
)
:
number
[]
Parameters
vec3Ary:
Vector3
[]
Returns
number
[]
Exports
default
default.
Motor
Core
Measure
Multiple
Point
Primitive
constructor
_viewer
assist
Distance
assist
Line
assist
Pt
distance
end
Point
Color
point
point
Collection
polyline
Collection
total
Line
Color
viewer
calc
Distance
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
start
Draw
Line
vector3
Ary
ToNum
Ary