EllipsoidGeometryUpdater - Cesium Documentation

# EllipsoidGeometryUpdater

#### new EllipsoidGeometryUpdater(entity, scene)

  A `GeometryUpdater` for ellipsoids. Clients do not normally create this class directly, but instead rely on `DataSourceDisplay`.

  Name | Type | Description
  --- | --- | ---
  `entity` | Entity | The entity containing the geometry to be visualized.
  `scene` | Scene | The scene where visualization is taking place.

  Source: DataSources/EllipsoidGeometryUpdater.js, line 82

### Members

#### staticEllipsoidGeometryUpdater.materialAppearanceType :Appearance

  Gets the type of Appearance to use for material-based geometry.
  Source: DataSources/EllipsoidGeometryUpdater.js, line 123

#### staticEllipsoidGeometryUpdater.perInstanceColorAppearanceType :Appearance

  Gets the type of Appearance to use for simple color-based geometry.
  Source: DataSources/EllipsoidGeometryUpdater.js, line 115

#### readonlyentity :Entity

  Gets the entity associated with this geometry.
  Source: DataSources/EllipsoidGeometryUpdater.js, line 136

#### readonlyfillEnabled :Boolean

  Gets a value indicating if the geometry has a fill component.
  Source: DataSources/EllipsoidGeometryUpdater.js, line 148

#### readonlyfillMaterialProperty :MaterialProperty

  Gets the material property used to fill the geometry.
  Source: DataSources/EllipsoidGeometryUpdater.js, line 175

#### readonlygeometryChanged :Boolean

  Gets an event that is raised whenever the public properties of this updater change.
  Source: DataSources/EllipsoidGeometryUpdater.js, line 265

#### readonlyhasConstantFill :Boolean

  Gets a value indicating if fill visibility varies with simulation time.
  Source: DataSources/EllipsoidGeometryUpdater.js, line 160

#### readonlyhasConstantOutline :Boolean

  Gets a value indicating if outline visibility varies with simulation time.
  Source: DataSources/EllipsoidGeometryUpdater.js, line 199

#### readonlyisClosed :Boolean

  Gets a value indicating if the geometry is closed. This property is only valid for static geometry.
  Source: DataSources/EllipsoidGeometryUpdater.js, line 254

#### readonlyisDynamic :Boolean

  Gets a value indicating if the geometry is time-varying. If true, all visualization is delegated to the `DynamicGeometryUpdater` returned by GeometryUpdater#createDynamicUpdater.
  Source: DataSources/EllipsoidGeometryUpdater.js, line 241

#### readonlyoutlineColorProperty :Property

  Gets the `Color` property for the geometry outline.
  Source: DataSources/EllipsoidGeometryUpdater.js, line 214

#### readonlyoutlineEnabled :Boolean

  Gets a value indicating if the geometry has an outline component.
  Source: DataSources/EllipsoidGeometryUpdater.js, line 187

#### readonlyoutlineWidth :Number

  Gets the constant with of the geometry outline, in pixels. This value is only valid if isDynamic is false.
  Source: DataSources/EllipsoidGeometryUpdater.js, line 227

### Methods

#### createDynamicUpdater(primitives) → DynamicGeometryUpdater

  Creates the dynamic updater to be used when GeometryUpdater#isDynamic is true.

  Name | Type | Description
  --- | --- | ---
  `primitives` | PrimitiveCollection | The primitive collection to use.

  ##### Returns:

  The dynamic updater used to update the geometry each frame.

  ##### Throws:

  - DeveloperError : This instance does not represent dynamic geometry.
  Source: DataSources/EllipsoidGeometryUpdater.js, line 493

#### createFillGeometryInstance(time) → GeometryInstance

  Creates the geometry instance which represents the fill of the geometry.

  Name | Type | Description
  --- | --- | ---
  `time` | JulianDate | The time to use when retrieving initial attribute values.

  ##### Returns:

  The geometry instance representing the filled portion of the geometry.

  ##### Throws:

  - DeveloperError : This instance does not represent a filled geometry.
  Source: DataSources/EllipsoidGeometryUpdater.js, line 302

#### createOutlineGeometryInstance(time) → GeometryInstance

  Creates the geometry instance which represents the outline of the geometry.

  Name | Type | Description
  --- | --- | ---
  `time` | JulianDate | The time to use when retrieving initial attribute values.

  ##### Returns:

  The geometry instance representing the outline portion of the geometry.

  ##### Throws:

  - DeveloperError : This instance does not represent an outlined geometry.
  Source: DataSources/EllipsoidGeometryUpdater.js, line 352

#### destroy()

  Destroys and resources used by the object. Once an object is destroyed, it should not be used.

  ##### Throws:

  - DeveloperError : This object was destroyed, i.e., destroy() was called.
  Source: DataSources/EllipsoidGeometryUpdater.js, line 393

#### isDestroyed() → Boolean

  Returns true if this object was destroyed; otherwise, false.

  ##### Returns:

  True if this object was destroyed; otherwise, false.
  Source: DataSources/EllipsoidGeometryUpdater.js, line 384

#### isFilled(time) → Boolean

  Checks if the geometry is filled at the provided time.

  Name | Type | Description
  --- | --- | ---
  `time` | JulianDate | The time for which to retrieve visibility.

  ##### Returns:

  true if geometry is filled at the provided time, false otherwise.
  Source: DataSources/EllipsoidGeometryUpdater.js, line 289

#### isOutlineVisible(time) → Boolean

  Checks if the geometry is outlined at the provided time.

  Name | Type | Description
  --- | --- | ---
  `time` | JulianDate | The time for which to retrieve visibility.

  ##### Returns:

  true if geometry is outlined at the provided time, false otherwise.
  Source: DataSources/EllipsoidGeometryUpdater.js, line 278