geovisearth / Exports / EditorEllipsoid

# Class: EditorEllipsoid

球体

# Hierarchy

  • default

    EditorEllipsoid

# Table of contents

# Properties

# Accessors

# Methods

# Properties

# highLighted

highLighted: any

@private是否高亮

# Inherited from

EditorCubeBase.highLighted

# Defined in

PlottingTool/Graph.ts:129


# isChanged

isChanged: boolean = false

脏标记

# Inherited from

EditorCubeBase.isChanged

# Defined in

PlottingTool/Graph.ts:45


# properties

properties: any[] = []

属性

# Inherited from

EditorCubeBase.properties

# Defined in

PlottingTool/Graph.ts:136


# support2D

support2D: boolean = true

是否支持2维模式

# Inherited from

EditorCubeBase.support2D

# Defined in

PlottingTool/Graph.ts:109

# Accessors

# ctrlPosition

get ctrlPosition(): GvolPoint[]

控制点

# Returns

GvolPoint[]

# Inherited from

EditorCubeBase.ctrlPosition

# Defined in

PlottingTool/Graph.ts:355


# earth

get earth(): any

返回该对象的所属earth实例

# Returns

any

# Inherited from

EditorCubeBase.earth

# Defined in

PlottingTool/Graph.ts:1530

# Methods

# addCtlPoint

addCtlPoint(pos, index?): void

增加控制点

# Parameters

Name Type Default value Description
pos any undefined 经纬度位置点
index number undefined 插入位置

# Returns

void

# Inherited from

EditorCubeBase.addCtlPoint

# Defined in

PlottingTool/Graph.ts:886


# anchoring

Optional anchoring(): any

锚定

# Returns

any

# Inherited from

EditorCubeBase.anchoring

# Defined in

PlottingTool/Graph.ts:1486


# deleteCtlPoint

deleteCtlPoint(index): void

删除控制点

# Parameters

Name Type
index any

# Returns

void

# Inherited from

EditorCubeBase.deleteCtlPoint

# Defined in

PlottingTool/Graph.ts:1166


# deleteLastPoint

deleteLastPoint(): void

删除最后一个控制点

# Returns

void

# Inherited from

EditorCubeBase.deleteLastPoint

# Defined in

PlottingTool/Graph.ts:1154


# getBoundingRectangle

getBoundingRectangle(): Rectangle

获取 最小 Rectangle

# Returns

Rectangle

# Inherited from

EditorCubeBase.getBoundingRectangle

# Defined in

PlottingTool/Graph.ts:1503


# getCenter

getCenter(): Cartesian3

获取中心点

# Returns

Cartesian3

# Inherited from

EditorCubeBase.getCenter

# Defined in

PlottingTool/Graph.ts:1492


# getCtlPositions

getCtlPositions(): Cartesian3[]

返回当前graph的所有控制点坐标(cartesian3)

# Returns

Cartesian3[]

# Inherited from

EditorCubeBase.getCtlPositions

# Defined in

PlottingTool/Graph.ts:697


# getPerspective

getPerspective(): void

视角获取

# Returns

void

# Inherited from

EditorCubeBase.getPerspective

# Defined in

PlottingTool/Graph.ts:1537


# isCtlNumValid

isCtlNumValid(): boolean

返回当前ctl数量是否可以绘制图形 无限max点的图形比较min值,比如,polygon至少需要3个点,polyline至少需要2个点... 对于限定ctl数量的图形,ctlnum >= max 返回true

# Returns

boolean

# Inherited from

EditorCubeBase.isCtlNumValid

# Defined in

PlottingTool/Graph.ts:998


# ishaveMaxCtls

ishaveMaxCtls(): boolean

对于maxPointNum为指定值的图形,返回是否已达到最大ctl数量 比如rectange只需要2个点即可结束绘制

# Returns

boolean

# Inherited from

EditorCubeBase.ishaveMaxCtls

# Defined in

PlottingTool/Graph.ts:944


# moveHeight

moveHeight(start, end): void

垂直移动

# Parameters

Name Type
start Cartesian2
end Cartesian2

# Returns

void

# Inherited from

EditorCubeBase.moveHeight

# Defined in

PlottingTool/Graph.ts:1370


# movePosition

movePosition(start, end): void

水平移动

# Parameters

Name Type
start Cartesian2
end Cartesian2

# Returns

void

# Inherited from

EditorCubeBase.movePosition

# Defined in

PlottingTool/Graph.ts:1263


# rotateByHeading

Optional rotateByHeading(start, end): any

根据屏幕移动修改heading

# Parameters

Name Type
start Cartesian2
end Cartesian2

# Returns

any

# Inherited from

EditorCubeBase.rotateByHeading

# Defined in

PlottingTool/Graph.ts:1187


# rotateByPitch

Optional rotateByPitch(start, end): any

根据屏幕移动修改Pich

# Parameters

Name Type
start Cartesian2
end Cartesian2

# Returns

any

# Inherited from

EditorCubeBase.rotateByPitch

# Defined in

PlottingTool/Graph.ts:1201


# rotateByRoll

Optional rotateByRoll(start, end): any

根据屏幕移动修改Roll

# Parameters

Name Type
start Cartesian2
end Cartesian2

# Returns

any

# Inherited from

EditorCubeBase.rotateByRoll

# Defined in

PlottingTool/Graph.ts:1212


# setCtrlPosition

setCtrlPosition(index, ctrls): void

设置控制点

# Parameters

Name Type Description
index number 序号
ctrls any 控制点

# Returns

void

# Inherited from

EditorCubeBase.setCtrlPosition

# Defined in

PlottingTool/Graph.ts:710