PlotGeoEffectToolKit

new SuperMap3D.PlotGeoEffectToolKit()

Plotting object effects tool class

Methods

staticSuperMap3D.PlotGeoEffectToolKit.calcControlPoint(geoEntityParameter, pntOffset, scene)MPoint3D

Calculate the position point corresponding to the offset (asynchronous operation requires multiple acquisitions)
Name Type Description
geoEntityParameter GeoEntityParameter Geographic entity parameter
pntOffset MPoint3D Offset
scene scene Scene
Returns:
Successfully returns the 3D latitude and longitude point coordinates, otherwise returns null.

staticSuperMap3D.PlotGeoEffectToolKit.calcControlPosMatrix(geoEntityParameter, pntOffset, scene)

Calculate the matrix of the position point corresponding to the offset (asynchronous operation needs to be obtained multiple times), display the mode non-model, and directly return the model matrix of the control point.
Name Type Description
geoEntityParameter GeoEntityParameter Geographic entity parameter
pntOffset MPoint3D Offset
scene scene Scene
Returns:
Returns the matrix of the location points successfully, otherwise returns null.

staticSuperMap3D.PlotGeoEffectToolKit.cartesian3ToDegrees(position)MPoint3D

Cartesian point to latitude and longitude point
Name Type Description
position Cartesian3 Cartesian point
Returns:
Return latitude and longitude objects

staticSuperMap3D.PlotGeoEffectToolKit.degreesToCartesian3(position)Cartesian3

Latitude and longitude points to Cartesian points
Name Type Description
position MPoint3D Latitude and longitude point
Returns:
Cartesian point

staticSuperMap3D.PlotGeoEffectToolKit.getCustomSignTemplatePath(uri)

Get the corresponding collection of html templates for custom signage in the server
Name Type Description
uri String Server address
Returns:
HTML template collection

staticSuperMap3D.PlotGeoEffectToolKit.getPositionFromModelMatrix(modelMatrix)MPoint3D

Get latitude and longitude location points from the model matrix
Name Type Description
modelMatrix Matrix4 Model Matrix
Returns:
Location point