GeoPathTessellator
Description
Helper class for tessellating a IGeoPathBase into line-segments.
Each GeoPathTessellator object maintains a sorted list of geo path timestamps (see Timestamps) which represent the current tessellation. By calling the tessellation methods successively, the current tessellation is modified:
Public / Methods
Reset
Resets the current tessellation by clearing Timestamps.
This method creates a snapshot of the current state of the source IGeoPathBase object, which will be used until this method is called again. Subsequent modifications of the source geo path will not influence tessellation.
Tessellate
Tessellates the geo path according to the current error metrics.
The resulting geo path timestamp values will be added to Timestamps.
Public / Attributes
MaximumError
The maximum error to tolerate in the generated tessellation: use this metric to remove unnecessary detail.
If set to 0, a maximum error of one millimetre will be used. Defaults to 0.
MaximumSegments
The maximum number of timestamp values to generated for the tessellation; use this metric to limit the maximum detail.
Defaults to 65536.
Variance
The value to pass to LatLonHeight.ToVariance, before computing geocentric coordinates for tessellation.
Defaults to false.
- See also