Search Results for

    Show / Hide Table of Contents

    Interface ISimilarityMeasure

    An interface for classes which measures the degree of similarity between two {@link Geometry}s.

    Namespace: NetTopologySuite.Algorithm.Match
    Assembly: NetTopologySuite.dll
    Syntax
    public interface ISimilarityMeasure
    Remarks

    The computed measure lies in the range [0, 1]. Higher measures indicate a great degree of similarity. A measure of 1.0 indicates that the input geometries are identical A measure of 0.0 indicates that the geometries have essentially no similarity. The precise definition of "identical" and "no similarity" may depend on the exact algorithm being used.

    Methods

    | Edit this page View Source

    Measure(Geometry, Geometry)

    Function to measure the similarity between two Geometrys.

    Declaration
    double Measure(Geometry g1, Geometry g2)
    Parameters
    Type Name Description
    Geometry g1

    A geometry

    Geometry g2

    A geometry

    Returns
    Type Description
    double

    The similarity value between two Geometrys

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