Click or drag to resize

TriangleTerrainInterpolator Class

This interpolator takes the four surrounding posts, which form a rectangle, and creates two triangles. The triangles are formed by splitting the rectangle from either the northwest to the southeast corners or from the southwest to the northeast corners. The height is on the face of the triangle that includes the specified longitude and latitude.
Inheritance Hierarchy
SystemObject
  AGI.Foundation.TerrainTerrainInterpolatorTerrainPosts
    AGI.Foundation.TerrainRasterTerrainInterpolator
      AGI.Foundation.TerrainTriangleTerrainInterpolator

Namespace:  AGI.Foundation.Terrain
Assembly:  AGI.Foundation.TerrainReaders (in AGI.Foundation.TerrainReaders.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public class TriangleTerrainInterpolator : RasterTerrainInterpolator

The TriangleTerrainInterpolator type exposes the following members.

Constructors
  NameDescription
Public methodTriangleTerrainInterpolator
Initializes a new instance with a RasterTerrainGridCellDiagonal defined from the northwest to the southeast corner.
Public methodTriangleTerrainInterpolator(RasterTerrainGridCellDiagonal)
Initializes a new instance using the specified raster terrain grid cell diagonal.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInterpolateFirstPartials
Interpolates the first order partial derivatives of terrain height with respect to longitude and latitude and returns the value at the specified location based on the given terrain data.
(Overrides TerrainInterpolatorTDataInterpolateFirstPartials(TData, Double, Double).)
Public methodInterpolateHeight
Interpolates the height at a particular longitude and latitude from given terrain data.
(Overrides TerrainInterpolatorTDataInterpolateHeight(TData, Double, Double).)
Public methodInterpolateSecondPartials
Interpolates the second order (mixed) partial derivatives of terrain height with respect to longitude and latitude and returns the value at the specified location based on the given terrain data.
(Overrides TerrainInterpolatorTDataInterpolateSecondPartials(TData, Double, Double).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also