PlotParameterRadar

new SuperMap3D.PlotParameterRadar(options, scene)

Parameter radar, inherited fromPlotRadarBase
Name Type Description
options Object The parameters required to initialize the radar:
Name Type Default Description
id String optional Radar ID
point Cartesian3 Radar position point, in latitude and longitude
rotate Cartesian3 optional Radar rotation angle, in degrees
show boolean true optional Whether to show
radii Cartesian3 optional Radar external envelope radius
innerRadii Cartesian3 optional Radar internal envelope radius
minimumClock number 0.0 optional The minimum Angle of the horizontal direction of the radar, which determines whether the horizontal section of the radar is a circle or a sector
maximumClock number 2*PI optional The maximum Angle of the horizontal direction of the radar, which determines whether the horizontal section of the radar is a circle or a sector
minimumCone number 0.0 optional The minimum angle of the radar in the vertical direction
maximumCone number PI optional The maximum angle of the radar in the vertical direction
isFill boolean true optional Does the radar show fill?
fillColor Color new Color(1, 0, 0, 0.5) optional Fill color of radar envelope
isOutline boolean false optional Does the radar show gridlines?
outlineColor Color new Color(1, 0, 0, 1) optional Line color of radar grid
outlineWidth number 1.0 optional Line width of radar grid
scanColor Color new Color(1, 0, 0, 0.8) optional Radar scan lobe color
isShowScan boolean false optional Whether to display the scan lobe
scanCount Number 1.0 optional Number of scanning lobes
stackPartitions number 64 optional Number of vertical segmentation
slicePartitions number 64 optional Number of horizontal segmentation
scene Scene Current 3D scene

Extends

Members

fillColor : Color

Fill color of envelope
Inherited From:
Default Value: new MGIS_SuperMap3D.Color(1, 0, 0, 0.5)

hideFillDis : Number

The minimum distance to hide the envelope
Inherited From:

hideLinesDis : Number

Minimum distance to hide grid lines
Inherited From:

hideScanDis : Number

Minimum distance to hide the scan lobe
Inherited From:

id : String

Radar ID
Inherited From:
Default Value: uuid

innerRadii : MPoint3D

Radar inner radius
Default Value: MPoint3D(0,0,0)

isFill : Boolean

Whether to show the fill envelope
Inherited From:
Default Value: true

isOutline : Boolean

Whether to display gridlines
Inherited From:
Default Value: true

isShowScan : Boolean

Whether to display the scan lobe
Inherited From:
Default Value: true

material : Color

Uniformly set the envelope and grid line colors, with the edge line transparency being twice the input value, capped at a maximum of 1
Inherited From:
Default Value: new MGIS_SuperMap3D.Color(1, 0, 0, 0.5)

maximumClock : Number

The maximum Angle of the horizontal direction of the radar, which determines whether the horizontal section of the radar is a circle or a sector
Default Value: 360

maximumCone : Number

The maximum angle of the radar in the vertical direction
Default Value: 360

minimumClock : Number

The minimum Angle of the horizontal direction of the radar, which determines whether the horizontal section of the radar is a circle or a sector
Default Value: 0

minimumCone : Number

The minimum angle of the radar in the vertical direction
Default Value: 0

offset : MPoint3D

Radar position offset
Inherited From:
Default Value: MPoint3D(0,0,0)

outlineColor : Color

Grid line color
Inherited From:
Default Value: new MGIS_SuperMap3D.Color(1, 0, 0, 1)

outlineMaterial : Material

Grid line material,is mutually exclusive with grid line color, only one can be effective at a time.
Inherited From:
Default Value: undefined

outlineWidth : Number

Grid line width of radar
Inherited From:
Default Value: 0.5

point : MPoint3D

Radar position point
Inherited From:
Default Value: MPoint3D(0,0,0)

radii : MPoint3D

Radar external radius
Default Value: MPoint3D(0,0,0)

rotate : MPoint3D

Radar rotation angle
Inherited From:
Default Value: MPoint3D(0,0,0)

rotateAngle : Number

Radar rotation angle
Inherited From:
Default Value: 360

scale : Number

Radar scaling
Inherited From:
Default Value: 1

show : Boolean

Whether to show
Inherited From:
Default Value: true

slicePartitions : Number

Number of horizontal segmentation
Inherited From:
Default Value: 67

stackPartitions : Number

Number of vertical segmentation
Inherited From:
Default Value: 67

Methods

addScan(scan)

Add radar scan lobe
Name Type Description
scan PlotParameterRadarScan

clone(result)PlotParameterRadar

Clone.
Name Type Description
result PlotParameterRadar optional The source object to copy
Returns:
The target object by copied

destroy()

Release resources

getEffectParameter()Object

Get effect properties
Returns:
Effect properties
Inherited From:

getScanArray()Array.<PlotParameterRadarScan>

Get array of radar scan lobes
Returns:
Array of radar scan lobes

removeAllScanArray()

Delete all scan lobes

removeScan(index)Boolean

Deletes the scan lobe of the specified index
Name Type Description
index Number
Returns:
Whether the deletion was successful

setScan(scan, index)Boolean

Replace the designated scan lobe with a new scan lobe
Name Type Description
scan PlotParameterRadarScan
index Number
Returns:
If successful, return true; otherwise, return false.

setScanArray(scanArray)Array.<PlotParameterRadarScan>

Set array of radar scan lobes
Name Type Description
scanArray Array.<PlotParameterRadarScan>
Returns:
Array of radar scan lobes

toGeoJson_Super()Object

Effect object to Json object
Returns:
Json object
Inherited From:

updateEffect(options)

Set effect properties (subclasses need to be overridden)
Name Type Description
options Object Objects have the following properties:
Name Type Description
point MPoint3D optional Location point
rotate MPoint3D optional Rotation
scale Number optional Scale
visible Boolean optional Show/Hide
Inherited From: