Search Results for

    Show / Hide Table of Contents

    Class Area

    Functions for computing area.

    Inheritance
    object
    Area
    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 Area

    Methods

    | Edit this page View Source

    OfRing(CoordinateSequence)

    Computes the area for a ring.

    Declaration
    public static double OfRing(CoordinateSequence ring)
    Parameters
    Type Name Description
    CoordinateSequence ring

    The coordinates forming the ring

    Returns
    Type Description
    double

    The area of the ring

    | Edit this page View Source

    OfRing(Coordinate[])

    Computes the area for a ring.

    Declaration
    public static double OfRing(Coordinate[] ring)
    Parameters
    Type Name Description
    Coordinate[] ring

    The coordinates forming the ring

    Returns
    Type Description
    double

    The area of the ring

    | Edit this page View Source

    OfRingSigned(CoordinateSequence)

    Computes the signed area for a ring. The signed area is positive if the

    valuemeaning
    > 0The ring is oriented clockwise (CW)
    < 0The ring is oriented counter clockwise (CCW)
    == 0The ring is degenerate or flat
    ring is oriented CW, negative if the ring is oriented CCW, and zero if the ring is degenerate or flat.
    Declaration
    public static double OfRingSigned(CoordinateSequence ring)
    Parameters
    Type Name Description
    CoordinateSequence ring

    The coordinates forming the ring

    Returns
    Type Description
    double

    The signed area of the ring

    | Edit this page View Source

    OfRingSigned(Coordinate[])

    Computes the signed area for a ring. The signed area is positive if the ring is oriented CW, negative if the ring is oriented CCW, and zero if the ring is degenerate or flat.

    Declaration
    public static double OfRingSigned(Coordinate[] ring)
    Parameters
    Type Name Description
    Coordinate[] ring

    The coordinates forming the ring

    Returns
    Type Description
    double

    The signed area of the ring

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