public class AuxiliaryPlottingManager
extends com.supermap.data.InternalHandleDisposable
构造器和说明 |
---|
AuxiliaryPlottingManager()
构造函数
|
AuxiliaryPlottingManager(long handle)
已过时。
|
限定符和类型 | 方法和说明 |
---|---|
boolean |
addHistory(AuxiliaryPlottingHistory history)
添加记录
|
boolean |
deleteHistory(String strUUID)
删除记录
|
void |
deleteHistorys()
删除所有记录
|
void |
dispose()
释放对象
|
int |
drawGeoGraphicObjectByCoordinate(DatasetVector layer,
String strCoordinate,
int nLibID,
int nCode,
String strParam4)
绘制标绘对象
|
int |
drawGeoGraphicObjectByPlaceName(DatasetVector layer,
String strPlaceNameParam,
int nLibID,
int nCode,
String strParam4)
绘制标绘对象
|
double |
getCentralMeridian()
获取中央经线
|
int |
getDenominatorOfMapScale()
获取地图比例尺分母
|
double |
getGridSpace()
获取格网间距
|
AuxiliaryPlottingHistory[] |
getHistorys()
获取所有记录
|
Point2D |
getNortheastPt()
获取东北角廓点
|
PrjCoordSys |
getPrjCoordSys()
获取公里网投影
|
Point2D |
getSouthwestPt()
获取西南角廓点
|
int |
getTapNum()
获取带号
|
double |
getZoning()
获取分带方式
|
boolean |
gridPointToMapPoint(Point2D gridPoint,
PrjCoordSys mapPrjCoordSys,
Point2D mapPoint)
公里网坐标转地图坐标
|
boolean |
initByDataSource(Datasource dataSource)
初始化公里网参数
|
boolean |
initByMap(Map map)
初始化公里网参数
|
boolean |
isHistoryExist(String strUUID)
记录是否存在
|
boolean |
isInitKilometreNetwork()
公里网参数是否初始化
|
boolean |
mapLocation(Map map,
Point2D pt,
double dHeight,
Point2D locationPt)
地图定位
|
boolean |
mapLocation(Map map,
String strPlaceName,
Point2D locationPt)
地图定位
|
boolean |
mapLocation(Map map,
String strPlaceName,
Point2D pt,
Point2D locationPt)
地图定位
|
boolean |
mapPointToGridPoint(Point2D mapPoint,
PrjCoordSys mapPrjCoordSys,
Point2D gridPoint)
地图坐标转公里网坐标
|
void |
setCentralMeridian(double centralMeridian)
设置中央经线
|
void |
setDenominatorOfMapScale(int denominatorOfMapScale)
设置地图比例尺分母
|
void |
setGridSpace(double gridSpace)
设置格网间距
|
void |
setNortheastPt(Point2D pt)
设置东北角廓点
|
void |
setSouthwestPt(Point2D pt)
设置西南角廓点
|
void |
setTapNum(int tapNum)
设置带号
|
void |
setWorkspace(Workspace workspace)
设置工作空间
|
void |
setZoning(double zoning)
设置分带方式
|
public AuxiliaryPlottingManager()
@Deprecated public AuxiliaryPlottingManager(long handle)
handle
- 辅助标图管理类句柄public void dispose()
public void setWorkspace(Workspace workspace)
workspace
- 工作空间public void setGridSpace(double gridSpace)
gridSpace
- 格网间距public double getGridSpace()
public void setSouthwestPt(Point2D pt)
pt
- 西南角廓点public Point2D getSouthwestPt()
public void setNortheastPt(Point2D pt)
pt
- 东北角廓点public Point2D getNortheastPt()
public void setCentralMeridian(double centralMeridian)
centralMeridian
- 中央经线public double getCentralMeridian()
public void setZoning(double zoning)
zoning
- 分带方式public double getZoning()
public void setTapNum(int tapNum)
tapNum
- 带号public int getTapNum()
public void setDenominatorOfMapScale(int denominatorOfMapScale)
denominatorOfMapScale
- 地图比例尺分母public int getDenominatorOfMapScale()
public PrjCoordSys getPrjCoordSys()
public boolean isInitKilometreNetwork()
public boolean initByDataSource(Datasource dataSource)
dataSource
- GJB数据源public boolean initByMap(Map map)
map
- 地图对象public int drawGeoGraphicObjectByCoordinate(DatasetVector layer, String strCoordinate, int nLibID, int nCode, String strParam4)
layer
- CAD数据集strCoordinate
- 坐标字符串nLibID
- 标号库编码nCode
- 标号编码strParam4
- 图片、模型标号的资源路径public int drawGeoGraphicObjectByPlaceName(DatasetVector layer, String strPlaceNameParam, int nLibID, int nCode, String strParam4)
layer
- CAD数据集strPlaceNameParam
- 地名参数nLibID
- 标号库编码nCode
- 标号编码strParam4
- 图片、模型标号的资源路径public boolean mapLocation(Map map, Point2D pt, double dHeight, Point2D locationPt)
map
- 地图对象pt
- 公里网坐标dHeight
- 高程locationPt
- 定位点public boolean mapLocation(Map map, String strPlaceName, Point2D pt, Point2D locationPt)
map
- 地图对象strPlaceName
- 地名pt
- 公里网坐标locationPt
- 定位点public boolean mapLocation(Map map, String strPlaceName, Point2D locationPt)
map
- 地图对象strPlaceName
- 地名locationPt
- 定位点public boolean addHistory(AuxiliaryPlottingHistory history)
history
- 记录对象public boolean deleteHistory(String strUUID)
strUUID
- 标号UUIDpublic void deleteHistorys()
public AuxiliaryPlottingHistory[] getHistorys()
public boolean isHistoryExist(String strUUID)
strUUID
- 标号UUIDpublic boolean mapPointToGridPoint(Point2D mapPoint, PrjCoordSys mapPrjCoordSys, Point2D gridPoint)
mapPoint
- 地图坐标点mapPrjCoordSys
- 坐标投影gridPoint
- 公里网坐标点public boolean gridPointToMapPoint(Point2D gridPoint, PrjCoordSys mapPrjCoordSys, Point2D mapPoint)
gridPoint
- 公里网坐标点mapPrjCoordSys
- 坐标投影mapPoint
- 地图坐标点Copyright © 2021–2024 SuperMap. All rights reserved.