Search Results for

    Show / Hide Table of Contents

    Class ElevationModels

    Extension methods to work with ElevationModels.

    Inheritance
    object
    ElevationModels
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: NetTopologySuite.Algorithm
    Assembly: NetTopologySuite.dll
    Syntax
    public static class ElevationModels

    Methods

    | Edit this page View Source

    AddMissingZ(ElevationModel, Geometry)

    Method to add missing z-ordinate values to a geometry. The geometry must be built of CoordinateSequences that are able to carry z-ordinate values.

    Declaration
    public static void AddMissingZ(this ElevationModel self, Geometry g)
    Parameters
    Type Name Description
    ElevationModel self

    The elevation model providing missing z-ordinate values

    Geometry g

    The geometry to add the missing z-ordinate values to

    | Edit this page View Source

    AddMissingZ(ElevationModel, Geometry, CoordinateSequenceToXYAndZ)

    Method to add missing z-ordinate values to a geometry. The geometry must be built of CoordinateSequences that are able to carry z-ordinate values.

    Declaration
    public static void AddMissingZ(this ElevationModel self, Geometry g, ElevationModels.CoordinateSequenceToXYAndZ seqToXYAndZ)
    Parameters
    Type Name Description
    ElevationModel self

    The elevation model providing missing z-ordinate values

    Geometry g

    The geometry to add the missing z-ordinate values to

    ElevationModels.CoordinateSequenceToXYAndZ seqToXYAndZ

    A method to convert a coordinate sequence into arrays of xy- and z-ordinate values.

    | Edit this page View Source

    CopyWithZ(ElevationModel, Coordinate)

    Creates a copy of c that has the z-ordinate value at c. If the elevation model can't retrieve a z-ordinate value, a copy of c is returned.

    Declaration
    public static Coordinate CopyWithZ(this ElevationModel self, Coordinate c)
    Parameters
    Type Name Description
    ElevationModel self

    The elevation model to use

    Coordinate c

    A coordinate

    Returns
    Type Description
    Coordinate

    A copy of c with the z-ordinate value.

    | Edit this page View Source

    GetZ(ElevationModel, double[], double[])

    Function to get z-ordinate values for an array of xy-ordinate values

    Declaration
    public static void GetZ(this ElevationModel self, double[] xy, double[] z)
    Parameters
    Type Name Description
    ElevationModel self

    The elevation model to use

    double[] xy

    An array of xy-ordinate values

    double[] z

    The array of z-ordinate values

    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX