An optionally time-dynamic vector.
Name | Type | Description |
---|---|---|
options |
VectorGraphics.ConstructorOptions | optional Object describing initialization options |
Members
color : Property|undefined
packages/ion-sdk-geometry/Source/DataSources/VectorGraphics.js 66
readonly definitionChanged : Event
packages/ion-sdk-geometry/Source/DataSources/VectorGraphics.js 55
Gets the event that is raised whenever a new property is assigned.
direction : Property|undefined
packages/ion-sdk-geometry/Source/DataSources/VectorGraphics.js 80
Gets or sets the
Cartesian3
Property
specifying the the vector's direction.
length : Property|undefined
packages/ion-sdk-geometry/Source/DataSources/VectorGraphics.js 87
Gets or sets the numeric
Property
specifying the the vector's graphical length in meters.
minimumLengthInPixels : Property|undefined
packages/ion-sdk-geometry/Source/DataSources/VectorGraphics.js 94
Gets or sets the numeric
Property
specifying the the vector's minimum length in pixel.
show : Property|undefined
packages/ion-sdk-geometry/Source/DataSources/VectorGraphics.js 73
Gets or sets the boolean
Property
specifying the vector's visibility.
Methods
clone(result) → VectorGraphics
packages/ion-sdk-geometry/Source/DataSources/VectorGraphics.js 103
Duplicates a VectorGraphics instance.
Name | Type | Description |
---|---|---|
result |
VectorGraphics | optional The object onto which to store the result. |
Returns:
The modified result parameter or a new instance if one was not provided.
Assigns each unassigned property on this object to the value
of the same property on the provided source object.
Name | Type | Description |
---|---|---|
source |
VectorGraphics | The object to be merged into this object. |
Type Definitions
IonSdkGeometry.VectorGraphics.ConstructorOptions
packages/ion-sdk-geometry/Source/DataSources/VectorGraphics.js 9
Initialization options for the VectorGraphics constructor
Properties:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
show |
Property | Boolean |
<optional> |
true | Determines if the vector will be shown. |
position |
Property | Cartesian3 |
<optional> |
Cartesian3.ZERO | The position of the origin of the vector in WGS84 coordinates. |
direction |
Property | Cartesian3 |
<optional> |
Cartesian3.UNIT_Y | The direction of the vector in WGS84 coordinates. This is assumed to be normalized. |
length |
Property | Number |
<optional> |
1.0 | The length of the vector in meters. |
minimumLengthInPixels |
Property | Number |
<optional> |
0.0 | The minimum length of the vector in pixels. |
color |
Property | Color |
<optional> |
Color.WHITE | The color of the vector. The alpha value is ignored; the vector is always opaque. |