GeoPathTrack
Description
- Derived from
-
GeoPathEntity abstract
IColorFillProperty
IColorLineProperty
ILineThicknessProperty
A scene entity that generates a 3D model for a geo path.
The geo path model is built as follows (side view):
__,----.__ _
__/ \ / `o <-- geo path track
o--ยด \ _,-----._/ |
| `---.__/ |
| ^ |
-----|----------------------------------- <-- ground
|
geo path curtain
The geo path track is a line strip that follows the original geo path samples. The geo path curtain is a triangle strip that visualizes vertical planes from the geo path track down to the ground. The visual appearance of the geo path model can be controlled with the following properties:
-
Closed
Show the vertical lines at both ends of the curtain? -
IColorFillProperty.ColorFill
Color of the geo path curtain. Set to a transparent color to disable. -
IColorLineProperty.ColorLine
Color of the geo path track lines. Set to a transparent color to disable. -
ILineThicknessProperty.LineThickness
Thickness of the geo path track and ground track lines. -
ITimestampRangeProperty.TimestampRange
The range for which to create the geo path model.
The IGeoPathBase.LatLonHeightOn method is used to get path samples. From those, the geo path track is constructed in a background thread (see GeoPathEntity.IsReady), which can be configured with these properties:
-
Dynamic
Fixes the gap between the geo path track and the current timestamp range. -
MaximumError / MaximumSegments
Configures the level-of-detail of the geo path track. -
UpdateModelDelay / UpdateModelDiscard
Limits the frequency of background work and chooses whether to show the current geo path track while computing a new one.
Public / Methods
UpdateModel
Triggers an update to the 3D model of the geo path track.
Usually, the 3D model of the geo path track is updated automatically, for example by modifying the properties of this object. This method may be used to trigger an update, if a change has been made outside of the scope of this class, for example after adding a new geo path sample.
- See also
Public / Attributes
Closed
Use vertical lines to close the curtain of the geo path track at both ends?
Defaults to true.
Dynamic
Use dynamic model geometry and fix the gap at the end of the geo path track by adjusting the positions of trailing vertices?
When ITimestampRangeProperty.TimestampRange is updated periodically (for example, while building a geo path incrementally by calling ICollector.Add), the geo path track can become outdated. This creates a gap between the end of the geo path track and the end of the updated timestamp range. By setting this property to a non-zero value, the gap is filled with dynamic geometry.
This property is intended to be used for fixing small gaps, using few dynamic vertices. If this is not sufficient, a separate GeoPathTrail can be used to fill the gap (see TimestampRangeFix).
Defaults to 0, which disables gap fixing.
TimestampRangeFix
Returns the timestamp range of the gap that needs fixing.
The gap is the range from the end of the current geo path track to the end of the current timestamp range.
- See also
UpdateModelDelay
Chooses the mode of computing the 3D model of the geo path track, if the geo path uses GeoPathValue.Height.
If the geo path does not use GeoPathValue.Height, this property is ignored and has no effect.
Defaults to 0.