ITerrainArc80

The arc object is similar to the ellipse object but with the additional ability to set start and end angles that define the arc.

 

 

Properties

 

Action

An IAction80 representing the operation that takes place when the object is clicked in the Project Tree.

Attachment

An IAttachment80 representing the attachment behavior of the arc.

EndAngle

Gets and sets the angle at which the arc ends.

FillStyle

An IFillStyle80 representing the fill color and texture of the object.

ID

Gets the ID of the object. (Inherited from ITerraExplorerObject80)

LineStyle

An ILineStyle80 representing the style of the object outline.

Message

An IMessageObject80 representing the message object assigned to the object.

NumberOfSegments

Gets and sets the number of segments the arc has.

ObjectType

Gets an enum that identifies the type of the object. (Inherited from ITerraExplorerObject80)

Position

An IPosition80 representing the position and orientation of the object on the terrain.

Radius

Gets and sets the radius of the arc.

Radius2

Gets and sets the radius of the ellipse along its North-South axis.

SaveInFlyFile

Gets and sets a Boolean that determines whether the object is saved in the Fly file. (Inherited from ITerraExplorerObject80)

StartAngle

Gets and sets the starting angle of the arc.

Terrain

An ITerrainObject80 representing terrain properties including draw order and ground object status.

TimeSpan

An ITimeSpan80 representing the timespan in which the object is visible on the terrain.

Tooltip

An ITooltip80 representing the tooltip that displays when a mouse cursor is placed over the object in the 3D Window.

TreeItem

An ITreeItem80 describing the representation of the object in the Project Tree.

Visibility

An IVisibility80 representing the visibility of the object at different distances.

 

Methods

 

GetClientData

Gets an array of text strings assigned to each object global namespace. (Inherited from ITerraExplorerObject80)

GetParam

Reserved. Currently not used. (Inherited from ITerraExplorerObject80)

SetClientData

Sets an array of text strings assigned to each object global namespace. (Inherited from ITerraExplorerObject80)

SetParam

Reserved. Currently not used. (Inherited from ITerraExplorerObject80)

EndAngle

Gets and sets the angle at which the arc ends. The arc is built going clockwise. The StartAngle and EndAngle are relative to the arc’s yaw and not to the North. Choosing a StartAngle of –90 degrees and an EndAngle of 90 degrees always gives you the upper half of an ellipse regardless of the direction that the arc is aligned to.

 

JavaScript

 

 

 

EndAngle

 

C#

 

 

 

double EndAngle { get; set; }

 

C++

 

 

 

HRESULT EndAngle([out, retval] double* pVal)

HRESULT EndAngle([in] double pVal)

NumberOfSegments

Gets and sets the number of segments the arc has. The more segments, the smoother and more circular it appears.

 

JavaScript

 

 

 

NumberOfSegments

 

C#

 

 

 

int NumberOfSegments { get; set; }

 

C++

 

 

 

HRESULT NumberOfSegments([out, retval] long* pVal)

HRESULT NumberOfSegments([in] long pVal)

Radius

Gets and sets the radius of the arc in meters.

 

JavaScript

 

 

 

Radius

 

C#

 

 

 

double Radius { get; set; }

 

C++

 

 

 

HRESULT Radius([out, retval] double* pVal)

HRESULT Radius([in] double pVal)

Radius2

Gets and sets the radius of the ellipse along its North-South axis, in meters.

 

JavaScript

 

 

 

Radius2

 

C#

 

 

 

double Radius2 { get; set; }

 

C++

 

 

 

HRESULT Radius2([out, retval] double* pVal)

HRESULT Radius2([in] double pVal)

StartAngle

Gets and sets the starting angle of the arc. The arc is built going clockwise.

 

JavaScript

 

 

 

StartAngle

 

C#

 

 

 

double StartAngle { get; set; }

 

C++

 

 

 

 

HRESULT StartAngle([out, retval] double* pVal)

HRESULT StartAngle([in] double pVal)