Search Results for

    Show / Hide Table of Contents

    Class Octant

    Methods for computing and working with Octants of the Cartesian plane.

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

    Methods

    | Edit this page View Source

    GetOctant(Coordinate, Coordinate)

    Returns the octant of a directed line segment from p0 to p1.

    Declaration
    public static Octants GetOctant(Coordinate p0, Coordinate p1)
    Parameters
    Type Name Description
    Coordinate p0
    Coordinate p1
    Returns
    Type Description
    Octants
    | Edit this page View Source

    GetOctant(double, double)

    Returns the octant of a directed line segment (specified as x and y displacements, which cannot both be 0).

    Declaration
    public static Octants GetOctant(double dx, double dy)
    Parameters
    Type Name Description
    double dx
    double dy
    Returns
    Type Description
    Octants
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX