Surface class final
The surface contains elevation sources and defines a surface upon which layers and overlays can be draped.
The surface is used to represent the ground in a scene. It is comprised of a collection of elevation sources (ElevationSource) which are combined in the scene to generate the surface.
Surface provides methods for retrieving elevation values at one or more locations. Use Surface.applyElevation to efficiently determine the elevation for all vertices in a geometry. Use Surface.getElevation when you only need the elevation for a single point.
- Implemented types
- Mixed-in types
Constructors
- Surface()
-
Creates a surface object.
factory
Properties
- backgroundGrid ↔ BackgroundGrid
-
Grid and color settings to render the background grid of this surface.
getter/setter pair
- elevationExaggeration ↔ double
-
The exaggeration for the surface.
getter/setter pair
-
elevationSources
→ List<
ElevationSource> -
The elevation sources for the surface.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isEnabled ↔ bool
-
True if the surface is enabled, false otherwise.
getter/setter pair
- loadError → ArcGISException?
-
The load error.
no setterinherited
- loadStatus → LoadStatus
-
The load status.
no setterinherited
- name ↔ String
-
The name for the surface.
getter/setter pair
-
The type of navigation constraint of the surface.
getter/setter pair
-
onLoadStatusChanged
→ Stream<
LoadStatus> -
A stream that reports changes to the LoadStatus.
no setterinherited
- opacity ↔ double
-
The opacity applied to the surface.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
applyElevation(
Geometry geometry) → Future< Geometry> - Gets and applies an elevation (in meters) for each point in the input geometry.
-
cancelLoad(
) → void -
Cancels loading metadata for the object.
inherited
-
getElevation(
ArcGISPoint point) → Future< double> - Gets the elevation (in meters) for the specified location on the surface.
-
load(
) → Future< void> -
Loads the metadata for the object asynchronously.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
retryLoad(
) → Future< void> -
Loads or retries loading metadata for the object asynchronously.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited