PlotPieRadar

Sector radar, inherited fromPlotRotateRadar

new SuperMap3D.PlotPieRadar(options, scene)

Name Type Description
options Object The parameters required to initialize the radar:
Name Type Default Description
point Cartesian3 Radar position point
slicePartitions Number 12 optional Number of points on the horizontal cross-section plane
rotateAngle Number 60 optional Radar cross section rotation angle
nVerticalStartAngle Number 335 optional Radar vertical opening starting angle
nVerticalEndAngle Number 385 optional Radar vertical opening end angle
nRowAngle Number 5 optional The angle of each layer of the radar
show boolean true optional Whether to show
isFill boolean true optional Does the radar show fill?
isOutline boolean false optional Does the radar show gridlines?
fillColor Color new Color(1, 0, 0, 0.5) optional Radar Envelope Fill Color
outlineColor Color new Color(1, 0, 0, 1) optional Radar grid line color
outlineWidth Number 1.0 optional Radar grid line width
rotate Cartesian3 optional Radar rotation angle, in degrees
isShowScan boolean false optional Whether to display the scan lobe
scanCount Number 1.0 optional Number of scanning lobes
scanColor Color new Color(1, 0, 0, 0.5) optional Radar scan lobe color
isVerticalScan boolean false optional Whether to scan vertically
scene Scene Current 3D scene

Extends

Members

customPts : Array.<Cartesian2>

Rotating Radar 2D Polygon Point String
Inherited From:

dScanSpeed : Number

Scanning lobe rotation speed (how many degrees per second)
Inherited From:
Default Value: 1

isVerticalScan : Boolean

Does the radar scan up and down?
Default Value: false

nRowAngle : Number

The angle of each layer of the radar
Default Value: 5

nVerticalEndAngle : Number

Radar vertical end angle
Default Value: 385

nVerticalStartAngle : Number

Radar vertical start angle
Default Value: 335

radii : MPoint3D

Radar radius

Methods

addScan(scan)

Add radar scan lobe
Name Type Description
scan PlotRotateRadarScan
Inherited From:

destroy()

Release resources

getScanArray()Array.<PlotRotateRadarScan>

Get the array of radar lobes
Returns:
Array of radar lobes
Inherited From:

getVerticalScanFillColor()Color

Get the upper and lower scanning lobe fill color
Returns:
Upper and lower scanning filler color

getVerticalScanisFill()Boolean

Get whether the upper and lower scanning lobes are filled
Returns:
Whether the upper and lower scanning lobes are filled

getVerticalScanisOutline()Boolean

Get whether the upper and lower scanning lobes display sidelines
Returns:
Whether the upper and lower scanning lobes show sidelines

getVerticalScanOutLineColor()Color

Get the upper and lower scanning lobe edge line color
Returns:
Upper and lower scanning lobe edge line color

removeAllScanArray()

Delete all scan lobes
Inherited From:

removeScan(index)Boolean

Deletes the scan lobe for the specified index
Name Type Description
index Number
Returns:
Deleted result
Inherited From:

setScan(scan, index)Boolean

Replace the designated scan lobe with a new scan lobe
Name Type Description
scan PlotRotateRadarScan
index Number
Returns:
True on success, false otherwise.
Inherited From:

setScanArray(scanArray)Array.<PlotRotateRadarScan>

Set the array of radar scanning lobes
Name Type Description
scanArray PlotRotateRadarScan
Returns:
Array of radar scanning lobes
Inherited From:

setVerticalScanFillColor(value)

Set fill color of upper and lower scanning lobe
Name Type Description
value Color Vaule of color

setVerticalScanisFill(value)

Set whether the upper and lower scanning lobes are filled
Name Type Description
value Boolean

setVerticalScanisOutline(value)

Set whether the upper and lower scanning lobes display sidelines
Name Type Description
value Boolean

setVerticalScanOutLineColor(value)

Set the upper and lower scanning lobe edge line color
Name Type Description
value Color