Preparing search index...
The search index is not available
如视空间交互插件合集 - v3.61.1
如视空间交互插件合集
PanoMeasurePluginPolyline
Class PanoMeasurePluginPolyline
Index
Constructors
constructor
Properties
hook
id
lines
model
type
visible
Five
Mode?
visible
Pano
Indexes?
Accessors
points
Methods
add
Line
clear
from
Json
get
Last
Line
get
Last
Point
get
Point
ByID
get
Point
Length
includes
is
Empty
is
Last
Line
overlap
With
remove
Line
replace
to
Json
toJSON
Constructors
constructor
new
Pano
Measure
Plugin
Polyline
(
config
)
:
PanoMeasurePluginPolyline
Parameters
config
:
{
model
:
PanoMeasurePluginModel
;
}
model
:
PanoMeasurePluginModel
Returns
PanoMeasurePluginPolyline
Properties
Readonly
hook
hook
:
Subscribe
<
PolylineEventMap
>
= ...
id
id
:
string
= ...
lines
lines
:
PanoMeasurePluginLine
[]
= []
Readonly
model
model
:
PanoMeasurePluginModel
Readonly
type
type
:
"polyline"
= 'polyline'
Optional
visible
Five
Mode
visible
Five
Mode
?:
Mode
[]
Optional
visible
Pano
Indexes
visible
Pano
Indexes
?:
number
[]
Accessors
points
get
points
(
)
:
PanoMeasurePluginPoint
[]
Returns
PanoMeasurePluginPoint
[]
Methods
add
Line
add
Line
(
line
)
:
void
Parameters
line
:
PanoMeasurePluginLine
Returns
void
clear
clear
(
)
:
void
Returns
void
from
Json
from
Json
(
data
)
:
PanoMeasurePluginPolyline
Parameters
data
:
PanoMeasurePluginPolylineJson
Returns
PanoMeasurePluginPolyline
get
Last
Line
get
Last
Line
(
)
:
PanoMeasurePluginLine
Returns
PanoMeasurePluginLine
get
Last
Point
get
Last
Point
(
)
:
PanoMeasurePluginPoint
Returns
PanoMeasurePluginPoint
get
Point
ByID
get
Point
ByID
(
id
)
:
PanoMeasurePluginPoint
Parameters
id
:
string
Returns
PanoMeasurePluginPoint
get
Point
Length
get
Point
Length
(
)
:
number
@description: 获取连续线段的顶点数量
Returns
number
includes
includes
(
item
)
:
boolean
Parameters
item
:
PanoMeasurePluginPoint
|
PanoMeasurePluginLine
Returns
boolean
is
Empty
is
Empty
(
)
:
boolean
Returns
boolean
is
Last
Line
is
Last
Line
(
line
)
:
boolean
Parameters
line
:
PanoMeasurePluginLine
Returns
boolean
overlap
With
overlap
With
(
item
)
:
boolean
是否产生重叠
Parameters
item
:
PanoMeasurePluginPoint
|
PanoMeasurePluginLine
|
PanoMeasurePluginPolyline
Returns
boolean
remove
Line
remove
Line
(
line
)
:
void
Parameters
line
:
PanoMeasurePluginLine
Returns
void
replace
replace
(
polyline
)
:
void
Parameters
polyline
:
PanoMeasurePluginPolyline
Returns
void
to
Json
to
Json
(
)
:
PanoMeasurePluginPolylineJson
Returns
PanoMeasurePluginPolylineJson
toJSON
toJSON
(
)
:
PanoMeasurePluginPolylineJson
Returns
PanoMeasurePluginPolylineJson
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
hook
id
lines
model
type
visible
Five
Mode
visible
Pano
Indexes
Accessors
points
Methods
add
Line
clear
from
Json
get
Last
Line
get
Last
Point
get
Point
ByID
get
Point
Length
includes
is
Empty
is
Last
Line
overlap
With
remove
Line
replace
to
Json
toJSON
如视空间交互插件合集 - v3.61.1
Loading...
@description: 获取连续线段的顶点数量